move www.js to lib

it's not a binary, why is this in bin?
This commit is contained in:
jomo 2015-03-27 09:50:54 +01:00
parent 2cb197a717
commit 2780ae05d3
3 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
],
"scripts": {
"postinstall": "cp 'lib/config.example.js' 'lib/config.js'",
"start": "forever -l logs/log.log -o logs/out.log -e logs/error.log -p ./ -a --minUptime 8000 --spinSleepTime 1500 bin/www.js",
"start": "forever -l logs/log.log -o logs/out.log -e logs/error.log -p ./ -a --minUptime 8000 --spinSleepTime 1500 lib/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"
},
"engines": {

View File

@ -108,6 +108,6 @@ exp.close = function(callback) {
module.exports = exp;
if (require.main === module) {
logging.error("Please use 'npm start' or 'bin/www.js'");
logging.error("Please use 'npm start' or 'lib/www.js'");
process.exit(1);
}