diff options
-rw-r--r-- | package.json | 9 | ||||
-rw-r--r-- | tests/index.js | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/package.json b/package.json index 4bc9456..eb7cddc 100644 --- a/package.json +++ b/package.json | |||
@@ -33,12 +33,14 @@ | |||
33 | "port": 8011 | 33 | "port": 8011 |
34 | }, | 34 | }, |
35 | "scripts": { | 35 | "scripts": { |
36 | "dist": "rc-tools run dist", | ||
36 | "build": "rc-tools run build", | 37 | "build": "rc-tools run build", |
37 | "gh-pages": "rc-tools run gh-pages", | 38 | "gh-pages": "rc-tools run gh-pages", |
38 | "start": "rc-tools run server", | 39 | "start": "rc-tools run server", |
39 | "compile": "rc-tools run compile --babel-runtime", | 40 | "compile": "rc-tools run compile --babel-runtime", |
40 | "pub": "rc-tools run pub --babel-runtime", | 41 | "pub": "rc-tools run pub --babel-runtime", |
41 | "lint": "rc-tools run lint", | 42 | "lint": "rc-tools run lint", |
43 | "lint:fix": "rc-tools run lint --fix", | ||
42 | "karma": "rc-test run karma", | 44 | "karma": "rc-test run karma", |
43 | "saucelabs": "rc-test run saucelabs", | 45 | "saucelabs": "rc-test run saucelabs", |
44 | "test": "rc-test run test", | 46 | "test": "rc-test run test", |
@@ -46,16 +48,15 @@ | |||
46 | "coverage": "rc-test run coverage" | 48 | "coverage": "rc-test run coverage" |
47 | }, | 49 | }, |
48 | "devDependencies": { | 50 | "devDependencies": { |
51 | "core-js": "^2.5.1", | ||
49 | "async": "~0.9.0", | 52 | "async": "~0.9.0", |
50 | "bootstrap": "~3.3.2", | ||
51 | "expect.js": "~0.3.1", | 53 | "expect.js": "~0.3.1", |
52 | "jquery": "1.x", | ||
53 | "pre-commit": "1.x", | 54 | "pre-commit": "1.x", |
54 | "rc-test": "^6.0.1", | 55 | "rc-test": "^6.0.1", |
55 | "rc-tools": "6.x", | 56 | "rc-tools": "6.x", |
56 | "rc-util": "^4.0.2", | 57 | "rc-util": "^4.0.2", |
57 | "react": "15.x", | 58 | "react": "^16.0.0", |
58 | "react-dom": "15.x" | 59 | "react-dom": "^16.0.0" |
59 | }, | 60 | }, |
60 | "pre-commit": [ | 61 | "pre-commit": [ |
61 | "lint" | 62 | "lint" |
diff --git a/tests/index.js b/tests/index.js index 2900845..05a1ce8 100644 --- a/tests/index.js +++ b/tests/index.js | |||
@@ -1,3 +1,5 @@ | |||
1 | import 'core-js/es6/map'; | ||
2 | import 'core-js/es6/set'; | ||
1 | import '../assets/index.less'; | 3 | import '../assets/index.less'; |
2 | import './TimePicker.spec'; | 4 | import './TimePicker.spec'; |
3 | import './Header.spec'; | 5 | import './Header.spec'; |