-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
118 lines (118 loc) · 4.31 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
115
116
117
118
{
"name": "cvs-svc-enquiry",
"version": "1.0.0",
"description": "",
"main": "src/handler.ts",
"engines": {
"node": "18.*",
"npm": "9.*"
},
"husky": {
"hooks": {
"pre-commit": "npm run audit && 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 SCHEMA_NAME=CVSBNOP SECRET=secret API_VERSION=${npm_package_version} NODE_ENV=local serverless offline start",
"start:dev": "ts-node src/resources/localDatabaseScript.ts && cross-env SCHEMA_NAME=CVSBNOP SECRET=secret API_VERSION=${npm_package_version} NODE_ENV=local serverless offline start",
"dev": "cross-env SLS_DEBUG=* VERSION=${npm_package_version} concurrently \"npm start\" \"npm run test:unit:watch\"",
"test:unit": "cross-env NODE_ENV=test API_VERSION=${npm_package_version} SECRET=secret jest --runInBand",
"test:unit:watch": "npm run test:unit -- --watch",
"test:unit:coverage": "cross-env npm run test:unit -- --coverage",
"test-i": "npm run test:integration",
"test:integration": "cross-env NODE_ENV=test echo 'integration tests to be added'",
"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 test:unit:coverage",
"jest": "jest",
"audit": "npm audit --omit=dev",
"lint:analyse": "eslint",
"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 ./.webpack ./*.zip",
"compile": "tsc",
"build:dev": "cross-env API_VERSION=${npm_package_version} NODE_ENV=local serverless webpack",
"build:production": "webpack -c ./scripts/webpack.config.build.js --env=production",
"build": "npm-run-all clean build:dev",
"sonar-scanner": "sonar-scanner",
"package:create": "cross-env API_VERSION=${npm_package_version} NODE_ENV=local sls package --package .build",
"package:prepare": "mv ./.build/app.zip ./.build/build.zip",
"package:move": "mv ./.build/build.zip ./${ZIP_NAME}.zip",
"package": "npm-run-all clean package:*",
"dependencies:check": "ncu",
"tools-setup": "echo 'pipeline requires this'"
},
"dependencies": {
"@aws-sdk/client-s3": "3.577.0",
"@aws-sdk/client-secrets-manager": "3.580.0",
"aws-lambda": "1.0.7",
"express": "4.19.2",
"moment": "2.30.1",
"mysql2": "3.9.8",
"serverless-http": "3.2.0",
"source-map-support": "0.5.21",
"winston": "^3.13.0",
"zlib": "1.0.5"
},
"devDependencies": {
"@aws-sdk/types": "3.577.0",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@dvsa/eslint-config-ts": "3.0.1",
"@serverless/typescript": "3.38.0",
"@types/aws-lambda": "8.10.138",
"@types/express": "4.17.21",
"@types/jest": "29.5.12",
"@types/node": "20.12.12",
"@types/supertest": "6.0.2",
"@typescript-eslint/parser": "7.10.0",
"aws-sdk-client-mock": "4.0.0",
"clean-webpack-plugin": "4.0.0",
"commitlint-plugin-function-rules": "4.0.0",
"concurrently": "8.2.2",
"cross-env": "7.0.3",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"fork-ts-checker-webpack-plugin": "9.0.2",
"husky": "9.0.11",
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"prettier": "3.2.5",
"rimraf": "5.0.7",
"serverless": "3.38.0",
"serverless-dotenv-plugin": "6.0.0",
"serverless-offline": "13.5.1",
"serverless-webpack": "5.14.0",
"sonar-scanner": "3.1.0",
"supertest": "7.0.0",
"ts-jest": "29.1.3",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"typescript": "5.4.5",
"webpack": "5.91.0",
"webpack-node-externals": "3.0.0"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/dvsa/cvs-svc-enquiry/issues"
},
"homepage": "https://github.com/dvsa/cvs-svc-enquiry#readme",
"repository": {
"type": "git",
"url": "https://github.com/dvsa/cvs-svc-enquiry.git"
},
"keywords": [
"DVLA",
"DVSA",
"CVS",
"enquiry",
"TRL",
"VRM",
"MOT"
]
}