File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
# babel-plugin-transform-react-to-vue
2
2
3
- [ ![ NPM version] ( https://img.shields.io/npm/v/babel-plugin-transform-react-to-vue.svg?style=flat )] ( https://npmjs.com/package/babel-plugin-transform-react-to-vue ) [ ![ NPM downloads] ( https://img.shields.io/npm/dm/babel-plugin-transform-react-to-vue.svg?style=flat )] ( https://npmjs.com/package/babel-plugin-transform-react-to-vue ) [ ![ CircleCI] ( https://circleci.com/gh/vueact/babel-plugin-transform-react-to-vue/tree/master.svg?style=shield )] ( https://circleci.com/gh/vueact/babel-plugin-transform-react-to-vue/tree/master ) [ ![ donate] ( https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat )] ( https://github.com/egoist/donate )
3
+ [ ![ NPM version] ( https://img.shields.io/npm/v/babel-plugin-transform-react-to-vue.svg?style=flat )] ( https://npmjs.com/package/babel-plugin-transform-react-to-vue ) [ ![ NPM downloads] ( https://img.shields.io/npm/dm/babel-plugin-transform-react-to-vue.svg?style=flat )] ( https://npmjs.com/package/babel-plugin-transform-react-to-vue ) [ ![ CircleCI] ( https://circleci.com/gh/vueact/babel-plugin-transform-react-to-vue/tree/master.svg?style=shield )] ( https://circleci.com/gh/vueact/babel-plugin-transform-react-to-vue/tree/master ) [ ![ donate] ( https://img.shields.io/badge/$-donate-ff69b4.svg?maxAge=2592000&style=flat )] ( https://github.com/egoist/donate ) [ ![ codecov ] ( https://codecov.io/gh/vueact/babel-plugin-transform-react-to-vue/branch/master/graph/badge.svg )] ( https://codecov.io/gh/vueact/babel-plugin-transform-react-to-vue )
4
4
5
5
## Install
6
6
Original file line number Diff line number Diff line change 21
21
- ./node_modules
22
22
- run :
23
23
name : test
24
- command : yarn test
24
+ command : yarn test:cov
25
+ - run :
26
+ name : upload coverage
27
+ command : bash <(curl -s https://codecov.io/bash)
Original file line number Diff line number Diff line change 11
11
" index.js"
12
12
],
13
13
"scripts" : {
14
- "test" : " ava && npm run lint" ,
14
+ "test" : " npm run lint && ava" ,
15
+ "test:cov" : " npm run lint && npm run cov" ,
15
16
"lint" : " xo" ,
16
17
"cov" : " nyc --reporter=lcov ava"
17
18
},
You can’t perform that action at this time.
0 commit comments