Skip to content

Commit dd53b4c

Browse files
authored
Remove babel runtime (#191)
* remove babel-runtime * update README.md
1 parent d1d0bda commit dd53b4c

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,27 @@ react dialog component
66
[![NPM version][npm-image]][npm-url]
77
[![build status][travis-image]][travis-url]
88
[![Test coverage][coveralls-image]][coveralls-url]
9-
[![gemnasium deps][gemnasium-image]][gemnasium-url]
9+
[![Dependencies][david-image]][david-url]
10+
[![DevDependencies][david-dev-image]][david-dev-url]
1011
[![npm download][download-image]][download-url]
12+
[![bundle size][bundlephobia-image]][bundlephobia-url]
1113

1214
[npm-image]: http://img.shields.io/npm/v/rc-dialog.svg?style=flat-square
1315
[npm-url]: http://npmjs.org/package/rc-dialog
14-
[travis-image]: https://img.shields.io/travis/react-component/dialog.svg?style=flat-square
16+
[travis-image]: https://img.shields.io/travis/react-component/dialog/master?style=flat-square
1517
[travis-url]: https://travis-ci.org/react-component/dialog
18+
[circleci-image]: https://img.shields.io/circleci/react-component/dialog/master?style=flat-square
19+
[circleci-url]: https://circleci.com/gh/react-component/dialog
1620
[coveralls-image]: https://img.shields.io/coveralls/react-component/dialog.svg?style=flat-square
1721
[coveralls-url]: https://coveralls.io/r/react-component/dialog?branch=master
18-
[gemnasium-image]: http://img.shields.io/gemnasium/react-component/dialog.svg?style=flat-square
19-
[gemnasium-url]: https://gemnasium.com/react-component/dialog
20-
[node-image]: https://img.shields.io/badge/node.js-%3E=_0.10-green.svg?style=flat-square
21-
[node-url]: http://nodejs.org/download/
22+
[david-url]: https://david-dm.org/react-component/dialog
23+
[david-image]: https://david-dm.org/react-component/dialog/status.svg?style=flat-square
24+
[david-dev-url]: https://david-dm.org/react-component/dialog?type=dev
25+
[david-dev-image]: https://david-dm.org/react-component/dialog/dev-status.svg?style=flat-square
2226
[download-image]: https://img.shields.io/npm/dm/rc-dialog.svg?style=flat-square
2327
[download-url]: https://npmjs.org/package/rc-dialog
28+
[bundlephobia-url]: https://bundlephobia.com/result?p=rc-dialog
29+
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-dialog
2430

2531
## Screenshot
2632

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"dist": "rc-tools run dist",
4747
"gh-pages": "rc-tools run gh-pages",
4848
"start": "rc-tools run server",
49-
"compile": "rc-tools run compile --babel-runtime",
50-
"pub": "rc-tools run pub --babel-runtime",
49+
"compile": "rc-tools run compile",
50+
"pub": "rc-tools run pub",
5151
"lint": "rc-tools run lint --no-js-lint",
5252
"lint:ts": "tsc",
5353
"karma": "rc-test run karma",
@@ -79,7 +79,6 @@
7979
],
8080
"typings": "./lib/DialogWrap.d.ts",
8181
"dependencies": {
82-
"babel-runtime": "6.x",
8382
"rc-animate": "3.x",
8483
"rc-util": "^5.0.1"
8584
}

0 commit comments

Comments
 (0)