Commit dbd5e17e authored by Lidan Hifi's avatar Lidan Hifi

fixed some babel issues

parent 8696167e
......@@ -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"
]
}
}
......@@ -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"]
}
}
"use strict";
let expect = require("chai").use(require("sinon-chai")).expect;
import proxyquire from "proxyquire";
import sinon from "sinon";
......
"use strict";
import { expect } from "chai";
import IOSNotification from "../notification.ios";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment