Skip to content

Commit 1943ca2

Browse files
committed
package.json fix
1 parent c9b96a0 commit 1943ca2

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Use [MongoDB Atlas](https://www.mongodb.com/cloud/atlas). Look video lesson [her
8585
## Deployment on Ubuntu LVS
8686

8787
- Clone from GitHub
88-
- Run `cd react-notes && npm install && npm run deploy && cd`
88+
- Run `cd react-notes && npm run deploy && cd`
8989
- Use PM2 with this ecosystem template:
9090

9191
```js

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"node": "14.16.1"
77
},
88
"description": "React Notes App",
9+
"main": "server/app.js",
910
"scripts": {
1011
"start": "npm run prod",
1112
"full-install": "npm run server:install && npm run client:install",
@@ -51,4 +52,4 @@
5152
"cross-env": "^7.0.3",
5253
"jsdoc": "^3.6.7"
5354
}
54-
}
55+
}

server/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"start-prod": "node app.js",
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
11+
"author": "Maxim Chistyakov <max.chistt@gmail.com>",
12+
"license": "ISC",
1113
"dependencies": {
1214
"bcryptjs": "^2.4.3",
1315
"dotenv": "^8.6.0",
@@ -19,4 +21,4 @@
1921
"devDependencies": {
2022
"nodemon": "^2.0.7"
2123
}
22-
}
24+
}

0 commit comments

Comments
 (0)