-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 892 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
{
"name": "backend",
"version": "0.0.1",
"description": "phonebook backend",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"build:ui": "rm -rf build && cd ../full-stack-2020-dev/phonebook && npm run build --prod && cp -r build ../../full-stack-part3/",
"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 ."
},
"author": "James Fisher",
"license": "MIT",
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"mongoose": "^5.10.0",
"mongoose-unique-validator": "^2.0.3",
"morgan": "^1.10.0"
},
"devDependencies": {
"eslint": "^7.7.0",
"nodemon": "^2.0.4"
}
}