From 2b5e3206e8e118f1a1695cd4b589498a011d18a8 Mon Sep 17 00:00:00 2001 From: James Lewis Date: Sun, 5 Feb 2017 14:18:23 -0500 Subject: [PATCH] chore: update react packages --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 17bf851..ef9ab68 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ }, "main": "index.js", "scripts": { - "test": "node_modules/karma/bin/karma start karma.conf.js", - "prepublish": "mkdir dist; node_modules/babel/bin/babel.js src/decompiler.js --out-file dist/decompiler.js; node_modules/babel/bin/babel.js src/stringify-object.js --out-file dist/stringify-object.js" + "test": "karma start karma.conf.js", + "prepublish": "mkdir dist && babel src/decompiler.js --out-file dist/decompiler.js && babel src/stringify-object.js --out-file dist/stringify-object.js" }, "author": { "name": "Rogério Chaves", @@ -27,13 +27,14 @@ "karma-phantomjs-launcher": "*", "phantomjs": "^1.9.18", "phantomjs-polyfill": "0.0.1", - "react": "^0.14.1" + "react": "^15.4.2", + "react-dom": "^15.4.2" }, "dependencies": { "is-plain-obj": "^1.0.0", "is-regexp": "^1.0.0", "js-beautify": "^1.5.10", "object-assign": "^4.0.1", - "react-addons-test-utils": "^0.14.1" + "react-addons-test-utils": "^15.4.2" } }