manifest format for Express.js app ?

8 views
Skip to first unread message

areo...@gmail.com

unread,
Mar 24, 2014, 12:14:28 PM3/24/14
to node-...@googlegroups.com
What is the correct way to write manifest for node webkit if I am using expressjs ?

Here is my example express.js package.json . I just add "node-main"  . what about "main" field ? 

{
  "name": "Hiren-ip",
  "version": "0.0.4",
  "private": true,
  "node-main": "app.js" ,
  "scripts": {
    "start": "node app.js"
  },
  "dependencies": {
    "express": "3.4.8",
    "string": "~1.5.1",
    "express3-handlebars": "^0.5.0"
  }
}

Anatoly Pashin

unread,
Mar 24, 2014, 7:18:28 PM3/24/14
to node-...@googlegroups.com
You'd better read this: https://github.com/rogerwang/node-webkit/wiki/about-node.js-server-side-script-in-node-webkit
Also, if you really to put expressjs server to node-webkit and then use node-webkit as browser for that (sure it's bad) — here is good article: http://habrahabr.ru/post/181670/ Sorry, it's on russian. Search for "main": "nw-start.html" string and look below.


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



--
Пашин Анатолий,
эникейщик.

Ashutosh Das

unread,
Mar 24, 2014, 9:01:22 PM3/24/14
to node-...@googlegroups.com
Thanks  :)


--
You received this message because you are subscribed to a topic in the Google Groups "node-webkit" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/node-webkit/wylO40UsKXE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to node-webkit...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages