Skip to content

Commit 82aa20b

Browse files
committed
fix(travis): add to prepublish script instead
1 parent 14c8704 commit 82aa20b

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ jobs:
1313
provider: script
1414
skip_cleanup: true
1515
script:
16-
- npm run build
1716
- npx semantic-release

package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,8 @@
1515
"build:npm": "babel source --presets babel-preset-latest --out-dir distribution",
1616
"build:dist": "webpack",
1717
"test": "echo 'doing nothing'",
18-
"lint": "eslint source",
19-
"docs": "jsdoc source/*.js -d ./docs/"
20-
},
21-
"precommit": {
22-
"run": [
23-
"lint"
24-
]
18+
"docs": "jsdoc source/*.js -d ./docs/",
19+
"prepublish": "npm run build"
2520
},
2621
"devDependencies": {
2722
"amd-loader": "^0.0.5",

0 commit comments

Comments
 (0)