-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 3.2 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 3.2 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
{
"name": "example-api",
"private": true,
"version": "0.0.0",
"exports": "./dist/index.js",
"type": "module",
"scripts": {
"start": "node dist/index.js | pino-pretty",
"start:dev": "nodemon",
"build": "tsc",
"build:clients": "rm -rf packages/client/generated && yarn build:openapi && yarn build:clients:ts:generate && yarn build:clients:ts:install",
"build:types": "cd packages/types && yarn",
"build:openapi": "ts-node scripts/generate-openapi.ts > openapi.json",
"build:clients:ts:generate": "openapi-generator-cli generate -i openapi.json -g typescript-fetch -c packages/client/codegen-config.json -o packages/client/generated",
"build:clients:ts:install": "cd packages/client && yarn",
"test:closed-box": "yarn test:closed-box:teardown && yarn test:closed-box:setup && yarn test:closed-box:start && yarn test:closed-box:teardown",
"test:closed-box:start": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config tests/closed-box/jest.config.ts",
"test:closed-box:teardown": "cd tests/closed-box && docker-compose down --remove-orphans",
"test:closed-box:setup": "yarn build:clients && cd tests/closed-box && docker-compose pull && docker-compose build && docker-compose up -d",
"test:closed-box:logs": "docker-compose -f tests/closed-box/docker-compose.yml logs",
"lint:base": "eslint . --ext .ts",
"lint": "yarn lint:base --fix",
"format": "prettier --write '**/*.{ts,js,json,yaml,yml}'",
"prepare": "husky install"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@fastify/cors": "^8.0.0",
"@fastify/helmet": "^9.1.0",
"@fastify/middie": "^8.0.0",
"@fastify/request-context": "^4.0.0",
"@fastify/swagger": "^7.4.1",
"@fastify/type-provider-typebox": "^2.0.1",
"@godaddy/terminus": "^4.11.0",
"@osskit/fastify-enforce-headers": "^0.0.5",
"@osskit/fetch-enhancers": "^3.0.0",
"@osskit/monitor": "^5.0.0",
"@sinclair/typebox": "^0.24.8",
"dotenv": "^16.0.1",
"env-var": "^7.1.1",
"express-prom-bundle": "^6.5.0",
"fastify": "^4.2.0",
"http-errors": "^2.0.0",
"http-status": "^1.5.2",
"mongodb": "^4.7.0",
"pino": "^8.1.0",
"prom-client": "^14.0.1",
"replace-url-values": "^1.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.5.1",
"@osskit/eslint-config": "^1.0.5",
"@osskit/prettier-config": "^0.0.1",
"@osskit/tsconfig": "^0.0.5",
"@types/http-errors": "^1.8.2",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.1",
"@types/node-fetch": "^2.6.2",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.30.4",
"@typescript-eslint/parser": "^5.30.4",
"eslint": "^8.19.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-unicorn": "^43.0.0",
"husky": "^8.0.1",
"jest": "^28.1.2",
"lint-staged": "^13.0.3",
"node-fetch": "^3.2.6",
"nodemon": "^2.0.18",
"pino-pretty": "^8.1.0",
"prettier": "^2.7.1",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.2",
"type-fest": "^2.16.0",
"typescript": "^4.7.4"
},
"lint-staged": {
"*.ts": "eslint --fix",
"*.{ts,js,json}": "prettier --write"
}
}