Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
sudo: false
language: node_js
cache: yarn
notifications:
email: false
node_js:
- '8'
- '6'
Expand All @@ -11,11 +9,14 @@ script:
- ./script/lint-commits
- ./script/prettier-check
- yarn test
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- yarn run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
jobs:
include:
- stage: npm release
node_js: '8'
script:
- echo "Deploying to npm…"
- yarn add --dev semantic-release
- yarn semantic-release
11 changes: 5 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"test": "mocha",
"commitmsg": "commitlint -e $GIT_PARAMS",
"precommit": "lint-staged",
"prepublish": "yarn test",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"prepublish": "yarn test"
},
"lint-staged": {
"*.js": [
Expand All @@ -37,10 +36,11 @@
},
"homepage": "https://github.com/rollup/rollup-plugin-multi-entry#readme",
"dependencies": {
"matched": "^0.4.4"
"matched": "^1.0.2"
},
"devDependencies": {
"@commitlint/config-conventional": "^5.2.3",
"babel-core": "^6.26.0",
"babel-plugin-transform-flow-strip-types": "^6.14.0",
"babel-preset-env": "^1.6.1",
"babel-register": "^6.14.0",
Expand All @@ -52,8 +52,7 @@
"mocha": "^4.1.0",
"prettier": "^1.9.2",
"prettier-check": "^2.0.0",
"rollup": "^0.49.2",
"rollup-plugin-babel": "^2.6.1",
"semantic-release": "^4.3.5"
"rollup": "^0.53.3",
"rollup-plugin-babel": "^3.0.3"
}
}
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
babelrc: false
})
],
external: Object.keys(pkg['dependencies']).concat('path'),
external: Object.keys(pkg['dependencies']),
output: [
{
format: 'cjs',
Expand Down
Loading