-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.39 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
{
"name": "devshop",
"version": "1.0.0",
"description": "Ecommerce website built with node, express, ejs",
"main": "index.js",
"scripts": {
"migrate-production": "npx cross-env NODE_ENV=production npx knex migrate:latest",
"server-production": "npx cross-env NODE_ENV=production node src/server.js",
"start": "npm run migrate-production && npm run server-production ",
"dev": "npx knex migrate:rollback --all && npx knex migrate:latest && npx knex seed:run && nodemon src/server.js",
"pretest": "npx knex migrate:rollback --all && npx knex migrate:latest && npx knex seed:run",
"test": "jest",
"posttest": "npx knex migrate:rollback --all"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mandimartins/devshop.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/mandimartins/devshop/issues"
},
"homepage": "https://github.com/mandimartins/devshop#readme",
"dependencies": {
"@hapi/joi": "^17.1.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"dotenv": "^8.2.0",
"ejs": "^3.1.3",
"express": "^4.17.1",
"express-session": "^1.17.1",
"knex": "^0.21.2",
"mysql2": "^2.1.0",
"sqlite3": "^5.0.0"
},
"devDependencies": {
"@types/jest": "^26.0.9",
"cross-env": "^7.0.2",
"jest": "^26.4.0",
"nodemon": "^2.0.4",
"supertest": "^4.0.2"
}
}