Skip to content

Commit caf5866

Browse files
committed
8.3.1
1 parent de3e5b0 commit caf5866

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-slider",
3-
"version": "8.3.0",
3+
"version": "8.3.1",
44
"description": "Slider UI component for React",
55
"keywords": [
66
"react",
@@ -25,18 +25,19 @@
2525
"license": "MIT",
2626
"main": "./lib/index.js",
2727
"module": "./es/index",
28-
"entry": {
29-
"rc-slider": [
30-
"./assets/index.less",
31-
"./src/index.js"
32-
]
33-
},
3428
"style": "./assets/index.css",
3529
"config": {
36-
"port": 8005
30+
"port": 8005,
31+
"entry": {
32+
"rc-slider": [
33+
"./assets/index.less",
34+
"./src/index.js"
35+
]
36+
}
3737
},
3838
"scripts": {
3939
"build": "rc-tools run build",
40+
"dist": "rc-tools run dist",
4041
"gh-pages": "rc-tools run gh-pages",
4142
"start": "rc-tools run server",
4243
"compile": "rc-tools run compile --babel-runtime",

tests/common/createSlider.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable max-len, no-undef */
22
import React from 'react';
33
import { mount } from 'enzyme';
4-
import Slider from '../..';
4+
import Slider from '../../src';
55
const { Range } = Slider;
66

77
const setWidth = (object, width) => {

tests/common/marks.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable max-len, no-undef */
22
import React from 'react';
33
import { mount } from 'enzyme';
4-
import Slider from '../..';
4+
import Slider from '../../src';
55
const { Range } = Slider;
66

77
describe('marks', () => {

0 commit comments

Comments
 (0)