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
112 lines (112 loc) · 4.12 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 4.12 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "config-server",
"version": "2.1.0",
"description": "This is a api server that serves and modifies configuration",
"main": "./src/index.ts",
"scripts": {
"test:unit": "vitest run --coverage.enabled=false --project unit",
"test:integration": "vitest run --coverage.enabled=false --project integration",
"test": "vitest run",
"test:watch": "vitest watch",
"test:ui": "vitest --ui",
"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 .",
"prebuild": "npm run clean",
"build": "tsc --project tsconfig.build.json && tsc-alias -p 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 && copyfiles -u 1 ./src/db/migrations/* ./dist/ && copyfiles -u 1 ./src/db/migrations/meta/* ./dist/",
"clean": "rimraf dist",
"generate:openapi-types": "openapi-helpers generate types ./openapi3.yaml ./src/openapiTypes.d.ts --format --add-typed-request-handler",
"migration:create": "drizzle-kit generate",
"migration:run": "ts-node ./src/db/runMigrations.ts",
"prepare": "node .husky/install.mjs"
},
"directories": {
"test": "tests"
},
"author": "MapColonies",
"license": "ISC",
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^11.9.3",
"@godaddy/terminus": "^4.12.1",
"@map-colonies/error-express-handler": "^4.0.0",
"@map-colonies/express-access-log-middleware": "^4.0.0",
"@map-colonies/js-logger": "^4.0.0",
"@map-colonies/openapi-express-viewer": "^5.0.0",
"@map-colonies/prometheus": "^1.0.0",
"@map-colonies/read-pkg": "^2.0.0",
"@map-colonies/schemas": "^1.16.1",
"@map-colonies/tracing": "^1.0.0",
"@map-colonies/tracing-utils": "^1.0.0",
"@opentelemetry/api": "^1.9.0",
"@sidvind/better-ajv-errors": "^4.0.0",
"@sinclair/typebox": "^0.34.30",
"ajv": "^8.17.1",
"ajv-formats": "^3.0.1",
"compression": "^1.8.0",
"config": "^3.3.12",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"drizzle-orm": "^0.41.0",
"express": "^4.21.2",
"express-openapi-validator": "^5.4.6",
"fast-json-stable-stringify": "^2.1.0",
"http-status-codes": "^2.3.0",
"json-pointer": "^0.6.2",
"lodash": "^4.17.21",
"pg": "^8.14.1",
"reflect-metadata": "^0.2.2",
"tsyringe": "^4.8.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@faker-js/faker": "^9.6.0",
"@map-colonies/commitlint-config": "^2.0.0",
"@map-colonies/eslint-config": "^8.0.0",
"@map-colonies/infra-copilot-instructions": "^1.0.0",
"@map-colonies/openapi-helpers": "^5.1.0",
"@map-colonies/prettier-config": "^1.0.0",
"@map-colonies/tsconfig": "^2.0.0",
"@redocly/cli": "^1.33.1",
"@types/compression": "^1.7.5",
"@types/config": "^3.3.5",
"@types/express": "^4.17.17",
"@types/fast-json-stable-stringify": "^2.0.0",
"@types/json-pointer": "^1.0.34",
"@types/lodash": "^4.17.16",
"@types/multer": "^1.4.12",
"@types/node": "^24.1.0",
"@types/pg": "^8.11.11",
"@types/supertest": "^6.0.2",
"@types/swagger-ui-express": "^4.1.8",
"@vitest/coverage-v8": "^4.0.17",
"@vitest/ui": "^4.0.17",
"commitlint": "^19.8.0",
"copyfiles": "^2.4.1",
"drizzle-kit": "^0.30.5",
"eslint": "^9.22.0",
"husky": "^9.1.7",
"jest-extended": "^4.0.2",
"jest-openapi": "^0.14.2",
"jest-sorted": "^1.0.15",
"openapi-typescript": "^7.6.1",
"prettier": "^3.5.3",
"prettier-plugin-sql": "^0.18.0",
"pretty-quick": "^4.1.1",
"rimraf": "^6.0.1",
"supertest": "^7.0.0",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.11",
"typescript": "^5.9.3",
"vitest": "^4.0.17"
},
"engines": {
"node": ">=24"
}
}