aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorafc163 <afc163@gmail.com>2017-10-22 17:03:20 +0800
committerafc163 <afc163@gmail.com>2017-10-22 17:03:20 +0800
commitfd231e087cdf327826297e58c5b4a8a895ec9e40 (patch)
treed836bf77276a8f746af19791581daa14c956de3d
parent81cdb7024e669b0c2c8cc1911776d47683e3500d (diff)
downloadtime-picker-fd231e087cdf327826297e58c5b4a8a895ec9e40.tar.gz
time-picker-fd231e087cdf327826297e58c5b4a8a895ec9e40.tar.zst
time-picker-fd231e087cdf327826297e58c5b4a8a895ec9e40.zip
deps: upgrade to react@16
-rw-r--r--package.json9
-rw-r--r--tests/index.js2
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 @@
1import 'core-js/es6/map';
2import 'core-js/es6/set';
1import '../assets/index.less'; 3import '../assets/index.less';
2import './TimePicker.spec'; 4import './TimePicker.spec';
3import './Header.spec'; 5import './Header.spec';