Skip to content

Commit 2ed73e3

Browse files
committed
1 parent 81ee490 commit 2ed73e3

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,5 @@ assets/**/*.css
2626
build
2727
lib
2828
es
29-
coverage/
29+
coverage/
30+
yarn.lock

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ notifications:
66
email:
77
88
9+
910

1011
node_js:
1112
- 6.0.0

package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-progress",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "progress ui component for react",
55
"keywords": [
66
"react",
@@ -21,14 +21,22 @@
2121
"main": "lib/index",
2222
"module": "es/index",
2323
"files": [
24+
"dist",
2425
"lib",
25-
"assets",
26+
"assets/*.css",
2627
"es"
2728
],
2829
"config": {
29-
"port": 8000
30+
"port": 8000,
31+
"entry": {
32+
"rc-progress": [
33+
"./src/index.js",
34+
"./assets/index.less"
35+
]
36+
}
3037
},
3138
"scripts": {
39+
"dist": "rc-tools run dist",
3240
"build": "rc-tools run build",
3341
"gh-pages": "rc-tools run gh-pages",
3442
"start": "rc-tools run server",
@@ -54,7 +62,7 @@
5462
"lint"
5563
],
5664
"dependencies": {
57-
"babel-runtime": "^6.23.0",
65+
"babel-runtime": "6.x",
5866
"prop-types": "^15.5.8"
5967
}
6068
}

tests/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom';
33
import expect from 'expect.js';
4-
import { Line, Circle } from '../index.js';
4+
import { Line, Circle } from '../src/index.js';
55

66
describe('Progress', () => {
77
let div = null;

0 commit comments

Comments
 (0)