Merge pull request #7 from EbookFoundation/staging

fix start command
pull/15/head
Theodore Kluge 2018-10-25 21:02:27 -04:00 committed by GitHub
commit df46a3e329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -21,8 +21,8 @@
"@sailshq/eslint": "^4.19.3" "@sailshq/eslint": "^4.19.3"
}, },
"scripts": { "scripts": {
"start": "forever start app.js", "start": "sudo NODE_ENV='production' forever start app.js",
"stop": "forever stopall", "stop": "sudo forever stopall",
"test": "npm run lint && npm run custom-tests && echo 'Done.'", "test": "npm run lint && npm run custom-tests && echo 'Done.'",
"lint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'", "lint": "eslint . --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'",
"custom-tests": "echo \"(No other custom tests yet.)\" && echo" "custom-tests": "echo \"(No other custom tests yet.)\" && echo"