Try to apply eslint automatically
This commit is contained in:
parent
a27268bcbb
commit
0725f75b70
1 changed files with 22 additions and 17 deletions
39
package.json
39
package.json
|
@ -1,19 +1,24 @@
|
|||
{
|
||||
"name": "jbuk-frontend",
|
||||
"version": "0.0.1",
|
||||
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
|
||||
"license": "CC0-1.0",
|
||||
"devDependencies": {
|
||||
"gulp": "~3.9",
|
||||
"gulp-brotli": "^1.0.1",
|
||||
"gulp-zopfli": "^1.0.0",
|
||||
"laravel-elixir": "^5.0.0",
|
||||
"lint-staged": "^1.0.1",
|
||||
"pre-commit": "^1.1.3"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prod": "gulp --production",
|
||||
"dev": "gulp watch"
|
||||
}
|
||||
"name": "jbuk-frontend",
|
||||
"version": "0.0.1",
|
||||
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
|
||||
"license": "CC0-1.0",
|
||||
"devDependencies": {
|
||||
"gulp": "~3.9",
|
||||
"gulp-brotli": "^1.0.1",
|
||||
"gulp-zopfli": "^1.0.0",
|
||||
"laravel-elixir": "^5.0.0",
|
||||
"lint-staged": "^1.0.1",
|
||||
"pre-commit": "^1.1.3"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"prod": "gulp --production",
|
||||
"dev": "gulp watch",
|
||||
"lint-staged": "lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"eslint": "public/assets/js/*.js"
|
||||
},
|
||||
"pre-commit": ["lint-staged"]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue