-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.37 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
{
"name": "backend",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"start": "cross-env NODE_ENV=production node index.js",
"start:test": "cross-env NODE_ENV=test node index.js",
"test": "cross-env NODE_ENV=test jest --verbose --runInBand",
"dev": "cross-env NODE_ENV=development nodemon index.js",
"build:ui": "rm -rf build && cd ../fullstack-open/part2/notes/ && npm run build --prod && cp -r build ../../../fso-notes",
"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",
"lint": "eslint ."
},
"repository": {
"type": "git",
"url": "git+https://github.com/mrchrmn-ls/fso-part3-notes.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrchrmn-ls/fso-part3-notes/issues"
},
"homepage": "https://github.com/mrchrmn-ls/fso-part3-notes#readme",
"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.0.12",
"mongoose-unique-validator": "2.0.1"
},
"devDependencies": {
"cross-env": "^7.0.3",
"eslint": "^8.2.0",
"jest": "^27.3.1",
"nodemon": "^2.0.15",
"supertest": "^6.1.6"
}
}