diff --git a/README.md b/README.md index 7a8b9fe..c54ffdb 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,12 @@ Then you can compile and install the module node-waf configure build install ```` +Or simply + +```` +npm install gui +```` + On Windows ---------- diff --git a/package.json b/package.json index f387c83..d444356 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ , "repository" : { "type" : "git" , "url" : "https://github.com/zcbenz/node-gui.git" } , "bugs" : { "web" : "https://github.com/zcbenz/node-gui/issues" } +, "scripts" : { "preinstall" : "node-waf configure", + "install" : "node-waf build install" + } , "os" : [ "linux" , "darwin" , "freebsd"