From 0cdbb4e1889478803f0132384e1be7ee8ae69483 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Fri, 24 Dec 2021 10:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20package.json=20=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 26 +++++++++++--------------- tsconfig.json | 2 +- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index 4ddae431..dec0349a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tsconfig.json b/tsconfig.json index ef941986..2a7d3ab9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,7 @@ "compilerOptions": { "baseUrl": ".", "module": "esnext", - "target": "es2015", + "target": "es2015", "moduleResolution": "Node", "strict": true, "allowJs": true,