/
package.json
85 lines (85 loc) · 3.1 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
{
"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 clean bundle-swagger build:ts copy-assets",
"clean": "rimraf dist/*",
"copy-assets": "node --loader ts-node/esm tools/copyAssets.ts",
"start": "npm run build && node dist/src/start.js",
"dev": "nodemon npm run start",
"lint": "eslint . --ext .js",
"validate-swagger": "swagger-cli validate src/swagger/swagger.yml",
"bundle-swagger": "npm run validate-swagger && swagger-cli bundle --outfile src/swagger/dist/openapi.yml --type yaml src/swagger/swagger.yml && swagger-cli bundle --outfile src/swagger/dist/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.26.3",
"@apidevtools/swagger-cli": "^4.0.4",
"@apollo/server": "^4.9.3",
"@aws-sdk/client-s3": "^3.554.0",
"@bugsnag/js": "^7.16.1",
"@bugsnag/plugin-express": "^7.16.1",
"@graphql-tools/schema": "^8.3.10",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.5",
"cors": "^2.8.3",
"debug": "^4.3.1",
"ejs": "^3.1.8",
"escape-string-regexp": "^2.0.0",
"express": "^4.19.2",
"express-rate-limit": "^7.2.0",
"graphql": "^16.8.1",
"graphql-compose": "^9.0.7",
"graphql-compose-mongoose": "^10.0.0",
"graphql-depth-limit": "^1.1.0",
"mongoose": "^8.2.4",
"morgan": "^1.10.0",
"node-fetch": "^3.1.1",
"redis": "^4.2.0",
"serve-favicon": "^2.5.0"
},
"devDependencies": {
"@semantic-release/github": "^10.0.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": "^20.12.2",
"@types/shelljs": "^0.8.11",
"@types/supertest": "^6.0.2",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-ejs": "^0.0.2",
"eslint-plugin-jest": "^28.2.0",
"eslint-plugin-prettier": "^5.0.0",
"fs-extra": "^11.2.0",
"jest": "^27.5.1",
"mockingoose": "^2.15.2",
"node-mocks-http": "^1.12.1",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"rimraf": "^3.0.2",
"semantic-release": "^23.0.2",
"shelljs": "^0.8.5",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-node": "^10.5.0",
"typedoc": "^0.25.13",
"typescript": "^4.9.3"
}
}