...
|
...
|
@@ -12,8 +12,8 @@ |
|
|
"dev": "node_modules/.bin/nodemon -e js,hbs -i public/ app.js",
|
|
|
"online": "NODE_ENV=\"production\" node app.js",
|
|
|
"debug": "DEBUG=\"express:*\" node app.js",
|
|
|
"lint-js": "node_modules/.bin/eslint -c .eslintrc --cache --fix `git diff --cached --name-only --diff-filter=ACM | grep .js$` app.js",
|
|
|
"lint-css": "node_modules/.bin/stylelint --config .stylelintrc `git diff --cached --name-only --diff-filter=ACM | grep .css$`",
|
|
|
"lint-js": "node_modules/.bin/eslint -c .eslintrc --cache --fix \"git diff --cached --name-only --diff-filter=ACM | grep .js$\" app.js",
|
|
|
"lint-css": "node_modules/.bin/stylelint --config .stylelintrc \"git diff --cached --name-only --diff-filter=ACM | grep .css$\" public/css/*.css&",
|
|
|
"precommit": "npm run lint-js && npm run lint-css"
|
|
|
},
|
|
|
"license": "MIT",
|
...
|
...
|
@@ -22,10 +22,12 @@ |
|
|
"cookie-parser": "^1.4.1",
|
|
|
"express": "^4.13.1",
|
|
|
"express-handlebars": "^3.0.0",
|
|
|
"influxdb-winston": "^1.0.1",
|
|
|
"lodash": "^4.8.2",
|
|
|
"morgan": "^1.7.0",
|
|
|
"request-promise": "^2.0.1",
|
|
|
"serve-favicon": "^2.3.0"
|
|
|
"serve-favicon": "^2.3.0",
|
|
|
"winston": "^2.2.0"
|
|
|
},
|
|
|
"devDependencies": {
|
|
|
"autoprefixer": "^6.3.6",
|
...
|
...
|
|