generated from OpenUOM/Capstone-Project-Tasks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1010 Bytes
/
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
{
"name": "capstone-project",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "npm i forever --prefix ./frontend && export NODE_ENV=test-backend && NODE_OPTIONS='--experimental-vm-modules --experimental-specifier-resolution=node' jest --verbose ./backend/test --forceExit",
"start": "node backend/index.js",
"delete-db": "del-cli db.sqlite",
"migrate": "npm run delete-db && knex migrate:latest --knexfile knexfile.js",
"seed": "knex seed:run --knexfile knexfile.js",
"db": "npm run migrate && npm run seed"
},
"author": "[email protected]",
"license": "ISC",
"jest": {
"testEnvironment": "node",
"coveragePathIgnorePatterns": [
"/node_modules/"
]
},
"dependencies": {
"body-parser": "^1.20.0",
"express": "^4.17.3",
"knex": "^2.1.0",
"sqlite3": "^5.0.2"
},
"devDependencies": {
"del-cli": "^4.0.1",
"cross-env": "^7.0.3",
"jest": "^27.5.1",
"supertest": "^6.2.2"
}
}