Added linter run to tests.
parent
f170d53624
commit
d5a4095216
|
@ -41,7 +41,6 @@ before_install:
|
|||
}
|
||||
|
||||
script:
|
||||
- yarn lint
|
||||
- yarn test
|
||||
- yarn gulp release
|
||||
|
||||
|
|
|
@ -13,9 +13,10 @@
|
|||
"release": "run-script-os",
|
||||
"release:default": "NODE_ENV=production gulp release",
|
||||
"release:windows": "set NODE_ENV=production&& gulp release",
|
||||
"pretest": "yarn run lint",
|
||||
"test": "karma start test/karma.conf.js",
|
||||
"lint": "eslint --ext .js,.vue src",
|
||||
"lint:fix": "eslint --fix src"
|
||||
"lint": "eslint --ext .js,.vue src gulpfile.js",
|
||||
"lint:fix": "eslint --fix src gulpfile.js"
|
||||
},
|
||||
"window": {
|
||||
"icon": "images/bf_icon_128.png",
|
||||
|
|
Loading…
Reference in New Issue