Initial npm plugin support

This commit is contained in:
Grant Benvenuti 2015-05-20 13:54:47 +10:00
parent 4c86a0d8c6
commit 503a380624
3 changed files with 35 additions and 3 deletions

32
package.json Normal file
View File

@ -0,0 +1,32 @@
{
"name": "cordova-plugin-screen-orientaion",
"version": "1.3.5",
"description": "Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8 and BB10.",
"repository": {
"type": "git",
"url": "git+https://github.com/gbenvenuti/cordova-plugin-screen-orientation.git"
},
"cordova": {
"id": "cordova-plugin-screen-orientaion",
"platforms": [
"android",
"ios",
"wp8"
]
},
"keywords": [
"cordova",
"device",
"ecosystem:cordova",
"screen",
"orientation",
"portrait",
"landscape"
],
"author": "gbenvenuti",
"license": "MIT",
"bugs": {
"url": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation/issues"
},
"homepage": "https://github.com/gbenvenuti/cordova-plugin-screen-orientation#readme"
}

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="net.yoik.cordova.plugins.screenorientation"
version="1.3.4">
id="cordova-plugin-screen-orientation"
version="1.3.5">
<name>Screen Orientation</name>
<description>Adds Screen Orientation API lock and unlock functions to the global screen object in android, iOS, WP8 and BB10.</description>
@ -30,7 +30,7 @@
</platform>
<platform name="android">
<source-file src="src/android/net/yoik/cordova/plugins/screenorientation/YoikScreenOrientation.java" target-dir="src/net/yoik/cordova/plugins/screenorientation/" />
<source-file src="src/android/YoikScreenOrientation.java" target-dir="src/net/yoik/cordova/plugins/screenorientation/" />
<config-file target="res/xml/config.xml" parent="/*">
<feature name="YoikScreenOrientation">