diff --git a/README.md b/README.md index e3d9bf9..2552158 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/package.json b/package.json index 2fe19a3..54eb2cf 100644 --- a/package.json +++ b/package.json @@ -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",