diff --git a/.travis.yml b/.travis.yml index cae3218..2473402 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,5 +13,4 @@ jobs: provider: script skip_cleanup: true script: - - npm run build - npx semantic-release diff --git a/package.json b/package.json index ffb9d98..4de1de8 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,8 @@ "build:npm": "babel source --presets babel-preset-latest --out-dir distribution", "build:dist": "webpack", "test": "echo 'doing nothing'", - "lint": "eslint source", - "docs": "jsdoc source/*.js -d ./docs/" - }, - "precommit": { - "run": [ - "lint" - ] + "docs": "jsdoc source/*.js -d ./docs/", + "prepublish": "npm run build" }, "devDependencies": { "amd-loader": "^0.0.5",