File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,13 @@ cache:
15
15
jobs :
16
16
include :
17
17
- stage : coverage
18
- node_js : " 10 "
18
+ node_js : lts/*
19
19
script :
20
20
- npm run test -- --coverage && cat ./coverage/lcov.info | coveralls
21
+ - stage : release
22
+ node_js : lts/*
23
+ deploy :
24
+ provider : script
25
+ skip_cleanup : true
26
+ script :
27
+ - npx semantic-release
Original file line number Diff line number Diff line change 3
3
> Remove selected attributes in each react element by selected conditions
4
4
5
5
[ ![ npm version] ( https://img.shields.io/npm/v/babel-plugin-transform-react-remove-prop.svg?style=flat-square )] ( https://www.npmjs.com/package/babel-plugin-transform-react-remove-prop ) [ ![ build status] ( https://travis-ci.org/maxsbelt/babel-plugin-transform-react-remove-prop.svg?branch=master )] ( https://travis-ci.org/maxsbelt/babel-plugin-transform-react-remove-prop ) [ ![ tested with jest] ( https://img.shields.io/badge/tested_with-jest-99424f.svg )] ( https://github.com/facebook/jest ) [ ![ Coverage Status] ( https://coveralls.io/repos/github/maxsbelt/babel-plugin-transform-react-remove-prop/badge.svg?branch=master )] ( https://coveralls.io/github/maxsbelt/babel-plugin-transform-react-remove-prop?branch=master )
6
- [ ![ Dependencies] ( https://img.shields.io/david/maxsbelt/babel-plugin-transform-react-remove-prop.svg )] ( https://david-dm.org/maxsbelt/babel-plugin-transform-react-remove-prop ) [ ![ DevDependencies] ( https://img.shields.io/david/dev/maxsbelt/babel-plugin-transform-react-remove-prop.svg )] ( https://david-dm.org/maxsbelt/babel-plugin-transform-react-remove-prop?type=dev )
6
+
7
+ [ ![ semantic-release] ( https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg )] ( https://github.com/semantic-release/semantic-release ) [ ![ Dependencies] ( https://img.shields.io/david/maxsbelt/babel-plugin-transform-react-remove-prop.svg )] ( https://david-dm.org/maxsbelt/babel-plugin-transform-react-remove-prop ) [ ![ DevDependencies] ( https://img.shields.io/david/dev/maxsbelt/babel-plugin-transform-react-remove-prop.svg )] ( https://david-dm.org/maxsbelt/babel-plugin-transform-react-remove-prop?type=dev )
7
8
8
9
## Install
9
10
Original file line number Diff line number Diff line change 22
22
"lint" : " eslint ." ,
23
23
"format" : " eslint --fix ." ,
24
24
"clean" : " rimraf lib coverage" ,
25
- "prepack" : " run-s clean format test build"
25
+ "prepack" : " run-s clean format test build" ,
26
+ "semantic-release" : " semantic-release"
26
27
},
27
28
"keywords" : [
28
29
" babel-plugin" ,
40
41
"husky" : " ^3.0.4" ,
41
42
"jest" : " ^24.9.0" ,
42
43
"npm-run-all" : " ^4.1.5" ,
43
- "rimraf" : " ^3.0.0"
44
+ "rimraf" : " ^3.0.0" ,
45
+ "semantic-release" : " ^15.13.24"
44
46
},
45
47
"husky" : {
46
48
"hooks" : {
You can’t perform that action at this time.
0 commit comments