generated from MapColonies/ts-server-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
128 lines (128 loc) · 4.7 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
119
120
121
122
123
124
125
126
127
128
{
"name": "catalog-web-app-bff",
"version": "1.24.1",
"description": "This is template for map colonies typescript service",
"main": "./src/index.ts",
"scripts": {
"postinstall": "npm run patch:deps",
"patch:deps": "cd ./node_modules/@map-colonies/csw-client && patch-package --patch-dir ./dist/patches",
"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 build && 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 ./index.js",
"debug": "npm run build && cd dist && node --inspect ./index.js",
"assets:copy": "copyfiles -f ./config/* ./dist/config && copyfiles -f ./openapi3.yaml ./dist/ && copyfiles ./package.json dist",
"clean": "rimraf dist",
"generate": "code-generator -tf=./src/AUTOGENERATED/GraphQLClass.ts -p=raster -gt=graphQl",
"helm-update": "helm dependency update helm",
"helm-assets": "npm run helm-update && tar -xzvf ./helm/charts/helm-common*.tgz --strip-components=1 helm-common/schemas",
"helm-install": "npm run helm-update && helm install -f 'helm/global.yaml' -f 'helm/values.yaml' catalog-web-app-bff helm",
"helm-uninstall": "helm uninstall catalog-web-app-bff"
},
"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"
},
"unsafe-perm": true
},
"dependencies": {
"@godaddy/terminus": "4.7.1",
"@map-colonies/code-generator": "^1.3.1",
"@map-colonies/csw-client": "^1.2.0",
"@map-colonies/error-express-handler": "^2.0.0",
"@map-colonies/error-types": "^1.1.5",
"@map-colonies/express-access-log-middleware": "^0.0.3",
"@map-colonies/js-logger": "^0.0.5",
"@map-colonies/mc-model-types": "^17.13.1",
"@map-colonies/mc-utils": "^1.8.1",
"@map-colonies/openapi-express-viewer": "^2.0.1",
"@map-colonies/telemetry": "^1.1.1",
"@map-colonies/types": "^1.3.3",
"@opentelemetry/api": "1.0.0-rc.0",
"@opentelemetry/api-metrics": "0.19.0",
"@opentelemetry/instrumentation-express": "0.16.0",
"@opentelemetry/instrumentation-http": "0.19.0",
"@turf/bbox": "^6.0.1",
"@turf/bbox-polygon": "^6.0.1",
"@turf/helpers": "^6.1.4",
"@types/geojson": "^7946.0.7",
"@types/lodash": "^4.14.168",
"apollo-server-express": "^2.24.0",
"axios": "^0.21.1",
"class-validator": "^0.13.1",
"compression": "^1.7.4",
"config": "^3.3.6",
"cors": "^2.8.5",
"express": "^4.17.1",
"express-openapi-validator": "^4.12.7",
"fast-xml-parser": "^3.21.1",
"graphql": "^15.5.0",
"he": "^1.2.0",
"http-status-codes": "^2.1.4",
"js-yaml": "^3.14.1",
"jsonix": "^3.0.0",
"lodash": "^4.17.21",
"moment": "^2.29.1",
"ogc-schemas": "^2.6.1",
"reflect-metadata": "^0.1.13",
"swagger-ui-express": "^4.1.6",
"tsyringe": "^4.5.0",
"type-graphql": "^1.1.1"
},
"devDependencies": {
"@commitlint/cli": "^9.1.1",
"@commitlint/config-conventional": "^10.0.0",
"@map-colonies/eslint-config": "^2.1.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.25",
"@types/compression": "^1.7.0",
"@types/config": "0.0.36",
"@types/express": "^4.17.8",
"@types/he": "^1.1.2",
"@types/jest": "^26.0.19",
"@types/js-yaml": "^3.12.5",
"@types/multer": "^1.4.5",
"@types/supertest": "^2.0.10",
"@types/swagger-ui-express": "^4.1.2",
"@types/uuid": "^8.3.1",
"@types/yamljs": "^0.2.31",
"commitlint": "^9.1.2",
"copyfiles": "^2.3.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.8.1",
"husky": "^4.2.5",
"jest": "^26.6.3",
"jest-create-mock-instance": "^1.1.0",
"jest-html-reporters": "^2.0.3",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2",
"standard-version": "^9.0.0",
"supertest": "^6.0.1",
"ts-jest": "^26.3.0",
"typescript": "^4.2.4"
}
}