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 4
4
- " 8"
5
5
- " 6"
6
6
- " 4"
7
+ before_script :
8
+ - ' if [[ -n "$TRAVIS_TAG" ]] && [[ "$TRAVIS_JOB_NUMBER" == *.1 ]]; then yarn run create-github-release || true; fi'
7
9
script :
8
10
- yarn lint
9
11
- yarn test
Original file line number Diff line number Diff line change 5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
7
7
"clean" : " rimraf lib" ,
8
+ "create-github-release" : " conventional-github-releaser -p angular" ,
8
9
"build:commonjs" : " babel src/ --out-dir lib/ --ignore __tests__,__mocks__" ,
9
10
"build:umd" : " webpack --config webpack.build.js" ,
10
11
"build:umd:min" : " cross-env MINIFY=1 webpack --config webpack.build.js" ,
15
16
"precommit" : " lint-staged" ,
16
17
"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'" ,
17
18
"prepublish" : " yarn run build" ,
19
+ "release" : " standard-version" ,
18
20
"test" : " jest" ,
19
21
"start" : " webpack-dev-server --inline --content-base examples/"
20
22
},
53
55
"babel-plugin-transform-react-remove-prop-types" : " ^0.4.0" ,
54
56
"babel-preset-env" : " ^1.3.3" ,
55
57
"babel-preset-react" : " ^6.5.0" ,
58
+ "conventional-github-releaser" : " ^1.1.12" ,
56
59
"cross-env" : " ^5.0.0" ,
57
60
"css-loader" : " ^0.28.0" ,
58
61
"enzyme" : " ^2.3.0" ,
73
76
"react-modal" : " ^1.3.0" ,
74
77
"react-test-renderer" : " ^15.5.4" ,
75
78
"rimraf" : " ^2.5.2" ,
79
+ "standard-version" : " ^4.2.0" ,
76
80
"style-loader" : " ^0.18.1" ,
77
81
"uglifyjs-webpack-plugin" : " ^0.4.2" ,
78
82
"webpack" : " ^2.3.3" ,
You can’t perform that action at this time.
0 commit comments