Last active
July 16, 2017 03:11
-
-
Save danielolivaresd/fbf0c05742870ee21810d55e7ba0b9c4 to your computer and use it in GitHub Desktop.
Ionic Native new plugin testing workflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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