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

@@ -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",