build es/lib 合成一个命令

This commit is contained in:
Wang Kejun 2023-09-07 00:05:18 +08:00
parent bf39475d5d
commit dffffbbd79
1 changed files with 1 additions and 2 deletions

View File

@ -15,8 +15,7 @@
"scripts": {
"make:domain": "ts-node test/build-app-domain",
"test": "cross-env TS_NODE_PROJECT='tsconfig.mocha.json' mocha",
"build": "tsc -p tsconfig.json",
"build-es": "tsc -p tsconfig.es.json"
"build": "tsc -p tsconfig.json && tsc -p tsconfig.es.json"
},
"main": "lib/index.js",
"module": "es/index.js",