-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
64 lines (64 loc) · 2.43 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
{
"name": "space-bots",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
"@swc/core": "^1.3.99",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.17",
"@types/jest": "^29.5.10",
"@types/node": "^20.1.4",
"@types/validator": "^13.7.17",
"cors": "^2.8.5",
"csv-parse": "^5.5.5",
"csv-stringify": "^6.4.6",
"dotenv": "^16.3.1",
"express": "^5.0.0-beta.1",
"express-openapi-validator": "^5.0.6",
"express-rate-limit": "^7.1.5",
"firebase-admin": "^11.11.0",
"generate-api-key": "^1.0.2",
"nodemon": "^2.0.22",
"openapi-typescript": "^6.7.0",
"pg": "^8.11.3",
"pg-hstore": "^2.3.4",
"reflect-metadata": "^0.1.13",
"sequelize": "^6.31.1",
"sequelize-cli": "^6.6.0",
"sequelize-typescript": "^2.1.5",
"sqlite3": "^5.1.6",
"swagger-ui-express": "^5.0.0",
"ts-node": "^10.9.1",
"tsoa": "^5.1.1",
"uuid": "^9.0.1",
"winston": "^3.11.0",
"yaml": "^2.3.3"
},
"devDependencies": {
"@types/supertest": "^2.0.16",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"jest": "^29.7.0",
"prettier": "^3.1.0",
"superagent": "^8.1.2",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"typescript": "^5.0.4"
},
"scripts": {
"dev": "nodemon src/main.ts",
"db-sync": "ts-node src/dbSync.ts",
"start": "ts-node src/main.ts",
"convert-tiled-galaxy": "npm exec ts-node src/galaxy/convertFromTiledToCSV.ts",
"sync-game-data": "npm exec ts-node src/syncWithGameData.ts",
"seed-dev-data": "npm exec ts-node src/truncateData.ts && npm exec ts-node src/syncWithGameData.ts && npm exec ts-node src/seedDevData.ts",
"generate-schema": "openapi-typescript ./src/openapi.yaml -o ./src/schema.d.ts",
"test": "npm run generate-schema && NODE_ENV=test DATABASE_HOSTNAME=localhost LOG_LEVEL=-1 node node_modules/.bin/jest",
"test-with-logs": "npm run generate-schema && NODE_ENV=test DATABASE_HOSTNAME=localhost node node_modules/.bin/jest",
"truncate-data": "npm exec ts-node src/truncateData.ts",
"format": "prettier . --write"
}
}