Browse Source

adding crontab-ui to npm

v0.1.0
Suresh Alse 10 years ago
parent
commit
fc2a567cac
  1. 6
      README.md
  2. 2
      app.js
  3. 3
      bin/crontab-ui.js
  4. 5
      package.json

6
README.md

@ -14,10 +14,8 @@ Read [this](http://lifepluslinux.blogspot.in/2015/06/crontab-ui-easy-and-safe-wa
##Setup ##Setup
git clone https://github.com/alseambusher/crontab-ui npm install crontab-ui
cd crontab-ui crontab-ui
npm install
node app.js
###TODO ###TODO

2
app.js

@ -132,5 +132,5 @@ app.get(routes.import_crontab, function(req, res) {
}) })
app.listen(app.get('port'), function() { app.listen(app.get('port'), function() {
console.log("Crontab UI is running at localhost:" + app.get('port')) console.log("Crontab UI is running at localhost:" + app.get('port'))
}) })

3
bin/crontab-ui.js

@ -0,0 +1,3 @@
#!/usr/bin/env node
var crontab = require('../app.js');

5
package.json

@ -4,7 +4,7 @@
"description": "Easy and safe way to manage your crontab file", "description": "Easy and safe way to manage your crontab file",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "node index.js" "start": "node app.js"
}, },
"dependencies": { "dependencies": {
"express": "latest", "express": "latest",
@ -17,6 +17,9 @@
}, },
"engines": { "engines": {
"node": "latest" "node": "latest"
},
"bin": {
"crontab-ui": "bin/crontab-ui.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",

Loading…
Cancel
Save