Skip to content

Commit 968a3d6

Browse files
committed
Updates on docs
1 parent d80f576 commit 968a3d6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/changelog/package.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@
4646
"solidarity": "solidarity",
4747
"compress": "tar -zcvf dist.tar.gz dist/*.js",
4848
"size": "bundlesize --config bundlesize.config.json",
49+
"size:check": "size-limit",
50+
"size:analyze": "size-limit --why",
4951
"api": "api-extractor run --local --verbose",
5052
"codeclimate": "codeclimate-test-reporter < coverage/lcov.info",
5153
"solidarity:update": "solidarity snapshot cli node",
@@ -85,9 +87,24 @@
8587
"reportFile": "test-report.xml",
8688
"indent": 4
8789
},
90+
"size-limit": [
91+
{
92+
"path": "dist/index.js",
93+
"limit": "50 KB"
94+
},
95+
{
96+
"path": "dist/index.cjs.development.js",
97+
"limit": "50 KB"
98+
},
99+
{
100+
"path": "dist/index.cjs.production.min.js",
101+
"limit": "50 KB"
102+
}
103+
],
88104
"devDependencies": {
89105
"@compodoc/compodoc": "^1.1.19",
90106
"@jest/test-sequencer": "^27.5.1",
107+
"@size-limit/preset-small-lib": "^8.1.0",
91108
"@testing-library/jest-dom": "^5.16.4",
92109
"@microsoft/api-extractor": "^7.21.0",
93110
"@types/jest": "^27.4.1",
@@ -123,6 +140,7 @@
123140
"nodejs-dashboard": "^0.5.1",
124141
"nodelinter": "^0.1.19",
125142
"puppeteer": "^15.3.1",
143+
"size-limit": "^8.1.0",
126144
"solidarity": "^3.0.4",
127145
"source-map-explorer": "^2.5.2",
128146
"ts-jest": "^27.1.4",

0 commit comments

Comments
 (0)