diff --git a/.travis.yml b/.travis.yml index ed574f70..1cb253a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,6 @@ before_install: } script: - - yarn lint - yarn test - yarn gulp release diff --git a/package.json b/package.json index 23e50dda..00af1ce2 100644 --- a/package.json +++ b/package.json @@ -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",