-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.08 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.08 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
{
"name": "backend",
"version": "1.0.0",
"description": "Learning Node js",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=production node index.js",
"dev": "cross-env NODE_ENV=development nodemon index.js",
"build:ui": "rm -rf build && cd ../../part2/notes-client/ && npm run build && cp -r build ../../part3/notes-server",
"deploy": "git push heroku master",
"deploy:full": "npm run build:ui && git add . && git commit -m uibuild && npm run deploy",
"logs:prod": "heroku logs --tail",
"lint": "eslint .",
"test": "cross-env NODE_ENV=test jest --verbose --runInBand --forceExit"
},
"author": "Binaya karki",
"license": "MIT",
"dependencies": {
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.4.7",
"mongoose-unique-validator": "^3.1.0"
},
"devDependencies": {
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"jest": "^28.1.3",
"nodemon": "^2.0.19",
"supertest": "^6.2.4"
}
}