forked from dvsa/cvs-tsk-update-tester-reference-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 4.35 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
113
114
{
"name": "cvs-tsk-update-test-stations",
"version": "1.0.0",
"description": "",
"main": "src/handler.ts",
"engines": {
"node": "18.*",
"npm": "8.*"
},
"husky": {
"hooks": {
"pre-commit": "npm run security-checks && npm run prettier && npm run lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm run build && npm run test"
}
},
"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",
"test-i": "echo 'integration tests to be added'",
"test:integration": "BRANCH=local jest --testMatch=\"**/*.intTest.ts\"",
"test:integration:watch": "echo 'integration tests --watch to be added'",
"test:integration:coverage": "cross-env echo 'integration tests coverage to be added'",
"test": "npm-run-all lint test:unit:coverage test:integration:coverage",
"mock-server": "jsonsls run ./data/db.json",
"audit": "npm audit",
"lint:analyse": "eslint . --ext js,ts --fix",
"lint:report": "npm run lint:analyse -- -f json -o reports/eslint/eslint-report.json",
"lint": "npm-run-all lint:*",
"prettier": "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 --production && rm package.json package-lock.json && zip -qr ../${ZIP_NAME}.zip . && cd .. && rimraf ${ZIP_NAME}",
"release": "semantic-release",
"prerelease": "semantic-release --dry-run",
"dependencies:check": "ncu",
"tools-setup": "echo 'nothing to do for now'"
},
"dependencies": {
"@aws-sdk/client-lambda": "3.267.0",
"@aws-sdk/client-s3": "3.267.0",
"@dvsa/cvs-type-definitions": "5.1.2",
"aws-lambda": "1.0.7",
"date-fns": "2.29.3",
"winston": "3.8.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@dvsa/eslint-config-ts": "3.0.0",
"@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.110",
"@types/dateformat": "^5.0.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "5.51.0",
"@typescript-eslint/parser": "5.51.0",
"commitlint-plugin-function-rules": "^1.7.1",
"concurrently": "^7.6.0",
"cross-env": "^7.0.3",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"husky": "^8.0.3",
"jest": "^29.4.2",
"jest-config": "^29.4.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.4",
"rimraf": "^4.1.2",
"semantic-release": "^20.1.0",
"serverless": "^3.27.0",
"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.3.3",
"ts-jest": "29.0.5",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"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"
]
}