generated from dvsa/dvsa-lambda-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
74 lines (74 loc) · 3.16 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
{
"name": "cvs-tsk-transform-tech-records",
"version": "1.1.0",
"description": "",
"main": "src/handler.ts",
"scripts": {
"lint": "npm run lint:analyse && npm run lint:report",
"lint:analyse": "eslint . --ext js,ts --fix",
"lint:ci": "eslint '*/**/*.ts'",
"lint:report": "npm run lint:analyse -- -f json -o reports/eslint/eslint-report.json",
"test": "npm-run-all lint test:unit:coverage test:integration:coverage",
"test:ci": "jest --ci",
"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 'to be added' && 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'",
"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",
"start": "cross-env API_VERSION=${npm_package_version} NODE_ENV=local serverless offline start",
"security-checks": "git secrets --scan",
"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 --ignore-scripts && rm package.json package-lock.json && zip -qr ../${ZIP_NAME}.zip . && cd .. && rimraf ${ZIP_NAME}",
"prepare": "husky install",
"tools-setup": "echo 'nothing to do for now'"
},
"license": "MIT",
"dependencies": {
"aws-sdk": "^2.1128.0",
"winston": "^3.7.2"
},
"devDependencies": {
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@dvsa/eslint-config-ts": "^2.4.0",
"@types/aws-lambda": "^8.10.95",
"@types/jest": "^27.5.0",
"@types/node": "^16.11.33",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"archiver": "^5.3.1",
"commitlint-plugin-function-rules": "^1.6.2",
"cross-env": "^7.0.3",
"current-git-branch": "^1.1.0",
"dotenv": "^16.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.5",
"eslint-plugin-security": "^1.5.0",
"fs-extra": "^10.1.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"serverless": "^3.16.0",
"serverless-dotenv-plugin": "^4.0.0",
"serverless-offline": "^8.7.0",
"serverless-plugin-typescript": "^2.1.2",
"sonar-scanner": "^3.1.0",
"source-map-support": "^0.5.21",
"ts-jest": "^27.1.4",
"ts-loader": "^9.3.0",
"typescript": "^4.6.4",
"uuid": "^8.3.2"
},
"engines": {
"node": "^14.17.3"
}
}