diff --git a/README.md b/README.md index 3e5a6e5..c4c15a6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ +( +just a repackaging so that it will work with npm + +``` +npm install cron-ui +CronUI = require 'cron-ui' +``` +) + # Cron UI CronUI provides a simple easy-to-use form for users to specify recurrent events, translated to cron strings. @@ -29,4 +38,4 @@ These are the possible combinations so far: - Every day : ? ? * * * - Every week : ? ? * * ? - Every month : ? ? ? * * -- Every year : ? ? ? ? * \ No newline at end of file +- Every year : ? ? ? ? * diff --git a/lib/cron-ui.js b/lib/cron-ui.js index 7eec5ee..c50b4d6 100644 --- a/lib/cron-ui.js +++ b/lib/cron-ui.js @@ -304,3 +304,4 @@ CronUI.getCronType = function(cronString) { return undefined; }; +module.exports = CronUI diff --git a/package.json b/package.json new file mode 100644 index 0000000..761b6d9 --- /dev/null +++ b/package.json @@ -0,0 +1,30 @@ +{ + "name": "cron-ui", + "version": "1.0.3", + "description": "CronUI provides a simple easy-to-use form for users to specify recurrent events, translated to cron strings.", + "main": "./lib/cron-ui.js", + "directories": { + "lib": "lib", + "test": "tests" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/mikeymckay/CronUI.git" + }, + "keywords": [ + "cron", + "gui", + "scheduler", + "crontab", + "build" + ], + "author": "@shawnchin @snird @mikeymckay", + "license": "ISC", + "bugs": { + "url": "https://github.com/mikeymckay/CronUI/issues" + }, + "homepage": "https://github.com/mikeymckay/CronUI#readme" +}