generated from MapColonies/ts-server-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 3.13 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 3.13 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
{
"name": "service-name",
"version": "1.0.0",
"description": "This is template for map colonies typescript service",
"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": "redocly lint openapi3.yaml",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"test": "tsc --noEmit && npm run test:unit && npm run test:integration",
"prebuild": "npm run clean && npm run generate:openapi-types",
"build": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json && npm run assets:copy",
"start": "npm run build && cd dist && node --import ./instrumentation.mjs ./index.js",
"start:dev": "npm run build && cd dist && cross-env CONFIG_OFFLINE_MODE=true node --enable-source-maps --import ./instrumentation.mjs ./index.js",
"assets:copy": "copyfiles -f ./config/* ./dist/config && copyfiles -f ./openapi3.yaml ./dist/ && copyfiles ./package.json dist",
"clean": "rimraf dist",
"generate:openapi-types": "openapi-helpers ./openapi3.yaml ./src/openapi.d.ts --format --add-typed-request-handler",
"prepare": "node .husky/install.mjs"
},
"directories": {
"test": "tests"
},
"author": "MapColonies",
"license": "ISC",
"dependencies": {
"@godaddy/terminus": "^4.12.1",
"@map-colonies/config": "^3.0.0",
"@map-colonies/error-express-handler": "^3.0.0",
"@map-colonies/express-access-log-middleware": "^3.0.1",
"@map-colonies/js-logger": "^2.0.0",
"@map-colonies/openapi-express-viewer": "^4.0.0",
"@map-colonies/read-pkg": "^1.0.0",
"@map-colonies/schemas": "^1.9.0",
"@map-colonies/telemetry": "^10.0.1",
"@opentelemetry/api": "^1.9.0",
"compression": "^1.8.0",
"express": "^4.21.2",
"express-openapi-validator": "^5.4.7",
"http-status-codes": "^2.3.0",
"prom-client": "^15.1.3",
"reflect-metadata": "^0.2.2",
"tsyringe": "^4.8.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@map-colonies/commitlint-config": "^1.1.1",
"@map-colonies/eslint-config": "^6.0.0",
"@map-colonies/openapi-helpers": "^2.0.0",
"@map-colonies/prettier-config": "0.0.1",
"@map-colonies/tsconfig": "^1.0.1",
"@redocly/cli": "^1.34.0",
"@swc/core": "^1.11.11",
"@swc/jest": "^0.2.37",
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/jest": "^29.5.14",
"@types/multer": "^1.4.12",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.8",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^9.23.0",
"eslint-plugin-jest": "^28.11.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jest-html-reporters": "^3.1.4",
"jest-openapi": "^0.14.2",
"prettier": "^3.5.3",
"pretty-quick": "^4.1.1",
"rimraf": "^6.0.1",
"supertest": "^7.1.0",
"ts-jest": "^29.2.6",
"tsc-alias": "^1.8.11",
"typescript": "^5.8.2"
}
}