Use debug option instead of verbose

This commit is contained in:
Aurelsicoko 2018-01-16 16:33:05 +01:00
parent 83e0ffd323
commit 8c9f77a615
3 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@ cd /path/to/the/project
npm run setup
```
> Note: To display the build logs use the --verbose option `npm run setup --verbose`.
> Note: To display the build logs use the --debug option `npm run setup --debug`.
#### #3 - Launch the server

View File

@ -10,7 +10,7 @@ shell.echo('📦 Installing packages...');
const pwd = shell.pwd();
const silent = !(process.env.npm_config_verbose === 'true');
const silent = process.env.npm_config_debug !== 'true';
const isDevelopmentMode = path.resolve(pwd.stdout).indexOf('strapi-admin') !== -1;
const appPath = isDevelopmentMode ? path.resolve(process.env.PWD, '..') : path.resolve(pwd.stdout, '..');

View File

@ -48,4 +48,4 @@
"npm": ">= 5.3.0"
},
"license": "MIT"
}
}