Authored by ccbikai

debug 脚本修改

@@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
11 "start": "node app.js", 11 "start": "node app.js",
12 "dev": "node_modules/.bin/nodemon -e js,hbs -i public/ app.js", 12 "dev": "node_modules/.bin/nodemon -e js,hbs -i public/ app.js",
13 "online": "NODE_ENV=\"production\" node app.js", 13 "online": "NODE_ENV=\"production\" node app.js",
14 - "debug": "DEBUG=\"express:*\" node app.js", 14 + "debug": "DEBUG=\"express:*\" node_modules/.bin/nodemon -e js,hbs -i public/ app.js",
15 "lint-js": "./node_modules/.bin/eslint -c .eslintrc --cache --fix .", 15 "lint-js": "./node_modules/.bin/eslint -c .eslintrc --cache --fix .",
16 "lint-css": "./node_modules/.bin/stylelint --config .stylelintrc public/scss/**/*.css", 16 "lint-css": "./node_modules/.bin/stylelint --config .stylelintrc public/scss/**/*.css",
17 "precommit": "node lint.js", 17 "precommit": "node lint.js",