We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba386f commit 830f180Copy full SHA for 830f180
1 file changed
package.json
@@ -23,19 +23,31 @@
23
"format": "ts-scripts format",
24
"lint": "ts-scripts lint",
25
"prepare": "ts-scripts install && npm run build",
26
+ "size": "size-limit",
27
"specs": "ts-scripts specs",
- "test": "ts-scripts test"
28
+ "test": "ts-scripts test && npm run size"
29
},
30
"devDependencies": {
31
"@borderless/ts-scripts": "^0.15.0",
32
+ "@size-limit/preset-small-lib": "^12.1.0",
33
"@types/node": "^20.19.35",
34
"@vitest/coverage-v8": "^3.2.4",
35
+ "size-limit": "^12.1.0",
36
"typescript": "^5.9.3",
37
"vitest": "^3.2.4"
38
39
"engines": {
40
"node": ">=18"
41
42
+ "size-limit": [
43
+ {
44
+ "path": "dist/index.js",
45
+ "ignore": [
46
+ "node:buffer"
47
+ ],
48
+ "limit": "1 kB"
49
+ }
50
51
"ts-scripts": {
52
"dist": [
53
"dist"
0 commit comments