: dts 文件生成

*dts 生成
*tag自动计算颜色
This commit is contained in:
sight
2022-09-15 00:53:26 +08:00
parent 007b94914a
commit 0db18d8a86
9 changed files with 172 additions and 150 deletions

View File

@@ -11,7 +11,7 @@
"types": "types/index.d.ts",
"style": "lib/index.css",
"type": "module",
"keywords": [
"keywords": [
"vue",
"vue-component",
"component-library",
@@ -26,9 +26,9 @@
"./es/": "./es/"
},
"scripts": {
"build": "npm run build:all && npm run build:es && npm run build:umd && npm run build:types",
"build": "npm run build:all && npm run build:es && npm run build:umd",
"build:es": "vite build --emptyOutDir --config ./script/build.es.ts",
"build:all": "vite build --emptyOutDir --config ./script/build.all.ts",
"build:all": "rimraf types && vite build --emptyOutDir --config ./script/build.all.ts",
"build:umd": "vite build --emptyOutDir --config ./script/build.umd.ts",
"build:types": "rimraf types && tsc -d"
},
@@ -41,7 +41,8 @@
"@umijs/ssr-darkreader": "^4.9.45",
"dayjs": "^1.11.0",
"evtd": "^0.2.3",
"vue-i18n": "^9.1.10"
"vue-i18n": "^9.1.10",
"@ctrl/tinycolor": "^3.4.1"
},
"files": [
"lib",