-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
116 lines (116 loc) · 3.52 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
{
"name": "mes-data-poller-service",
"version": "0.1.0",
"author": "DVSA",
"license": "MIT",
"description": "All the code for moving data between TARS the caches in the MES estate",
"homepage": "https://github.com/dvsa/mes-data-replication-service",
"repository": {
"type": "git",
"url": "git+https://github.com/dvsa/mes-data-replication-service.git"
},
"bugs": {
"url": "https://github.com/dvsa/mes-data-replication-service/issues"
},
"scripts": {
"clean": "rimraf build artefacts",
"compile": "tsc",
"compile-no-emit": "tsc --noEmit -p .",
"e2e": "run-s clean compile stack:up features stack:down",
"features": "cucumber-js e2e/ --require 'build/e2e/**/*.js' --tags 'not @skip'",
"lint": "eslint -c .eslintrc.js --ext .ts src",
"lint:fix": "eslint --fix -c .eslintrc.js --ext .ts src",
"package": "./package.sh",
"prepush": "npm run security-scan && npm run lint && npm test",
"security-scan": "git secrets --scan && git log -p | scanrepo",
"stack:up": "ts-node start-stack.ts",
"stack:down": "ts-node stop-stack.ts",
"start": "sls dynamodb install && sls offline start",
"test": "npm run compile && jasmine",
"test:jasmine-coverage": "c8 npm run test",
"prepare": "husky install",
"sonar-scanner": "node_modules/sonar-scanner/bin/sonar-scanner"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.454.0",
"@aws-sdk/lib-dynamodb": "^3.454.0",
"@aws-sdk/rds-signer": "^3.454.0",
"@dvsa/mes-microservice-common": "1.1.6",
"escape-json-node": "^2.0.0",
"lodash": "^4.17.21",
"luxon": "^3.4.4",
"moment": "^2.29.4",
"mysql2": "^3.6.3",
"node.extend": "^2.0.3"
},
"devDependencies": {
"@cucumber/cucumber": "^10.0.1",
"@dvsa/mes-journal-schema": "1.3.1",
"@dvsa/mes-test-schema": "3.42.5",
"@types/aws-lambda": "^8.10.126",
"@types/aws-sdk": "^2.7.0",
"@types/chai": "^4.3.10",
"@types/jasmine": "^5.1.2",
"@types/lodash": "^4.14.201",
"@types/luxon": "^3.3.4",
"@types/mysql": "^2.15.24",
"@types/node": "^20.9.2",
"@types/node-fetch": "^2.6.9",
"@types/supertest": "^2.0.16",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"aws-lambda-test-utils": "^1.3.0",
"aws-sdk-client-mock": "^3.0.0",
"aws-sdk-mock": "^5.8.0",
"c8": "^8.0.1",
"chai": "^4.3.10",
"docker-compose": "^0.24.3",
"eslint": "^8.54.0",
"eslint-plugin-import": "^2.29.0",
"husky": "^8.0.3",
"jasmine": "^5.1.0",
"jasmine-spec-reporter": "^7.0.0",
"lint-staged": "^15.1.0",
"mysql-import": "^5.0.26",
"node-fetch": "^3.3.2",
"npm-run-all": "^4.1.5",
"rimraf": "^5.0.5",
"serverless": "^3.37.0",
"serverless-dotenv-plugin": "^6.0.0",
"serverless-dynamodb": "^0.2.47",
"serverless-offline": "^13.3.0",
"serverless-webpack": "^5.13.0",
"sonar-scanner": "^3.1.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.1",
"typemoq": "^2.1.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"yamljs": "^0.3.0"
},
"c8": {
"require": [
"ts-node/register"
],
"reporter": [
"lcov",
"text-summary"
],
"exclude": [
"**/__mocks__/*",
"**/__tests__/*"
],
"exclude-after-remap": false,
"sourceMap": true,
"produce-source-map": true,
"instrument": true
},
"lint-staged": {
"./src/**/*.ts": [
"npm run lint:fix"
]
}
}