This repository has been archived by the owner on Nov 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
118 lines (118 loc) · 4.23 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-template",
"version": "1.0.0",
"description": "",
"main": "src/index.ts",
"engines": {
"node": "14.*",
"npm": "6.*"
},
"husky": {
"hooks": {
"pre-commit": "npm-run-all security-checks prettier lint",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-push": "npm-run-all build 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",
"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 && git log -p | scanrepo",
"clean": "rimraf ./.build ./.artifact ./.serverless ./.webpack ./*.zip",
"compile": "tsc",
"build:dev": "cross-env NODE_ENV=local serverless webpack",
"build:production": "source config/.env.production && cross-env NODE_ENV=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 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:*",
"release": "semantic-release",
"prerelease": "semantic-release --dry-run",
"dependencies:check": "ncu",
"tools-setup": "echo 'nothing to do for now'"
},
"dependencies": {
"aws-lambda": "1.0.6",
"express": "4.17.1",
"serverless-http": "2.6.0",
"source-map-support": "0.5.19"
},
"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",
"clean-webpack-plugin": "3.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",
"fork-ts-checker-webpack-plugin": "6.0.8",
"husky": "4.3.7",
"jest": "27.3.1",
"json-serverless": "1.6.16",
"npm-run-all": "4.1.5",
"prettier": "2.2.1",
"rimraf": "3.0.2",
"semantic-release": "18.0.0",
"serverless": "2.66.1",
"serverless-dotenv-plugin": "3.1.0",
"serverless-offline": "8.2.0",
"serverless-webpack": "5.3.5",
"supertest": "6.0.1",
"ts-jest": "27.0.7",
"ts-loader": "8.0.14",
"ts-node": "9.1.1",
"typescript": "4.4.4",
"webpack": "5.11.1",
"webpack-node-externals": "2.5.2"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/dvsa/cvs-svc-template/issues"
},
"homepage": "https://github.com/dvsa/cvs-svc-template#readme",
"repository": {
"type": "git",
"url": "https://github.com/dvsa/cvs-svc-template.git"
},
"keywords": [
"DVLA",
"DVSA",
"CVS",
"Template",
"TRL",
"VRM",
"MOT"
]
}