forked from Mirrors/keyoxide-web
Change NPM script calls
This commit is contained in:
parent
06b1c7cb17
commit
a4595db881
2 changed files with 3 additions and 2 deletions
|
@ -58,6 +58,6 @@ To run Keyoxide locally on your machine for development:
|
|||
- install NodeJS
|
||||
- directly from their [website](https://nodejs.org/en/), or
|
||||
- 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)
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
"license-check-and-add": "^3.0.4"
|
||||
},
|
||||
"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: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",
|
||||
|
|
Loading…
Reference in a new issue