File tree 1 file changed +14
-2
lines changed
1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 16
16
},
17
17
"type" : " module" ,
18
18
"scripts" : {
19
- "test" : " echo \" Error: no test specified\" && exit 1"
19
+ "test" : " echo \" Error: no test specified\" && exit 1" ,
20
+ "test:size" : " size-limit"
20
21
},
21
22
"keywords" : [
22
23
" Van" ,
35
36
"author" : " Tao Xin" ,
36
37
"license" : " MIT" ,
37
38
"devDependencies" : {
39
+ "@size-limit/preset-small-lib" : " ^9.0.0" ,
38
40
"all-contributors-cli" : " ^6.26.1" ,
39
41
"esbuild" : " ^0.17.12" ,
40
42
"node-jq" : " ^2.3.5" ,
43
+ "size-limit" : " ^9.0.0" ,
41
44
"terser" : " ^5.22.0" ,
42
45
"typescript" : " ^5.1.6"
43
46
},
49
52
"url" : " https://github.com/vanjs-org/van/issues" ,
50
53
"email" : " bugs@vanjs.org"
51
54
},
52
- "homepage" : " https://vanjs.org"
55
+ "homepage" : " https://vanjs.org" ,
56
+ "size-limit" : [
57
+ {
58
+ "name" : " Van" ,
59
+ "import" : {
60
+ "src/van.js" : " van"
61
+ },
62
+ "limit" : " 1009 B"
63
+ }
64
+ ]
53
65
}
You can’t perform that action at this time.
0 commit comments