summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaxime Quandalle <mquandalle@wekan.io>2016-07-20 22:15:01 +0200
committerMaxime Quandalle <mquandalle@wekan.io>2016-07-20 22:21:41 +0200
commitc8705a0fdcae2f269808d697b0176cfebdf9799a (patch)
treeb9e5ca355d46ddf5d61d3606a036a63588c0df89
parent1f3015bd2c03b0735f30ad8a695293cf1788df45 (diff)
downloadwekan-c8705a0fdcae2f269808d697b0176cfebdf9799a.tar.gz
wekan-c8705a0fdcae2f269808d697b0176cfebdf9799a.tar.bz2
wekan-c8705a0fdcae2f269808d697b0176cfebdf9799a.zip
Clean NPM scripts output
I've just discovered that the reason NPM outputs a giant "npm ERR!" message asking to contact the author of the library and suggesting that it’s most likely “not a problem with npm itself” when I run "npm run lint" and I forgot a semicolon is because the return code of an NPM script has to be 0. So this commit adds "exit 0;" at the end of the NPM commands.
-rw-r--r--package.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/package.json b/package.json
index cc0b7524..3cfc7c60 100644
--- a/package.json
+++ b/package.json
@@ -1,11 +1,11 @@
{
- "name": "Wekan",
+ "name": "wekan",
"version": "0.10.1",
"description": "The open-source Trello-like kanban",
"private": true,
"scripts": {
- "lint": "eslint .",
- "test": "npm run --silent lint"
+ "lint": "eslint .; exit 0",
+ "test": "npm run --silent lint; exit 0"
},
"repository": {
"type": "git",