Skip to content

Instantly share code, notes, and snippets.

@danielolivaresd
Last active July 16, 2017 03:11
Show Gist options
  • Save danielolivaresd/fbf0c05742870ee21810d55e7ba0b9c4 to your computer and use it in GitHub Desktop.
Save danielolivaresd/fbf0c05742870ee21810d55e7ba0b9c4 to your computer and use it in GitHub Desktop.
Ionic Native new plugin testing workflow
npm i -g npm-install-peers
# in your local ionic-native fork
cd ionic-native
npm run build
cp -r dist/@ionic-native/plugin-name ../my-app/node_modules/@ionic-native/
cd dist/@ionic-native/plugin-name
npm-install-peers
npm link
# in your testing app
cd ~/testing-app
npm link @ionic-native/plugin-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment