forked from dvsa/cvs-tsk-update-test-stations
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
112 lines (112 loc) · 4.02 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "cvs-tsk-update-tester-reference-data",
"version": "1.0.0",
"description": "",
"main": "src/handler.ts",
"engines": {
"node": "18.*",
"npm": "8.*"
},
"scripts": {
"start": "cross-env API_VERSION=${npm_package_version} NODE_ENV=local serverless offline start",
"dev": "cross-env SLS_DEBUG=* concurrently \"npm start\" \"npm run test:unit:watch\"",
"test:unit": "cross-env NODE_ENV=test API_VERSION=${npm_package_version} jest --runInBand",
"test:unit:watch": "npm run test:unit -- --watch",
"test:unit:coverage": "cross-env npm run test:unit -- --coverage",
"coverage": "npm run test:unit:coverage",
"test-i": "echo 'integration tests to be added'",
"test": "npm-run-all test:unit:coverage",
"mock-server": "jsonsls run ./data/db.json",
"audit": "npm audit",
"lint": "tslint --fix src/**/*.ts tests/**/*.ts",
"format": "prettier --write ./**/*.{js,ts}",
"security-checks": "git secrets --scan",
"clean": "rimraf ./.build ./.artifact ./.serverless/*.zip",
"compile": "tsc",
"build": "tsc --rootDir ./ --outDir .build --sourceMap false && npm run build:copy && rimraf .build/tests",
"build:copy": "find src -type f \\( -name \"*.yml\" -or -name \"*.json\" \\) | cpio -pdm .build && find tests -type f \\( -name \"*.yml\" -or -name \"*.json\" \\) | cpio -pdm .build",
"sonar-scanner": "sonar-scanner",
"package": "mkdir ${ZIP_NAME} && cp package.json package-lock.json ${ZIP_NAME}/ && cp -r .build/src/* ${ZIP_NAME}/ && cd ${ZIP_NAME} && npm ci --omit=dev --ignore-scripts && rm package.json package-lock.json && zip -qr ../${ZIP_NAME}.zip .",
"prepare": "husky install",
"tools-setup": "echo 'nothing to do for now'",
"commit-msg": "commitlint --edit",
"pre-commit": "npm run audit && npm run lint && npm run format",
"pre-push": "npm run coverage && npm run build && npm run test-i"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "3.567.0",
"@aws-sdk/client-secrets-manager": "3.567.0",
"@aws-sdk/lib-dynamodb": "3.567.0",
"@azure/msal-node": "1.16.0",
"aws-lambda": "1.0.7",
"axios": "1.3.4",
"dateformat": "5.0.3",
"knex": "2.4.2",
"p-retry": "5.1.2",
"source-map-support": "0.5.21",
"winston": "3.8.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@serverless/typescript": "^3.27.0",
"@types/aws-lambda": "^8.10.111",
"@types/dateformat": "^5.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.6",
"@types/supertest": "^2.0.12",
"aws-sdk-client-mock": "4.0.0",
"commitlint-plugin-function-rules": "^1.7.1",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"husky": "^8.0.3",
"jest": "^29.4.3",
"jest-plugin-context": "^2.9.0",
"jest-sonar-reporter": "^2.0.0",
"mockdate": "^3.0.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"rimraf": "^4.3.1",
"semantic-release": "^19.0.5",
"serverless": "^3.28.1",
"serverless-dotenv-plugin": "^4.0.2",
"serverless-offline": "^12.0.4",
"serverless-offline-aws-eventbridge": "^2.0.5",
"serverless-plugin-typescript": "^2.1.4",
"sonar-scanner": "3.1.0",
"supertest": "^6.0.1",
"ts-jest": "29.0.5",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"tslint": "^6.1.0",
"tslint-jsdoc-rules": "^0.2.0",
"typescript": "4.9.5"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/dvsa/cvs-tsk-update-test-stations/issues"
},
"homepage": "https://github.com/dvsa/cvs-tsk-update-test-stations#readme",
"repository": {
"type": "git",
"url": "https://github.com/dvsa/cvs-tsk-update-test-stations.git"
},
"keywords": [
"DVLA",
"DVSA",
"CVS",
"TRL",
"VRM",
"MOT"
],
"jestSonar": {
"reportPath": ".reports",
"reportFile": "test-report.xml",
"indent": 4
}
}