-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 3.93 KB
/
package.json
File metadata and controls
107 lines (107 loc) · 3.93 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
{
"name": "store-trigger",
"version": "2.0.3",
"description": "This service responsible for creating job and their tasks.",
"main": "./src/index.ts",
"scripts": {
"test:unit": "jest --config=./tests/configurations/unit/jest.config.js --detectOpenHandles",
"test:integration": "jest --config=./tests/configurations/integration/jest.config.js --runInBand --detectOpenHandles",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"prelint:fix": "npm run format:fix",
"prelint": "npm run format",
"lint:openapi": "npx @redocly/cli lint --format=github-actions ./bundledApi.yaml",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"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 ./index.js",
"start:dev": "npm run build && cd dist && node --enable-source-maps ./index.js",
"assets:copy": "copyfiles -f ./config/* ./dist/config && copyfiles -f ./bundledApi.yaml ./dist/ && copyfiles ./package.json dist",
"clean": "rimraf dist coverage reports",
"install": "npx husky install",
"copySchema": "copyfiles -u 5 \"./node_modules/@map-colonies/mc-model-types/Schema/yaml/**/*\" ./Schema",
"prebundleOpenApi": "npm run copySchema",
"bundleOpenApi": "openapi bundle --output ./bundledApi.yaml --ext yaml ./openapi3.yaml",
"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": {
"@aws-sdk/client-s3": "^3.362.0",
"@godaddy/terminus": "^4.12.1",
"@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/types": "^1.7.0",
"@map-colonies/mc-model-types": "^19.0.0",
"@map-colonies/mc-priority-queue": "^8.2.1",
"@map-colonies/openapi-express-viewer": "^3.0.0",
"@map-colonies/read-pkg": "0.0.1",
"@map-colonies/telemetry": "^6.1.0",
"@opentelemetry/api": "1.7.0",
"@opentelemetry/api-metrics": "0.23.0",
"@opentelemetry/context-async-hooks": "^1.24.1",
"@opentelemetry/instrumentation-express": "0.32.1",
"@opentelemetry/instrumentation-http": "0.35.1",
"@opentelemetry/semantic-conventions": "^1.24.1",
"compression": "^1.7.4",
"config": "^3.3.9",
"express": "^4.18.2",
"express-openapi-validator": "^5.0.4",
"http-status-codes": "^2.2.0",
"n-readlines": "^1.0.1",
"prom-client": "^15.1.1",
"reflect-metadata": "^0.1.13",
"tsyringe": "^4.8.0"
},
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@faker-js/faker": "^8.4.1",
"@map-colonies/eslint-config": "^4.0.0",
"@map-colonies/prettier-config": "0.0.1",
"@redocly/openapi-cli": "^1.0.0-beta.94",
"@redocly/cli": "^1.34.3",
"@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/n-readlines": "^1.0.3",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.0",
"commitlint": "^17.6.6",
"copyfiles": "^2.4.1",
"docker-compose": "^0.24.8",
"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-mock-axios": "^4.7.0-beta4",
"jest-openapi": "^0.14.2",
"prettier": "^2.8.8",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"typescript": "^5.1.3"
}
}