mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-07-16 00:00:04 +08:00
chore(build): convert dependencies to peer dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user