-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 1.13 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 1.13 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
36
37
38
39
40
{
"name": "blog",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "NODE_ENV=production node index.js",
"dev": "NODE_ENV=development nodemon index.js",
"lint": "eslint .",
"test": "NODE_ENV=test jest --verbose --runInBand --forceExit",
"build:ui": "rm -rf build && cd ../bloglist-frontend/ && npm run build --prod && cp -r build ../blog",
"deploy": "git push heroku main",
"deploy:full": "npm run build:ui && git add . && git commit -m uibuild && git push && npm run deploy",
"logs:prod": "heroku logs --tail"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"bcrypt": "^5.0.1",
"cors": "^2.8.5",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"express-async-errors": "^3.1.1",
"jsonwebtoken": "^8.5.1",
"mongoose": "^6.1.1",
"mongoose-unique-validator": "^2.0.3",
"prop-types": "^15.8.1"
},
"devDependencies": {
"eslint": "^8.4.1",
"eslint-plugin-jest": "^25.3.4",
"eslint-plugin-react": "^7.27.1",
"jest": "^27.4.5",
"supertest": "^6.1.6"
},
"jest": {
"testEnvironment": "node"
}
}