@theholocron/bundlewatch-config 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +24 -0
- package/bundlewatch.config.js +12 -0
- package/package.json +20 -0
package/CHANGELOG.md
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Bundlewatch Config
|
|
2
|
+
|
|
3
|
+
A [bundlewatch configuration](https://bundlewatch.io/#/reference/configuration) for monitoring file size for libraries.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install --save-dev @theholocron/bundlewatch-config
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
In your project `package.json` add the following:
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"scripts": {
|
|
18
|
+
"audit:bundle": "bundlewatch --config ./node_modules/@theholocron/bundlewatch-config/index.js",
|
|
19
|
+
"audit": "run-p audit:*"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
**Note**: `run-p` uses [`npm-run-all`](https://www.npmjs.com/package/npm-run-all) package to run tasks concurrently, but you could also use [`concurrently`](https://www.npmjs.com/package/concurrently).
|
package/package.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@theholocron/bundlewatch-config",
|
|
3
|
+
"homepage": "https://github.com/theholocron/configs/tree/master/packages/bundlewatch-config#readme",
|
|
4
|
+
"description": "A Bundlewatch configuration for monitoring the file size of libraries in the Galaxy.",
|
|
5
|
+
"author": "Newton Koumantzelis",
|
|
6
|
+
"version": "1.16.0",
|
|
7
|
+
"main": "bundlewatch.config.js",
|
|
8
|
+
"type": "module",
|
|
9
|
+
"repository": "https://github.com/theholocron/configs.git",
|
|
10
|
+
"bugs": "https://github.com/theholocron/configs/issues",
|
|
11
|
+
"releases": "https://github.com/theholocron/configs/releases",
|
|
12
|
+
"wiki": "https://github.com/theholocron/configs/wiki",
|
|
13
|
+
"license": "GPL-3.0",
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"bundlewatch": "^0.4.0"
|
|
19
|
+
}
|
|
20
|
+
}
|