File tree 3 files changed +11
-10
lines changed 3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rc-slider" ,
3
- "version" : " 8.3.0 " ,
3
+ "version" : " 8.3.1 " ,
4
4
"description" : " Slider UI component for React" ,
5
5
"keywords" : [
6
6
" react" ,
25
25
"license" : " MIT" ,
26
26
"main" : " ./lib/index.js" ,
27
27
"module" : " ./es/index" ,
28
- "entry" : {
29
- "rc-slider" : [
30
- " ./assets/index.less" ,
31
- " ./src/index.js"
32
- ]
33
- },
34
28
"style" : " ./assets/index.css" ,
35
29
"config" : {
36
- "port" : 8005
30
+ "port" : 8005 ,
31
+ "entry" : {
32
+ "rc-slider" : [
33
+ " ./assets/index.less" ,
34
+ " ./src/index.js"
35
+ ]
36
+ }
37
37
},
38
38
"scripts" : {
39
39
"build" : " rc-tools run build" ,
40
+ "dist" : " rc-tools run dist" ,
40
41
"gh-pages" : " rc-tools run gh-pages" ,
41
42
"start" : " rc-tools run server" ,
42
43
"compile" : " rc-tools run compile --babel-runtime" ,
Original file line number Diff line number Diff line change 1
1
/* eslint-disable max-len, no-undef */
2
2
import React from 'react' ;
3
3
import { mount } from 'enzyme' ;
4
- import Slider from '../..' ;
4
+ import Slider from '../../src ' ;
5
5
const { Range } = Slider ;
6
6
7
7
const setWidth = ( object , width ) => {
Original file line number Diff line number Diff line change 1
1
/* eslint-disable max-len, no-undef */
2
2
import React from 'react' ;
3
3
import { mount } from 'enzyme' ;
4
- import Slider from '../..' ;
4
+ import Slider from '../../src ' ;
5
5
const { Range } = Slider ;
6
6
7
7
describe ( 'marks' , ( ) => {
You can’t perform that action at this time.
0 commit comments