Add nodemon as dev script

This commit is contained in:
Yarmo Mackenbach 2021-01-19 22:30:04 +01:00
parent 5ef292a482
commit cfab181316
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1
3 changed files with 654 additions and 12 deletions

3
nodemon.json Normal file
View file

@ -0,0 +1,3 @@
{
"ext": "js,json,css,pug,md"
}

View file

@ -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",

656
yarn.lock

File diff suppressed because it is too large Load diff