Change NPM script calls

This commit is contained in:
Yarmo Mackenbach 2020-08-14 19:55:57 +02:00
parent 06b1c7cb17
commit a4595db881
2 changed files with 3 additions and 2 deletions

View file

@ -58,6 +58,6 @@ To run Keyoxide locally on your machine for development:
- install NodeJS - install NodeJS
- directly from their [website](https://nodejs.org/en/), or - directly from their [website](https://nodejs.org/en/), or
- using [nvm](https://github.com/nvm-sh/nvm): `nvm install --lts; nvm use --lts` - using [nvm](https://github.com/nvm-sh/nvm): `nvm install --lts; nvm use --lts`
- run the server with `node index.js` - run the server with `npm run dev`
Keyoxide will now be available at [https://localhost:3000](https://localhost:3000) Keyoxide will now be available at [https://localhost:3000](https://localhost:3000)

View file

@ -20,7 +20,8 @@
"license-check-and-add": "^3.0.4" "license-check-and-add": "^3.0.4"
}, },
"scripts": { "scripts": {
"main": "node index.js", "start": "NODE_ENV=production node index.js",
"dev": "node index.js",
"license:check": "./node_modules/license-check-and-add/dist/src/cli.js check", "license:check": "./node_modules/license-check-and-add/dist/src/cli.js check",
"license:add": "./node_modules/license-check-and-add/dist/src/cli.js add", "license:add": "./node_modules/license-check-and-add/dist/src/cli.js add",
"license:remove": "./node_modules/license-check-and-add/dist/src/cli.js remove", "license:remove": "./node_modules/license-check-and-add/dist/src/cli.js remove",