Skip to content

Commit

Permalink
refactor(babel): update build steps and package entry point
Browse files Browse the repository at this point in the history
BREAKING CHANGE: new package entry point
  • Loading branch information
Ahmad Nassri committed Mar 3, 2018
1 parent c007729 commit c17aa6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
14 changes: 2 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,19 @@ node_js:
- 6
- 4

env:
- BABEL_ENV=development

matrix:
fast_finish: true

cache:
directories:
- node_modules

before_script:
- npm prune
after_success:
- npm install --only=production codeclimate-test-reporter semantic-release

before_deploy:
- npm install semantic-release
- npm install codeclimate-test-reporter

- npm run coverage -- --coverage-report=text-lcov | codeclimate-test-reporter

- BABEL_ENV=v4 npm run compile -- -d lib/node4
- BABEL_ENV=v6 npm run compile -- -d lib/node6
- BABEL_ENV=v7 npm run compile -- -d lib/node7

deploy:
skip_cleanup: true
provider: script
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"url": "https://github.com/ahmadnassri/logress.git"
},
"license": "ISC",
"main": "lib/node4/index.js",
"main": "lib/index.js",
"keywords": [
"logress"
],
Expand Down

0 comments on commit c17aa6f

Please sign in to comment.