mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
move www.js to lib
it's not a binary, why is this in bin?
This commit is contained in:
parent
2cb197a717
commit
2780ae05d3
@ -22,7 +22,7 @@
|
|||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "cp 'lib/config.example.js' 'lib/config.js'",
|
"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"
|
"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": {
|
"engines": {
|
||||||
|
|||||||
@ -108,6 +108,6 @@ exp.close = function(callback) {
|
|||||||
module.exports = exp;
|
module.exports = exp;
|
||||||
|
|
||||||
if (require.main === module) {
|
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);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user