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

@@ -8,7 +8,8 @@
"test": "cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
"bundle": "rollup --config",
"bundle:es-only": "cross-env ES_ONLY=true rollup --config",
"typings": "tsc -d --declarationDir typings"
"typings": "tsc -d --declarationDir typings",
"prepublish": "npm run typings && npm run bundle"
},
"repository": {
"type": "git",