add lerna to manage monorepo

This commit is contained in:
Yanzhen Yu
2021-08-14 23:58:56 +08:00
parent e5b0750e90
commit 9571c36d80
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",