mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-07 05:52:57 +00:00
docs: add documentation for added script
This commit is contained in:
@@ -7,8 +7,11 @@
|
||||
|
||||
A collection of configuration base files for StApps projects.
|
||||
|
||||
Install it as a dev dependency in your project and it will automatically add a script in your `package.json` to execute it.
|
||||
|
||||
```shell
|
||||
npm install --save-dev @openstapps/configuration
|
||||
npm run check-configuration
|
||||
```
|
||||
|
||||
You can also install it globally and use it as a cli.
|
||||
@@ -37,3 +40,5 @@ The following files are automatically copied to your project's root directory if
|
||||
## Adjusted files
|
||||
|
||||
Your project's `package.json` will be examined to determine whether or not you have `nyc` installed in your `devDependencies`. If it is installed the recommended configuration for `nyc` will be added to/updated in your `package.json`.
|
||||
|
||||
A script called `check-configuration` will be added to your `package.json` to execute the configuration script manually again.
|
||||
|
||||
Reference in New Issue
Block a user