Skip to content

Commit af9ff9c

Browse files
committed
provide dist files
1 parent b015ebb commit af9ff9c

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ node_modules
2121
.cache
2222
*.css
2323
build
24-
lib
24+
lib
25+
dist

package.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-queue-anim",
3-
"version": "0.13.0",
3+
"version": "0.13.1",
44
"description": "Queue animation component for react",
55
"keywords": [
66
"react",
@@ -19,18 +19,25 @@
1919
},
2020
"files": [
2121
"lib",
22-
"assets/*.css"
22+
"assets/*.css",
23+
"dist"
2324
],
2425
"licenses": "MIT",
2526
"main": "./lib/index",
27+
"entry": {
28+
"rc-queue-anim": [
29+
"./src/index.js",
30+
"./assets/index.less"
31+
]
32+
},
2633
"config": {
2734
"port": 8001
2835
},
2936
"scripts": {
3037
"build": "rc-tools run build",
3138
"gh-pages": "rc-tools run gh-pages",
3239
"start": "rc-tools run server",
33-
"pub": "rc-tools run pub",
40+
"pub": "rc-tools run pub --babel-runtime",
3441
"lint": "rc-tools run lint",
3542
"karma": "rc-tools run karma",
3643
"saucelabs": "rc-tools run saucelabs",
@@ -54,6 +61,7 @@
5461
"lint"
5562
],
5663
"dependencies": {
64+
"babel-runtime": "6.x",
5765
"velocity-animate": "~1.3.1"
5866
}
5967
}

0 commit comments

Comments
 (0)