diff --git a/bower.json b/scripts/bower.json similarity index 87% rename from bower.json rename to scripts/bower.json index 0ad72511e..4843ffdda 100644 --- a/bower.json +++ b/scripts/bower.json @@ -1,7 +1,10 @@ { "name": "ionic-native", "description": "Native plugin wrappers for Cordova and Ionic with TypeScript, ES6+, Promise and Observable support", - "main": "dist/ionic.native.js", + "main": [ + "ionic.native.js", + "ionic.native.min.js" + ], "authors": [ "Max Lynch " ], diff --git a/scripts/bower.sh b/scripts/bower.sh index 77e725410..cf70d3731 100644 --- a/scripts/bower.sh +++ b/scripts/bower.sh @@ -19,6 +19,7 @@ cp dist/ionic.native.js dist/ionic.native.min.js $DIR cd $DIR git init git remote add origin git@github.com:driftyco/ionic-native-bower.git +cp ../bower.json . git add . git commit -m "Bower release" git tag -f -m v$VERSION v$VERSION