Skip to content

Commit 89c976b

Browse files
committed
chore(pkg): Upgrade deps & support React 16
1 parent 3cf27f0 commit 89c976b

File tree

4 files changed

+386
-349
lines changed

4 files changed

+386
-349
lines changed

.eslintrc

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
"browser": true,
2525
"node": true
2626
},
27-
"ecmaFeatures": {
28-
"jsx": true
29-
},
3027
"globals": {
3128
// For Flow
3229
"ReactElement",

.flowconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[version]
2-
0.54.0
2+
0.55.0
33

44
[ignore]
55
.*/node_modules/babel.*

package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -35,32 +35,32 @@
3535
"devDependencies": {
3636
"babel-cli": "^6.26.0",
3737
"babel-core": "^6.26.0",
38-
"babel-eslint": "^7.2.3",
38+
"babel-eslint": "^8.0.1",
3939
"babel-loader": "^7.1.2",
4040
"babel-plugin-transform-class-properties": "^6.24.1",
4141
"babel-plugin-transform-object-rest-spread": "^6.26.0",
4242
"babel-preset-es2015": "^6.24.1",
4343
"babel-preset-react": "^6.24.1",
4444
"cross-env": "^5.0.5",
4545
"css-loader": "^0.28.7",
46-
"eslint": "^4.6.1",
47-
"eslint-plugin-react": "^7.3.0",
48-
"flow-bin": "^0.54.0",
46+
"eslint": "^4.7.2",
47+
"eslint-plugin-react": "^7.4.0",
48+
"flow-bin": "^0.55.0",
4949
"lodash": "^4.3.0",
5050
"pre-commit": "^1.1.2",
51-
"react": "^15.6.1",
52-
"react-dom": "^15.6.1",
51+
"react": "^16.0.0",
52+
"react-dom": "^16.0.0",
5353
"style-loader": "^0.18.2",
54-
"webpack": "^3.5.5",
55-
"webpack-dev-server": "^2.7.1"
54+
"webpack": "^3.6.0",
55+
"webpack-dev-server": "^2.8.2"
5656
},
5757
"dependencies": {
58-
"prop-types": "^15.5.8",
58+
"prop-types": "15.x",
5959
"react-draggable": "^2.2.6 || ^3.0.3"
6060
},
6161
"peerDependencies": {
62-
"react": "^0.14.0 || ^15.0.0",
63-
"react-dom": "^0.14.0 || ^15.0.0"
62+
"react": "0.14.x || 15.x || 16.x",
63+
"react-dom": "0.14.x || 15.x || 16.x"
6464
},
6565
"publishConfig": {
6666
"registry": "https://registry.npmjs.org"

0 commit comments

Comments
 (0)