Skip to content

Commit fce622b

Browse files
committed
build(travis): update travis build process
1 parent e719b19 commit fce622b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ jobs:
1515
script:
1616
- npm run lint
1717
- npm run test
18-
- npm run compile:prod
18+
- npm run build
1919
- npm run is-es5
2020
before_script: greenkeeper-lockfile-update
2121
after_script: greenkeeper-lockfile-upload
2222
- stage: deploy
2323
if: branch = master
24+
before_script: npm run build
2425
script: npm run travis-deploy-once "npm run semantic-release"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"build": "BABEL_ENV=production rollup -c",
1515
"codecov": "codecov",
1616
"commitmsg": "commitlint -e $GIT_PARAMS",
17-
"is-es5": "es-check es5 build/**/*.js",
17+
"is-es5": "es-check es5 build/**/index.cjs.js build/**/index.js",
1818
"lint": "eslint --ext .js .",
1919
"test": "BABEL_ENV=test jest src/ --coverage --no-cache",
2020
"prepare": "npm run build",

0 commit comments

Comments
 (0)