Skip to content

Commit a81e9b5

Browse files
committed
React update and dependencies fix
1 parent 8d12cfd commit a81e9b5

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-css-themr",
33
"description": "React CSS Themr",
44
"homepage": "https://github.com/javivelasco/react-css-themr#readme",
5-
"version": "2.1.2",
5+
"version": "2.2.0",
66
"main": "./lib",
77
"author": {
88
"email": "javier.velasco86@gmail.com",
@@ -25,7 +25,9 @@
2525
],
2626
"dependencies": {
2727
"hoist-non-react-statics": "^1.2.0",
28-
"invariant": "^2.2.1"
28+
"invariant": "^2.2.1",
29+
"rimraf": "^2.6.1",
30+
"prop-types": "^15.6.2"
2931
},
3032
"devDependencies": {
3133
"@types/react": "^15.0.24",
@@ -45,9 +47,8 @@
4547
"jsdom": "^9.8.3",
4648
"mocha": "^3.3.0",
4749
"prop-types": "^15.5.9",
48-
"react": "^15.5.4",
49-
"react-dom": "^15.5.4",
50-
"rimraf": "^2.6.1",
50+
"react": "^16.4.1",
51+
"react-dom": "^16.4.1",
5152
"sinon": "^1.17.6"
5253
},
5354
"files": [
@@ -56,15 +57,16 @@
5657
"src"
5758
],
5859
"scripts": {
59-
"build": "babel src --out-dir lib",
60+
"build": "./node_modules/.bin/babel src --out-dir lib",
6061
"lint": "eslint src test",
6162
"prepublish": "rimraf lib && npm run build",
63+
"postinstall": "./node_modules/.bin/rimraf lib && npm run build",
6264
"test": "mocha --compilers js:babel-core/register --recursive --reporter spec --require ./test/setup.js",
6365
"test:watch": "npm test -- --watch"
6466
},
6567
"license": "MIT",
6668
"peerDependencies": {
67-
"react": "^0.14.0 || ^15.0.0-0"
69+
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0"
6870
},
6971
"typings": "./index.d.ts"
7072
}

0 commit comments

Comments
 (0)