generated from dvsa/cvs-svc-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
117 lines (117 loc) · 4.44 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
{
"name": "cvs-tsk-atf-daily-schedules",
"version": "1.0.0",
"description": "",
"main": "src/handler.ts",
"engines": {
"node": "18.*",
"npm": "9.*"
},
"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 'to be added: launch server' && 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 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-eventbridge": "3.556.0",
"@aws-sdk/client-secrets-manager": "3.556.0",
"@aws-sdk/client-signer": "3.556.0",
"@aws-sdk/rds-signer": "3.556.0",
"aws-lambda": "1.0.6",
"dateformat": "4.6.3",
"knex": "2.4.0",
"mysql2": "3.9.8",
"source-map-support": "0.5.19",
"winston": "3.3.3"
},
"devDependencies": {
"@commitlint/cli": "14.1.0",
"@commitlint/config-conventional": "11.0.0",
"@dvsa/eslint-config-ts": "2.2.0",
"@semantic-release/changelog": "6.0.1",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "8.0.2",
"@semantic-release/npm": "8.0.3",
"@serverless/typescript": "2.65.0",
"@types/aws-lambda": "8.10.70",
"@types/jest": "27.0.2",
"@types/node": "14.14.20",
"@types/supertest": "2.0.10",
"@typescript-eslint/eslint-plugin": "5.3.1",
"@typescript-eslint/parser": "5.3.1",
"aws-sdk-client-mock": "4.0.0",
"commitlint-plugin-function-rules": "1.1.20",
"concurrently": "6.3.0",
"cross-env": "7.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-jest": "24.3.2",
"eslint-plugin-prettier": "3.3.1",
"husky": "4.3.7",
"jest": "27.3.1",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"semantic-release": "19.0.3",
"serverless": "2.66.1",
"serverless-offline": "8.2.0",
"serverless-offline-aws-eventbridge": "1.6.5",
"serverless-plugin-typescript": "2.1.0",
"sonar-scanner": "3.1.0",
"supertest": "6.0.1",
"ts-jest": "27.0.7",
"ts-loader": "8.0.14",
"ts-node": "9.1.1",
"typescript": "4.4.4"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/dvsa/cvs-tsk-atf-daily-schedules/issues"
},
"homepage": "https://github.com/dvsa/cvs-tsk-atf-daily-schedules#readme",
"repository": {
"type": "git",
"url": "https://github.com/dvsa/cvs-tsk-atf-daily-schedules.git"
},
"keywords": [
"DVLA",
"DVSA",
"CVS",
"Template",
"TRL",
"VRM",
"MOT"
]
}