Skip to content

Commit

Permalink
UPdate package.json and plugin.xml to support npm
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Evans committed Jan 24, 2017
1 parent de1267a commit 9cc1d31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 47 deletions.
26 changes: 6 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
{
"name": "de.appplant.cordova.plugin.local-notification",
"cordova_name": "Cordova LocalNotification Plugin",
"name": "fsr-plugin-localnotification",
"version": "0.8.4",
"description": "Schedules and queries for local notifications",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/katzer/cordova-plugin-local-notifications.git"
"url": "https://github.com/jbyrdevans/fsr-plugin-local-notifications.git"
},
"keywords": [
"appplant",
"fsr",
"notification",
"local notification",
"cordova",
"ecosystem:cordova",
"cordova-android",
"cordova-ios",
"cordova-windows"
"cordova-ios"
],
"platforms": [
"ios",
"android",
"windows"
"android"
],
"engines": [
{
Expand All @@ -33,20 +27,12 @@
{
"name": "cordova-plugman",
"version": ">=4.3.0"
},
{
"name": "cordova-windows",
"version": ">=4.2.0"
}
],
"dependencies": {
"cordova-plugin-device": "*",
"cordova-plugin-app-event": ">=1.1.0"
},
"author": "Sebastián Katzer",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/katzer/cordova-plugin-local-notifications/issues"
},
"homepage": "https://github.com/katzer/cordova-plugin-local-notifications#readme"
"license": "Apache-2.0"
}
30 changes: 3 additions & 27 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="de.appplant.cordova.plugin.local-notification"
id="fsr-plugin-localnotification"
version="0.8.4">

<name>LocalNotification</name>

<description>The plugin supports scheduling local notifications in various ways with a single interface. It also allows you to update, clear or cancel them. There are different interfaces to query for local notifications and a complete set of events to hook into the life cycle of local notifications. To get a deep overview we recommend to read about all the topics in our wiki and try out the Kitchen Sink App</description>

<repo>https://github.com/katzer/cordova-plugin-local-notifications.git</repo>
<repo>https://github.com/jbyrdevans/fsr-plugin-local-notifications</repo>

<keywords>appplant, notification, local notification</keywords>
<keywords>fsr, notification, local notification</keywords>

<license>Apache 2.0</license>

Expand All @@ -20,9 +20,6 @@
<!-- cordova -->
<engines>
<engine name="cordova" version=">=3.6.0" />
<!-- TODO next version: Probably I meant cordova-lib -->
<!-- <engine name="cordova-plugman" version=">=4.3.0" /> -->
<engine name="cordova-windows" version=">=4.2.0" />
</engines>

<!-- dependencies -->
Expand Down Expand Up @@ -201,25 +198,4 @@

</platform>

<!-- windows -->
<platform name="windows">

<config-file target="config.xml" parent="/*" >
<preference name="WindowsToastCapable" value="true" />
</config-file>

<js-module src="src/windows/LocalNotificationProxy.js" name="LocalNotification.Proxy" >
<merges target="" />
</js-module>

<js-module src="src/windows/LocalNotificationCore.js" name="LocalNotification.Proxy.Core" >
<merges target="" />
</js-module>

<js-module src="src/windows/LocalNotificationUtil.js" name="LocalNotification.Proxy.Util" >
<merges target="" />
</js-module>

</platform>

</plugin>

0 comments on commit 9cc1d31

Please sign in to comment.