chore(build): convert dependencies to peer dependencies

This commit is contained in:
Ibby
2017-02-13 14:31:41 -05:00
parent 1fe1cd6f75
commit 1dfdbaf1f0
2 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ const addPluginToQueue = pluginName => {
const packageJson = JSON.parse(JSON.stringify(PLUGIN_PACKAGE_JSON));
packageJson.name = `@ionic-native/${pluginName}`;
packageJson.version = packageJson.dependencies['@ionic-native/core'] = VERSION;
packageJson.version = packageJson.peerDependencies['@ionic-native/core'] = VERSION;
if (postinstall) {
// add postinstall script
+2 -4
View File
@@ -6,11 +6,9 @@
"typings": "index.d.ts",
"author": "ionic",
"license": "MIT",
"dependencies": {
"@angular/core": "2.2.1",
"@ionic-native/core": "{{VERSION}}"
},
"peerDependencies": {
"@angular/core": "2.2.1",
"@ionic-native/core": "{{VERSION}}",
"rxjs": "5.0.0-beta.12"
},
"repository": {