Update dependnecies and use newer lint-satged configuration

This commit is contained in:
Jonny Barnes 2017-11-17 13:38:07 +00:00
parent e0345a628d
commit 181af6267c
2 changed files with 274 additions and 120 deletions

View file

@ -6,10 +6,9 @@
"license": "CC0-1.0",
"dependencies": {
"alertify.js": "^1.0.12",
"mapbox-gl": "^0.41.0",
"mapbox-gl": "^0.42.0",
"marked": "^0.3.6",
"normalize.css": "^7.0.0",
"webStorage": "^1.2.4"
"normalize.css": "^7.0.0"
},
"devDependencies": {
"ajv": "^5.3.0",
@ -22,19 +21,20 @@
"babel-preset-latest": "^6.16.0",
"babel-runtime": "^6.26.0",
"dotenv-webpack": "^1.5.4",
"eslint": "^4.10.0",
"eslint": "^4.11.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"lint-staged": "^4.3.0",
"husky": "^0.14.3",
"lint-staged": "^5.0.0",
"postcss-cli": "^4.1.1",
"pre-commit": "^1.1.3",
"source-list-map": "^2.0.0",
"stylelint": "^8.2.0",
"stylelint-config-standard": "^17.0.0",
"uglify-js": "^3.1.8",
"uglify-js": "^3.1.9",
"webpack": "^3.8.1",
"webpack-sources": "^1.0.2"
},
@ -48,16 +48,19 @@
"make:css": "npm run lint:sass && npm run sass && npm run postcss",
"make:js": "npm run lint:es6 && npm run webpack && npm run uglifyjs",
"postcss": "postcss public/assets/css/app.css --use autoprefixer --autoprefixer.browsers \"> 5%\" --replace --map",
"precommit": "lint-staged",
"sass": "sassc --style compressed --sourcemap resources/assets/sass/app.scss public/assets/css/app.css",
"stylelint-staged": "stylelint --syntax=scss",
"uglifyjs": "scripts/uglifyjs",
"webpack": "webpack --progress --colors"
},
"lint-staged": {
"resources/assets/es6/*.js": "eslint",
"resources/assets/sass/**/*.scss": "stylelint-staged"
},
"pre-commit": [
"lint-staged"
]
"resources/assets/es6/*.js": [
"eslint --fix",
"git add"
],
"resources/assets/sass/**/*.scss": [
"stylelint --syntax=scss --fix",
"git add"
]
}
}