diff --git a/example/package.json b/example/package.json index 67d6b4d7dcb6d435304cb198d1148bd0ef6f4f07..b1e9f9cf046446f0dfdf5192ad6cba9a5aa74ba5 100644 --- a/example/package.json +++ b/example/package.json @@ -9,15 +9,5 @@ "react": "^0.14.7", "react-native": "^0.22.2", "react-native-notifications": "../" - }, - "devDependencies": { - "babel-preset-react-native": "^1.5.6", - "babel-preset-stage-1": "^6.5.0" - }, - "babel": { - "presets": [ - "react-native", - "stage-1" - ] } } diff --git a/package.json b/package.json index 86cb15529c1de86d008d1f8cea7c459bd72ecbd2..8b4b865d96727cb0815f5df3242239f0681fea0a 100644 --- a/package.json +++ b/package.json @@ -24,9 +24,7 @@ }, "devDependencies": { "babel-eslint": "^6.0.2", - "babel-plugin-transform-class-properties": "^6.6.0", - "babel-preset-es2015": "^6.6.0", - "babel-preset-react": "^6.5.0", + "babel-preset-react-native": "^1.5.6", "babel-register": "^6.7.2", "chai": "^3.5.0", "chokidar-cli": "^1.2.0", @@ -54,12 +52,6 @@ }, "main": "index.ios.js", "babel": { - "presets": [ - "es2015", - "react" - ], - "plugins": [ - "transform-class-properties" - ] + "presets": ["react-native"] } } diff --git a/test/index.ios.spec.js b/test/index.ios.spec.js index 39ce2094a2c7b736075f4efb15f61ff6d1ca5b61..ec520c585a93da7fcb12b32912a247a536f162d8 100644 --- a/test/index.ios.spec.js +++ b/test/index.ios.spec.js @@ -1,3 +1,4 @@ +"use strict"; let expect = require("chai").use(require("sinon-chai")).expect; import proxyquire from "proxyquire"; import sinon from "sinon"; diff --git a/test/notification.ios.spec.js b/test/notification.ios.spec.js index 18d88bf10b3edde4008be239f844442e0e467be5..660b729da63afbbf365747bc7e6cad873f39c9db 100644 --- a/test/notification.ios.spec.js +++ b/test/notification.ios.spec.js @@ -1,3 +1,4 @@ +"use strict"; import { expect } from "chai"; import IOSNotification from "../notification.ios";