File tree Expand file tree Collapse file tree 3 files changed +405
-15
lines changed Expand file tree Collapse file tree 3 files changed +405
-15
lines changed Original file line number Diff line number Diff line change 44 - " 8"
55 - " 6"
66 - " 4"
7+ before_script :
8+ - ' if [[ -n "$TRAVIS_TAG" ]] && [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn run create-github-release || true; fi'
79script :
810 - yarn lint
911 - yarn test
Original file line number Diff line number Diff line change 55 "main" : " lib/index.js" ,
66 "scripts" : {
77 "clean" : " rimraf lib" ,
8+ "create-github-release" : " conventional-github-releaser -p angular" ,
89 "build:commonjs" : " babel src/ --out-dir lib/ --ignore __tests__,__mocks__" ,
910 "build:umd" : " webpack --config webpack.build.js" ,
1011 "build:umd:min" : " cross-env MINIFY=1 webpack --config webpack.build.js" ,
1516 "precommit" : " lint-staged" ,
1617 "preversion" : " yarn run lint && yarn test && yarn run build && yarn run bundle && git add dist/ && git diff --quiet --exit-code --cached || git commit -n -m 'publish: Distribution'" ,
1718 "prepublish" : " yarn run build" ,
19+ "release" : " standard-version" ,
1820 "test" : " jest" ,
1921 "start" : " webpack-dev-server --inline --content-base examples/"
2022 },
5355 "babel-plugin-transform-react-remove-prop-types" : " ^0.4.0" ,
5456 "babel-preset-env" : " ^1.3.3" ,
5557 "babel-preset-react" : " ^6.5.0" ,
58+ "conventional-github-releaser" : " ^1.1.12" ,
5659 "cross-env" : " ^5.0.0" ,
5760 "css-loader" : " ^0.28.0" ,
5861 "enzyme" : " ^2.3.0" ,
7376 "react-modal" : " ^1.3.0" ,
7477 "react-test-renderer" : " ^15.5.4" ,
7578 "rimraf" : " ^2.5.2" ,
79+ "standard-version" : " ^4.2.0" ,
7680 "style-loader" : " ^0.18.1" ,
7781 "uglifyjs-webpack-plugin" : " ^0.4.2" ,
7882 "webpack" : " ^2.3.3" ,
You can’t perform that action at this time.
0 commit comments