Permalink
Browse files

minor

  • Loading branch information...
1 parent deac2d4 commit d67a0cfcec061357daeb056a7f3c6e2c35d5fdc8 @jfromaniello committed Apr 5, 2012
Showing with 6 additions and 2 deletions.
  1. +1 −1 bin/winser
  2. +3 −1 package.json
  3. +2 −0 readme.md
View
2 bin/winser
@@ -51,7 +51,7 @@ sequence
})
.then(function(next, err, pkg, npmLocation){
if(program.install){
- exec("{binfolder}\\nssm.exe install {serviceName} {npmLocation} start {appFolder}".supplant({
+ exec("{binfolder}\\nssm.exe install {serviceName} \"{npmLocation}\" start \"{appFolder}\"".supplant({
binfolder: __dirname,
serviceName: pkg.name,
npmLocation: npmLocation,
View
4 package.json
@@ -8,5 +8,7 @@
},
"scripts": {
"start" : "node server123.js"
- }
+ },
+ "bin": { "winser": "./bin/winser" },
+ "engines" : { "node" : ">=0.6.13" }
}
View
2 readme.md
@@ -7,6 +7,8 @@
$ npm install winser
+Warning: you need node v0.6.11 or above and this package only will works on win32 platforms.
+
## Package.json
Add these two scripts to your package.json:

0 comments on commit d67a0cf

Please sign in to comment.