优化 package.json 结构

This commit is contained in:
就眠儀式 2021-12-24 10:54:19 +08:00
parent 47cc7a54c8
commit 0cdbb4e188
2 changed files with 12 additions and 16 deletions

View File

@ -1,10 +1,19 @@
{
"name": "@layui/layui-vue",
"version": "0.2.9",
"author": "sleeprite",
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
"module": "lib/layui-vue.es.js",
"main": "lib/layui-vue.umd.js",
"types": "types/index.d.ts",
"style": "lib/index.css",
"keywords": [
"layui-vue",
"layui",
"vue"
],
"exports": {
".": {
"import": "./lib/layui-vue.es.js",
@ -12,36 +21,23 @@
},
"./lib/": "./lib/"
},
"types": "types/index.d.ts",
"style": "lib/index.css",
"scripts": {
"dev": "vite",
"build": "vite build --emptyOutDir && npm run build:types",
"build:types": "rimraf types && tsc -d",
"build:example": "vite build example"
},
"keywords": [
"layui-vue",
"layui",
"vue"
],
"author": "就眠儀式",
"license": "MIT",
"peerDependencies": {
"@layui/hooks-vue": "^0.1.6",
"@layui/icons-vue": "^1.0.1",
"@layui/layer-vue": "^1.2.2",
"vue": "^3.2.26",
"vue-router": "^4.0.12"
},
"dependencies": {
"vue": "^3.2.26",
"@layui/hooks-vue": "^0.1.6",
"@layui/icons-vue": "^1.0.1",
"@layui/layer-vue": "^1.2.2",
"async-validator": "^4.0.7",
"evtd": "^0.2.3",
"vue": "^3.2.26",
"vue-router": "^4.0.12"
"evtd": "^0.2.3"
},
"devDependencies": {
"@babel/core": "^7.15.8",