chore: update build scipts

This commit is contained in:
Il Harper 2024-03-04 02:14:33 +08:00
parent 226cdc2aa7
commit de715ad1b0
No known key found for this signature in database
GPG Key ID: 4B71FCA698E7E8EC

View File

@ -15,7 +15,7 @@
], ],
"scripts": { "scripts": {
"codegen": "ts-node -T scripts/codegen.cts", "codegen": "ts-node -T scripts/codegen.cts",
"build": "concurrently -n cjs,dts yarn:build:cjs yarn:build:dts", "build": "concurrently -n codegen yarn:codegen && concurrently -n cjs,dts yarn:build:cjs yarn:build:dts",
"build:cjs": "ts-node -T ../../scripts/build.cts", "build:cjs": "ts-node -T ../../scripts/build.cts",
"build:dts": "tsc -p tsconfig.json" "build:dts": "tsc -p tsconfig.json"
}, },