Skip to content

Commit e601848

Browse files
committed
heroku
1 parent aef80ef commit e601848

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

package-lock.json

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"name": "react-notes",
33
"version": "1.0.0",
4+
"engines": {
5+
"npm": "6.14.12",
6+
"node": "14.16.1"
7+
},
48
"description": "React Notes App",
59
"main": "app.js",
610
"scripts": {
7-
"start": "npm run prod",
11+
"start": "node app.js",
812
"full-install": "npm run server:install && npm run client:install",
913
"server:start-dev": "nodemon app.js",
1014
"server:start-prod": "node app.js",
@@ -16,7 +20,8 @@
1620
"prod": "npm run server:start-prod",
1721
"prod:predeploy": "npm run deploy && npm run prod",
1822
"deploy": "npm run full-install && npm run client:build",
19-
"test": "echo \"Error: no test specified\" && exit 1"
23+
"test": "echo \"Error: no test specified\" && exit 1",
24+
"heroku-postbuild": "npm run client:install && npm run client:build"
2025
},
2126
"repository": {
2227
"type": "git",
@@ -34,13 +39,13 @@
3439
},
3540
"homepage": "https://github.com/maxchistt/react-notes#readme",
3641
"dependencies": {
42+
"dotenv": "^8.2.0",
3743
"express": "^4.17.1",
3844
"mongoose": "^5.12.5"
3945
},
4046
"devDependencies": {
4147
"concurrently": "^6.0.2",
4248
"cross-env": "^7.0.3",
43-
"dotenv": "^8.2.0",
4449
"nodemon": "^2.0.7"
4550
}
4651
}

0 commit comments

Comments
 (0)