diff --git a/package.json b/package.json index 21cc3a275e..8264239fd0 100644 --- a/package.json +++ b/package.json @@ -61,8 +61,8 @@ "copydocs": "node ./scripts/copymd.cjs", "attrs": "node ./scripts/createAttributes.cjs", "attrs:taro": "node ./scripts/createAttributes.cjs taro", - "dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.json && pnpm generate:types", - "dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.declaration.taro.json && pnpm generate:types:taro", + "dts": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.h5.json && pnpm generate:types", + "dts:taro": "rimraf ./tsc/type && vue-tsc --declaration --emitDeclarationOnly -p ./tsconfig.taro.json && pnpm generate:types:taro", "copy:h5": "node ./scripts/copyh5.cjs", "copy:taro": "node ./scripts/copytaro.cjs", "copy:info": "node ./scripts/copy-dist.cjs nutui && node ./scripts/copy-dist.cjs nutui-taro", diff --git a/tsconfig.declaration.json b/tsconfig.h5.json similarity index 100% rename from tsconfig.declaration.json rename to tsconfig.h5.json diff --git a/tsconfig.declaration.taro.json b/tsconfig.taro.json similarity index 100% rename from tsconfig.declaration.taro.json rename to tsconfig.taro.json