Skip to content

Commit

Permalink
use size-limit library to track gzip size of the library:
Browse files Browse the repository at this point in the history
	devDependencies
		βˆ‹ size-limit
		βˆ‹ @size-limit/preset-small-lib
  • Loading branch information
btakita committed Oct 30, 2023
1 parent d5c6076 commit 6d534d6
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
},
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"test:size": "size-limit"
},
"keywords": [
"Van",
Expand All @@ -35,9 +36,11 @@
"author": "Tao Xin",
"license": "MIT",
"devDependencies": {
"@size-limit/preset-small-lib": "^9.0.0",
"all-contributors-cli": "^6.26.1",
"esbuild": "^0.17.12",
"node-jq": "^2.3.5",
"size-limit": "^9.0.0",
"terser": "^5.22.0",
"typescript": "^5.1.6"
},
Expand All @@ -49,5 +52,14 @@
"url": "https://github.com/vanjs-org/van/issues",
"email": "[email protected]"
},
"homepage": "https://vanjs.org"
"homepage": "https://vanjs.org",
"size-limit": [
{
"name": "Van",
"import": {
"src/van.js": "van"
},
"limit": "1009 B"
}
]
}

0 comments on commit 6d534d6

Please sign in to comment.