-
-
Notifications
You must be signed in to change notification settings - Fork 161
/
package.json
89 lines (89 loc) · 3.28 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
{
"name": "dnd-5e-srd-api",
"version": "0.0.0",
"engines": {
"node": "20.x"
},
"type": "module",
"private": true,
"scripts": {
"build:ts": "tsc",
"build": "npm-run-all --sequential clean bundle-swagger build:ts copy-assets",
"clean": "rimraf dist/*",
"copy-assets": "mkdir -p dist && cp -R src/css dist/src && cp -R src/public dist/src",
"start": "npm run build && node dist/src/start.js",
"dev": "nodemon npm run start",
"lint": "eslint . --config eslint.config.js",
"validate-swagger": "swagger-cli validate src/swagger/swagger.yml",
"bundle-swagger": "npm run validate-swagger && swagger-cli bundle --outfile src/swagger/api-spec/openapi.yml --type yaml src/swagger/swagger.yml && swagger-cli bundle --outfile src/swagger/api-spec/openapi.json --type json src/swagger/swagger.yml",
"gen-postman": "npm run bundle-swagger && portman --cliOptionsFile portman-cli.json",
"test": "npm run test:unit && npm run test:integration:local",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js -c jest.config.unit.ts",
"test:integration": "node --experimental-vm-modules node_modules/jest/bin/jest.js -c jest.config.integration.ts --detectOpenHandles --forceExit",
"test:integration:local": "docker compose pull && docker compose build && docker compose run --use-aliases api npm run test:integration"
},
"dependencies": {
"@apideck/portman": "^1.30.7",
"@apidevtools/swagger-cli": "^4.0.4",
"@apollo/server": "^4.11.2",
"@aws-sdk/client-s3": "^3.712.0",
"@bugsnag/js": "^8.0.0",
"@bugsnag/plugin-express": "^8.0.0",
"@graphql-tools/schema": "^10.0.9",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.7",
"cors": "^2.8.3",
"debug": "^4.3.7",
"ejs": "^3.1.10",
"escape-string-regexp": "^5.0.0",
"express": "^4.21.2",
"express-rate-limit": "^7.4.1",
"graphql": "^16.9.0",
"graphql-compose": "^9.0.11",
"graphql-compose-mongoose": "^10.0.0",
"graphql-depth-limit": "^1.1.0",
"mongoose": "^8.8.3",
"morgan": "^1.10.0",
"node-fetch": "^3.1.1",
"redis": "^4.7.0",
"serve-favicon": "^2.5.0"
},
"devDependencies": {
"@semantic-release/github": "^11.0.1",
"@eslint/js": "^9.15.0",
"@jest/types": "^29.6.3",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.13",
"@types/fs-extra": "^11.0.4",
"@types/graphql-depth-limit": "^1.1.3",
"@types/jest": "^27.4.1",
"@types/morgan": "^1.9.3",
"@types/node": "^22.9.3",
"@types/shelljs": "^0.8.11",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.1",
"@typescript-eslint/parser": "^8.17.0",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-ejs": "^0.0.2",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-prettier": "^5.2.1",
"fs-extra": "^11.2.0",
"globals": "^15.12.0",
"jest": "^27.5.1",
"mockingoose": "^2.15.2",
"node-mocks-http": "^1.16.1",
"nodemon": "^3.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.1",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.0",
"shelljs": "^0.8.5",
"supertest": "^7.0.0",
"ts-jest": "^27.1.3",
"typedoc": "^0.26.11",
"typescript": "^4.9.3",
"ts-node": "^10.9.2",
"typescript-eslint": "^8.16.0"
}
}