Skip to content

Commit 8d44eb8

Browse files
author
Maya Shavin
committed
add: bundlewatch
1 parent e894e5c commit 8d44eb8

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"files": [
3+
{
4+
"path": "dist/cjs/**/*.js",
5+
"maxSize": "2kB"
6+
},
7+
{
8+
"path": "dist/esm/**/*.js",
9+
"maxSize": "2kB"
10+
}
11+
]
12+
}

packages/url/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
"compile": "tsc -p tsconfig.build.json && tsc -p tsconfig.json",
2121
"test:unit": "jest __tests__ --reporters default",
2222
"tsc": "tsc -p tsconfig.build.json && tsc -p tsconfig.json",
23-
"prepublishOnly": "agadoo dist/"
23+
"bundlewatch": "bundlewatch --config bundlewatch.config.json",
24+
"prepublishOnly": "agadoo && bundlewatch",
25+
"agadoo": "agadoo dist/"
2426
},
2527
"keywords": [
2628
"cloudinary",
@@ -37,6 +39,7 @@
3739
"@types/jest": "^26.0.15",
3840
"@types/node": "^14.14.7",
3941
"agadoo": "^2.0.0",
42+
"bundlewatch": "^0.3.1",
4043
"jest": "^26.6.3",
4144
"jest-html-reporters": "^2.1.0",
4245
"ts-jest": "^26.4.4",

0 commit comments

Comments
 (0)