Fixed: npm run server:prod

npm ERR! missing script: server:prod

https://github.com/adamarthurryan/dubdiff/blob/master/package.json#L12
This commit is contained in:
Matas 2020-02-25 16:28:28 +02:00 committed by GitHub
parent 7fdaf8e3ab
commit 9cdfae58b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,12 +37,12 @@ You'll need node & npm. Then install dependencies with
To build and launch a dev server: To build and launch a dev server:
npm start npm start
npm run server npm run serve
To build and launch the production server: To build and launch the production server:
npm run build:prod npm run build:prod
npm run server:prod npm run serve:prod
@ -71,4 +71,4 @@ To make the application start on boot, run the following:
# save the current pm2 config so that it can be reloaded on boot # save the current pm2 config so that it can be reloaded on boot
pm2 save pm2 save
[Digital Ocean: How To Set Up a Node.js Application for Production on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04) [Digital Ocean: How To Set Up a Node.js Application for Production on Ubuntu 16.04](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04)