eslint cleanup

This commit is contained in:
Dane Everitt 2020-07-04 18:30:50 -07:00
parent 922383e232
commit c419d15907
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
37 changed files with 42 additions and 47 deletions

View file

@ -115,6 +115,7 @@
},
"scripts": {
"clean": "rm -rf public/assets/*.{js,css,map}",
"lint": "eslint ./resources/scripts/**/*.{ts,tsx} --ext .ts,.tsx",
"watch": "cross-env NODE_ENV=development ./node_modules/.bin/webpack --watch --progress",
"build": "cross-env NODE_ENV=development ./node_modules/.bin/webpack --progress",
"build:production": "yarn run clean && cross-env NODE_ENV=production ./node_modules/.bin/webpack --mode production",