-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.16 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
{
"name": "E-commerce",
"version": "1.0.0",
"description": "E-Commerce",
"main": "index.js",
"scripts": {
"start:app": "NODE_ENV=development nodemon server/index.js",
"postinstall": "CONT=$(docker ps -aqf name=node-app) && [ $CONT ] && docker exec -w /backend-app $CONT npm i || true",
"start": "docker-compose up",
"build": "docker-compose up --build",
"prune": "docker-compose down -v",
"stop": "docker-compose down",
"test:app": "NODE_ENV=test mocha --exit --require mocha-steps ./server/tests",
"test": "CONT=$(docker ps -aqf name=node-app) && [ $CONT ] && docker exec -t -w /backend-app $CONT npm run test:app"
},
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.1.1",
"body-parser": "^1.20.2",
"datatables.net": "^2.0.7",
"datatables.net-dt": "^2.0.7",
"dotenv": "^10.0.0",
"ejs": "^3.1.10",
"express": "^4.19.2",
"express-session": "^1.18.0",
"jquery": "^3.7.1",
"mongodb": "^4.17.2",
"mongoose": "^6.12.8"
},
"devDependencies": {
"chai": "^4.3.4",
"mocha": "^9.1.1",
"mocha-steps": "^1.3.0",
"nodemon": "^2.0.22",
"supertest": "^6.1.6"
}
}