Moved nodemon to package.json

master
Keith Irwin 2018-03-09 02:39:10 +00:00
parent 2ed0eed17e
commit 38b3be6eb1
No known key found for this signature in database
GPG Key ID: 378933C743E2BBC0
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +0,0 @@
{
"verbose": true,
"ext": "html, js, json, css"
}

View File

@ -57,12 +57,16 @@
"audit": "node_modules/nsp/bin/nsp audit-package ; node_modules/nsp/bin/nsp audit-shrinkwrap",
"lint": "standard",
"start": "node server.js",
"nodemon": "nodemon --ignore 'static/**/*.min.*' server.js",
"nodemon": "nodemon server.js",
"update": "sudo npm prune && sudo npm update",
"less": "for file in static/css/*.css; do lessc --clean-css $file static/css/.$(basename ${file%.*}).min.css; done",
"uglify": "for file in static/js/*.js; do uglifyjs $file --output static/js/.$(basename ${file%.*}).min.js --verbose --compress --mangle 'reserved=google.maps'; done",
"build": "rm static/**/.*.min.* ; npm run less ; npm run uglify"
},
"nodemonConfig": {
"ext": "html, js, json, less, css",
"ignore": "['package.json','static/**/*.min.*','*.md','test/*','config/env/*']"
},
"repository": "Tracman-org/Server",
"keywords": [
"gps",