forked from cocitizen/CyberSim-Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 2.17 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
{
"name": "cybersim-api",
"version": "1.1.0",
"description": "",
"main": "index.js",
"author": "Rolan Szoke (fwalkwithm@gmail.com)",
"license": "ISC",
"engines": {
"node": "22.x"
},
"scripts": {
"prepare": "husky || true",
"dev": "LOG_LEVEL=info nodemon --watch .env -r dotenv/config index.js",
"start": "node -r dotenv/config index.js",
"start:prod": "NODE_ENV=production node -r dotenv/config index.js",
"secrets": "gitleaks protect --staged --verbose",
"lint": "eslint .",
"smoke": "bash scripts/smoke.sh",
"test": "cross-env DOTENV_CONFIG_PATH=.env.test node -r dotenv/config ./node_modules/.bin/jest --runInBand",
"migrate": "knex migrate:latest",
"rollback": "knex migrate:rollback",
"rebuild-db:schema": "knex migrate:rollback --all && knex migrate:latest",
"seed:fixtures": "knex seed:run --specific 01_fixture_seed.js",
"seed:scenario": "knex seed:run --specific 02_scenario_seed.js",
"save:scenario": "node -r dotenv/config scripts/save-scenario-revision.js",
"load:scenario": "node -r dotenv/config scripts/load-scenario-revision.js",
"reset-db:fixtures": "npm run rebuild-db:schema && npm run seed:fixtures",
"reset-db:scenario": "npm run rebuild-db:schema && npm run seed:scenario",
"build-deploy": "zip -r deploy.zip . -x \"node_modules/*\" -x \"*.env*\" -x \".git/*\" -x \"*.zip\" -x \".vscode/*\" -x \".claude/*\""
},
"dependencies": {
"@types/jest": "^26.0.8",
"airtable": "^0.11.2",
"body-parser": "^1.19.2",
"cors": "^2.8.6",
"dotenv": "8.2.0",
"express": "^4.17.1",
"express-pino-logger": "5.0.0",
"helmet": "4.0.0",
"knex": "^0.21.2",
"pg": "^8.3.0",
"pino": "6.5.0",
"socket.io": "^4.5.0",
"yup": "^0.32.11"
},
"devDependencies": {
"cross-env": "^10.1.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^9.1.7",
"jest": "26.2.2",
"nodemon": "2.0.4",
"pino-pretty": "^4.8.0",
"prettier": "^2.0.5",
"supertest": "4.0.2"
}
}