chore: 升级 monorepo 架构
This commit is contained in:
75
package/component/package.json
Normal file
75
package/component/package.json
Normal file
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"name": "@layui/layui-vue",
|
||||
"version": "1.0.0",
|
||||
"author": "就眠儀式",
|
||||
"license": "MIT",
|
||||
"description": "a component library for Vue 3 base on layui-vue",
|
||||
"homepage": "http://www.layui-vue.com",
|
||||
"main": "es/index.js",
|
||||
"unpkg": "umd/index.js",
|
||||
"jsdelivr": "umd/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
"style": "lib/index.css",
|
||||
"keywords": [
|
||||
"layui-vue",
|
||||
"layui",
|
||||
"vue"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./es/index.js"
|
||||
},
|
||||
"./lib/": "./lib/",
|
||||
"./es/": "./es/"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build:all && npm run build:es && npm run build:umd && npm run build:types",
|
||||
"build:es": "vite build --emptyOutDir --config ./script/build.es.ts",
|
||||
"build:all": "vite build --emptyOutDir --config ./script/build.all.ts",
|
||||
"build:umd": "vite build --emptyOutDir --config ./script/build.umd.ts",
|
||||
"build:types": "rimraf types && tsc -d"
|
||||
},
|
||||
"dependencies": {
|
||||
"@vueuse/core": "^7.6.2",
|
||||
"async-validator": "^4.0.7",
|
||||
"cropperjs": "^1.5.12",
|
||||
"darkreader": "^4.9.46",
|
||||
"evtd": "^0.2.3",
|
||||
"moment": "^2.29.1",
|
||||
"uuid": "^8.3.2",
|
||||
"vue-i18n": "^9.2.0-beta.33",
|
||||
"xlsx": "^0.18.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.15.8",
|
||||
"@babel/preset-env": "^7.15.8",
|
||||
"@babel/preset-typescript": "^7.15.0",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
"@types/markdown-it": "^12.2.3",
|
||||
"@types/markdown-it-container": "^2.0.4",
|
||||
"@types/node": "^16.11.9",
|
||||
"@vitejs/plugin-vue": "^2.3.1",
|
||||
"@vue/compiler-sfc": "^3.2.31",
|
||||
"@vue/server-renderer": "^3.2.31",
|
||||
"escape-html": "^1.0.3",
|
||||
"less": "^4.1.2",
|
||||
"markdown-it-container": "^3.0.0",
|
||||
"prismjs": "^1.25.0",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.70.1",
|
||||
"typescript": "^4.5.5",
|
||||
"vite": "2.9.1",
|
||||
"vite-plugin-md": "^0.11.6"
|
||||
},
|
||||
"files": [
|
||||
"lib",
|
||||
"es",
|
||||
"umd",
|
||||
"types"
|
||||
],
|
||||
"browserslist": [
|
||||
"current node",
|
||||
"last 2 versions and > 2%",
|
||||
"ie > 10"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user