-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 5.12 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 5.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "ingestion-trigger",
"version": "4.3.0",
"description": "Service that designed to validate and trigger ingestion of new layers from raw data and update existing layers",
"main": "./src/index.ts",
"scripts": {
"pretest": "npm run bundleOpenApi",
"test:unit": "npm run pretest && jest --config=./tests/configurations/unit/jest.config.js",
"test:integration": "npm run pretest && 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",
"build": "tsc --project tsconfig.build.json && npm run bundleOpenApi && 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 ./bundledApi.yaml ./dist/ && copyfiles ./package.json dist",
"clean": "rimraf dist",
"install": "npx husky install",
"copySchema": "copyfiles -u 5 \"./node_modules/@map-colonies/mc-model-types/Schema/yaml/**/*\" \"./node_modules/@map-colonies/raster-shared/dist/openapi/core/layerMetadata.yaml\" ./Schema",
"bundleOpenApi": "redocly bundle --output ./bundledApi.yaml --ext yaml ./openapi3.yaml",
"prebundleOpenApi": "npm run copySchema",
"postbundleOpenApi": "rimraf Schema"
},
"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/config": "^4.0.1",
"@map-colonies/error-express-handler": "^4.0.0",
"@map-colonies/error-types": "^1.3.1",
"@map-colonies/express-access-log-middleware": "^4.0.0",
"@map-colonies/js-logger": "^5.0.0",
"@map-colonies/mc-model-types": "^19.0.0",
"@map-colonies/mc-priority-queue": "^9.1.0",
"@map-colonies/mc-utils": "^5.1.0",
"@map-colonies/openapi-express-viewer": "^3.0.0",
"@map-colonies/prometheus": "^1.0.0",
"@map-colonies/raster-shared": "^8.1.0",
"@map-colonies/read-pkg": "0.0.1",
"@map-colonies/schemas": "^1.17.0",
"@map-colonies/shapefile-reader": "^1.0.1",
"@map-colonies/storage-explorer-middleware": "^1.3.0",
"@map-colonies/telemetry": "^6.1.0",
"@map-colonies/tracing": "^1.0.0",
"@map-colonies/tracing-utils": "^1.0.0",
"@map-colonies/tsconfig": "^2.0.0",
"@map-colonies/types": "^1.3.3",
"@opentelemetry/api": "^1.9.0",
"@opentelemetry/context-async-hooks": "^1.24.1",
"@placemarkio/check-geojson": "^0.1.12",
"@swc/jest": "^0.2.39",
"@turf/boolean-contains": "^7.0.0",
"@turf/boolean-valid": "^7.0.0",
"@turf/turf": "^7.0.0",
"better-sqlite3": "^12.6.2",
"compression": "^1.7.4",
"cross-env": "^10.1.0",
"eslint-plugin-jest": "^29.15.0",
"express": "^4.18.2",
"express-openapi-validator": "^5.6.2",
"gdal-async": "^3.12.1",
"geojson": "^0.5.0",
"http-status-codes": "^2.2.0",
"lodash.get": "^4.4.2",
"lodash.has": "^4.5.2",
"prom-client": "^15.1.2",
"reflect-metadata": "^0.1.13",
"tozod": "^3.0.0",
"tsc-alias": "^1.8.16",
"tsyringe": "^4.8.0",
"xxhash-wasm": "^1.1.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@commitlint/cli": "^20.4.1",
"@commitlint/config-conventional": "^17.6.6",
"@faker-js/faker": "^9.9.0",
"@map-colonies/eslint-config": "^7.2.0",
"@map-colonies/prettier-config": "0.0.1",
"@redocly/cli": "^2.16.2",
"@swc/core": "^1.15.18",
"@types/better-sqlite3": "^7.6.10",
"@types/compression": "^1.7.2",
"@types/config": "^3.3.5",
"@types/express": "^4.17.17",
"@types/geojson": "^7946.0.16",
"@types/jest": "^29.5.14",
"@types/lodash.get": "^4.4.9",
"@types/lodash.has": "^4.5.9",
"@types/lodash.merge": "^4.6.2",
"@types/lodash.unset": "^4.5.9",
"@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": "^9.39.3",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-create-mock-instance": "^2.0.0",
"jest-html-reporters": "^3.1.7",
"jest-openapi": "^0.14.2",
"lodash.merge": "^4.6.2",
"lodash.unset": "^4.5.2",
"nock": "^13.5.4",
"prettier": "^3.8.1",
"pretty-quick": "^4.2.2",
"randexp": "^0.5.3",
"rimraf": "^6.1.2",
"supertest": "^7.2.2",
"ts-jest": "^29.0.5",
"typescript": "^5.1.3"
},
"engines": {
"node": ">=24.0.0"
}
}