-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.34 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 3.34 KB
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
{
"name": "feedback-api",
"version": "0.2.1",
"description": "Feedback-api service for MapColonies",
"main": "./src/index.ts",
"scripts": {
"test:unit": "jest --config=./tests/configurations/unit/jest.config.js",
"test:integration": "jest --config=./tests/configurations/integration/jest.config.js",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"prelint:fix": "npm run format:fix",
"prelint": "npm run format",
"lint:openapi": "openapi lint ./openapi3.yaml",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"release": "standard-version",
"test": "npm run test:unit && npm run test:integration",
"prebuild": "npm run clean",
"build": "tsc --project tsconfig.build.json && npm run assets:copy",
"start": "npm run build && cd dist && node --require ./common/tracing.js ./index.js",
"start:dev": "npm run build && cd dist && node --enable-source-maps --require ./common/tracing.js ./index.js",
"assets:copy": "copyfiles -f ./config/* ./dist/config && copyfiles -f ./openapi3.yaml ./dist/ && copyfiles ./package.json dist",
"clean": "rimraf dist",
"install": "npx husky install"
},
"directories": {
"test": "tests"
},
"author": "MapColonies",
"license": "ISC",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@godaddy/terminus": "^4.12.1",
"@map-colonies/cleanup-registry": "^1.1.0",
"@map-colonies/error-express-handler": "^2.1.0",
"@map-colonies/express-access-log-middleware": "^2.0.1",
"@map-colonies/js-logger": "^1.0.1",
"@map-colonies/openapi-express-viewer": "^3.0.0",
"@map-colonies/read-pkg": "0.0.1",
"@map-colonies/telemetry": "^6.0.0",
"@opentelemetry/api": "^1.7.0",
"@opentelemetry/api-metrics": "0.23.0",
"compression": "^1.7.4",
"config": "^3.3.9",
"express": "^4.19.2",
"express-openapi-validator": "^5.0.4",
"http-status-codes": "^2.2.0",
"ioredis": "^5.4.1",
"kafkajs": "^2.2.4",
"prom-client": "^15.1.2",
"redis": "^4.7.0",
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.8.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@map-colonies/eslint-config": "^4.0.0",
"@map-colonies/prettier-config": "0.0.1",
"@map-colonies/standard-version-update-helm-version": "^2.0.1",
"@map-colonies/standard-version-update-openapi3-version": "0.0.2",
"@redocly/openapi-cli": "^1.0.0-beta.94",
"@types/compression": "^1.7.2",
"@types/config": "^3.3.0",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.2",
"@types/multer": "^1.4.7",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"commitlint": "^17.6.6",
"copyfiles": "^2.4.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.43.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-create-mock-instance": "^2.0.0",
"jest-html-reporters": "^3.1.4",
"jest-openapi": "^0.14.1",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.1",
"standard-version": "^9.5.0",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"typescript": "^5.1.3"
}
}