add lerna to manage monorepo

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 257e8c10c9
commit 309b7d9026
9 changed files with 3386 additions and 65 deletions

View File

@@ -12,7 +12,8 @@
"bundle:browser": "cross-env BROWSER_ONLY=true rollup --config",
"bundle": "rollup --config",
"typings": "tsc -d --declarationDir typings",
"check-types": "tsc -noEmit"
"check-types": "tsc -noEmit",
"prepublish": "npm run typings && npm run bundle"
},
"repository": {
"type": "git",