]> git.immae.eu Git - github/fretlink/time-picker.git/commitdiff
deps: upgrade to react@16
authorafc163 <afc163@gmail.com>
Sun, 22 Oct 2017 09:03:20 +0000 (17:03 +0800)
committerafc163 <afc163@gmail.com>
Sun, 22 Oct 2017 09:03:20 +0000 (17:03 +0800)
package.json
tests/index.js

index 4bc945693509ca5a8254a84e9b1208faad9ecbda..eb7cddc691bc76c3fbe2a51e3edd75a05469ba0b 100644 (file)
     "port": 8011
   },
   "scripts": {
+    "dist": "rc-tools run dist",
     "build": "rc-tools run build",
     "gh-pages": "rc-tools run gh-pages",
     "start": "rc-tools run server",
     "compile": "rc-tools run compile --babel-runtime",
     "pub": "rc-tools run pub --babel-runtime",
     "lint": "rc-tools run lint",
+    "lint:fix": "rc-tools run lint --fix",
     "karma": "rc-test run karma",
     "saucelabs": "rc-test run saucelabs",
     "test": "rc-test run test",
     "coverage": "rc-test run coverage"
   },
   "devDependencies": {
+    "core-js": "^2.5.1",
     "async": "~0.9.0",
-    "bootstrap": "~3.3.2",
     "expect.js": "~0.3.1",
-    "jquery": "1.x",
     "pre-commit": "1.x",
     "rc-test": "^6.0.1",
     "rc-tools": "6.x",
     "rc-util": "^4.0.2",
-    "react": "15.x",
-    "react-dom": "15.x"
+    "react": "^16.0.0",
+    "react-dom": "^16.0.0"
   },
   "pre-commit": [
     "lint"
index 29008454e4ed4c22be44603d7fbe0c220a48e15f..05a1ce855f007e2b0139325a39f984e31da3cf5a 100644 (file)
@@ -1,3 +1,5 @@
+import 'core-js/es6/map';
+import 'core-js/es6/set';
 import '../assets/index.less';
 import './TimePicker.spec';
 import './Header.spec';