Re-add lint command

This commit is contained in:
Oliver Davies 2019-10-17 21:53:38 +01:00
parent c9bdf4dbd1
commit a9132738af
2 changed files with 903 additions and 1 deletions

894
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -3,7 +3,8 @@
"scripts": {
"dev": "encore dev",
"watch": "encore dev --watch",
"build": "encore production --progress"
"build": "encore production --progress",
"lint": "eslint --ext .js,.vue assets/js/app.js"
},
"dependencies": {
"@symfony/webpack-encore": "^0.28.0",
@ -19,6 +20,13 @@
"vue": "^2.6.10"
},
"devDependencies": {
"eslint": "^5.15.3",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^5.2.2",
"glob-all": "^3.1.0",
"postcss-loader": "^3.0.0",
"purgecss-webpack-plugin": "^1.6.0",