mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +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.
|
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
|
```shell
|
||||||
npm install --save-dev @openstapps/configuration
|
npm install --save-dev @openstapps/configuration
|
||||||
|
npm run check-configuration
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also install it globally and use it as a cli.
|
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
|
## 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`.
|
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