use postinstall script instead of Procfile

https://docs.npmjs.com/misc/scripts
This commit is contained in:
jomo 2015-01-10 03:20:34 +01:00
parent 7021bdb606
commit 5f0a3dcb63
2 changed files with 2 additions and 1 deletions

View File

@ -1 +1 @@
web: cp "modules/config.example.js" "modules/config.js" && npm start
web: npm start

View File

@ -21,6 +21,7 @@
"avatar"
],
"scripts": {
"postinstall": "cp 'modules/config.example.js' 'modules/config.js'",
"start": "node bin/www.js",
"test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},