mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
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.
This commit is contained in:
parent
1f3015bd2c
commit
c8705a0fdc
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "Wekan",
|
"name": "wekan",
|
||||||
"version": "0.10.1",
|
"version": "0.10.1",
|
||||||
"description": "The open-source Trello-like kanban",
|
"description": "The open-source Trello-like kanban",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint .",
|
"lint": "eslint .; exit 0",
|
||||||
"test": "npm run --silent lint"
|
"test": "npm run --silent lint; exit 0"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue