I am uploading my folder(nodejs) on heroku and I want a few things in 
particular order.

npm install -> bower install -> npm link -> myCli some-argument


myCli: my own private module.

{
  "name": "myapp",
  "version": "0.0.0",
  "description": "blah blah",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "start": "node index.js",    // THE MAIN FILE
    "postinstall": "bower install"
  },
  "repository": {
    "type": "git"
  },
  "author": "me",
  "license": "BSD-2-Clause",
  "preferGlobal": true,
  "bin": {
    "myCli": "init.js"      // THE CLI I WANT TO USE
  },
  "dependencies": {
    "body-parser": "*",
    "bower": "^1.4.1",
    "cookie-parser": "^1.3.5",
    "express": "*",
    "express-session": "^1.11.3",
    "mongojs": "*"
  }
}

https://gist.github.com/kshirish/7efef781fa3678a36590

Do tell me if you need anymore info?

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Heroku Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to