File tree 3 files changed +1051
-32
lines changed
3 files changed +1051
-32
lines changed Original file line number Diff line number Diff line change 5
5
- [x] Only essential components, suitable for most projects
6
6
- [x] Customizable with ` theme `
7
7
- [x] Responsive
8
+ - [x] Only 10.5 KB (5 KB excluding deps) gziped
8
9
9
10
Created with [ ` pss ` ] ( https://github.com/exah/pss ) .
10
11
Original file line number Diff line number Diff line change 31
31
"test" : " run-s test:*" ,
32
32
"test:unit" : " jest" ,
33
33
"test:lint" : " eslint src test" ,
34
+ "test:size" : " size-limit" ,
34
35
"release" : " np --no-cleanup" ,
35
36
"postrelease" : " npm run deploy" ,
36
37
"deploy" : " npm run docs && cp dist/index.html dist/200.html && surge dist pss-components.surge.sh" ,
40
41
"precommit" : " lint-staged" ,
41
42
"prepush" : " npm test"
42
43
},
44
+ "size-limit" : [
45
+ {
46
+ "limit" : " 10.5 KB" ,
47
+ "path" : " ./esm/index.js"
48
+ },
49
+ {
50
+ "limit" : " 5 KB" ,
51
+ "path" : " ./esm/index.js" ,
52
+ "ignore" : [ " @emotion/is-prop-valid" , " pss" , " @exah/utils" ]
53
+ }
54
+ ],
43
55
"publishConfig" : {
44
56
"access" : " public"
45
57
},
126
138
"react-feather" : " ^1.1.6" ,
127
139
"react-is" : " ^16.8.6" ,
128
140
"react-test-renderer" : " ^16.8.6" ,
129
- "rimraf" : " ^2.6.3"
141
+ "rimraf" : " ^2.6.3" ,
142
+ "size-limit" : " ^1.3.7"
130
143
},
131
144
"dependencies" : {
132
145
"@emotion/is-prop-valid" : " ^0.8.2" ,
You can’t perform that action at this time.
0 commit comments