mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
Add nodemon as dev script
This commit is contained in:
parent
5ef292a482
commit
cfab181316
3 changed files with 654 additions and 12 deletions
3
nodemon.json
Normal file
3
nodemon.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"ext": "js,json,css,pug,md"
|
||||
}
|
|
@ -19,11 +19,12 @@
|
|||
"string-replace-middleware": "^1.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"license-check-and-add": "^3.0.4"
|
||||
"license-check-and-add": "^3.0.4",
|
||||
"nodemon": "^2.0.7"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node index.js",
|
||||
"dev": "NODE_ENV=development node index.js",
|
||||
"start": "node ./",
|
||||
"dev": "NODE_ENV=development ./node_modules/nodemon/bin/nodemon.js --config nodemon.json ./",
|
||||
"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