2021-09-27 06:09:33 +08:00
|
|
|
{
|
2022-01-08 11:29:42 +08:00
|
|
|
"name": "@layui/layui-vue",
|
2022-04-02 10:09:53 +08:00
|
|
|
"version": "1.0.0",
|
2022-02-21 01:09:24 +08:00
|
|
|
"author": "就眠儀式",
|
2021-12-24 10:54:19 +08:00
|
|
|
"license": "MIT",
|
2021-09-27 06:09:33 +08:00
|
|
|
"description": "a component library for Vue 3 base on layui-vue",
|
2022-03-18 14:48:38 +08:00
|
|
|
"homepage": "http://www.layui-vue.com",
|
2022-01-27 16:18:16 +08:00
|
|
|
"main": "es/index.js",
|
2022-03-28 17:59:26 +08:00
|
|
|
"unpkg": "umd/index.js",
|
|
|
|
"jsdelivr": "umd/index.js",
|
2021-12-24 10:54:19 +08:00
|
|
|
"types": "types/index.d.ts",
|
|
|
|
"style": "lib/index.css",
|
|
|
|
"keywords": [
|
|
|
|
"layui-vue",
|
|
|
|
"layui",
|
|
|
|
"vue"
|
|
|
|
],
|
2021-09-27 06:09:33 +08:00
|
|
|
"exports": {
|
|
|
|
".": {
|
2022-01-27 16:18:16 +08:00
|
|
|
"import": "./es/index.js"
|
2021-09-27 06:09:33 +08:00
|
|
|
},
|
2022-01-27 16:18:16 +08:00
|
|
|
"./lib/": "./lib/",
|
|
|
|
"./es/": "./es/"
|
2021-09-27 06:09:33 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2022-02-06 05:20:07 +08:00
|
|
|
"dev": "vite example",
|
2022-03-28 17:59:26 +08:00
|
|
|
"build": "npm run build:all && npm run build:es && npm run build:umd && npm run build:types && npm run build:example",
|
2022-02-17 12:29:20 +08:00
|
|
|
"build:es": "vite build --emptyOutDir --config ./script/build.es.ts",
|
|
|
|
"build:all": "vite build --emptyOutDir --config ./script/build.all.ts",
|
2022-03-28 17:59:26 +08:00
|
|
|
"build:umd": "vite build --emptyOutDir --config ./script/build.umd.ts",
|
2021-09-27 06:09:33 +08:00
|
|
|
"build:types": "rimraf types && tsc -d",
|
2021-12-24 13:42:56 +08:00
|
|
|
"build:example": "vite build example",
|
2021-12-30 00:30:15 +08:00
|
|
|
"lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix",
|
2022-02-16 17:23:42 +08:00
|
|
|
"lint:prettier": "prettier --write \"src/**/*.{vue,ts}\"",
|
2022-02-21 01:09:24 +08:00
|
|
|
"commit": "git add . && git-cz && git push",
|
|
|
|
"prepare": "husky install"
|
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"vue": "^3.2.31"
|
2021-09-27 06:09:33 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-02-21 01:09:24 +08:00
|
|
|
"@layui/icons-vue": "^1.0.7",
|
2022-03-16 11:57:08 +08:00
|
|
|
"@layui/layer-vue": "^1.3.11",
|
2022-02-24 11:09:45 +08:00
|
|
|
"@vueuse/core": "^7.6.2",
|
2021-12-19 07:12:33 +08:00
|
|
|
"async-validator": "^4.0.7",
|
2022-04-03 11:29:49 +08:00
|
|
|
"cropperjs": "^1.5.12",
|
2022-03-30 01:57:54 +08:00
|
|
|
"darkreader": "^4.9.46",
|
2021-12-25 00:09:30 +08:00
|
|
|
"evtd": "^0.2.3",
|
2022-03-27 13:27:22 +08:00
|
|
|
"moment": "^2.29.1",
|
|
|
|
"uuid": "^8.3.2",
|
2022-02-20 18:22:39 +08:00
|
|
|
"vue": "^3.2.31",
|
2022-03-25 17:02:04 +08:00
|
|
|
"vue-i18n": "^9.2.0-beta.33",
|
2022-03-17 13:11:16 +08:00
|
|
|
"vue-router": "^4.0.12",
|
|
|
|
"xlsx": "^0.18.4"
|
2021-09-27 06:09:33 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-10-11 08:31:59 +08:00
|
|
|
"@babel/core": "^7.15.8",
|
|
|
|
"@babel/preset-env": "^7.15.8",
|
2021-09-29 17:22:33 +08:00
|
|
|
"@babel/preset-typescript": "^7.15.0",
|
2022-02-22 14:36:46 +08:00
|
|
|
"@babel/types": "7.17.0",
|
2022-02-16 15:53:40 +08:00
|
|
|
"@commitlint/cli": "^16.2.1",
|
|
|
|
"@commitlint/config-conventional": "^16.2.1",
|
2021-10-11 08:31:59 +08:00
|
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
|
|
"@types/markdown-it": "^12.2.3",
|
2021-09-29 17:22:33 +08:00
|
|
|
"@types/markdown-it-container": "^2.0.4",
|
2021-12-15 21:24:40 +08:00
|
|
|
"@types/node": "^16.11.9",
|
2021-12-25 00:09:30 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.8.0",
|
|
|
|
"@typescript-eslint/parser": "^5.8.0",
|
2021-10-11 08:31:59 +08:00
|
|
|
"@vitejs/plugin-vue": "^1.9.3",
|
2022-02-20 18:22:39 +08:00
|
|
|
"@vue/compiler-sfc": "^3.2.31",
|
|
|
|
"@vue/server-renderer": "^3.2.31",
|
2021-12-25 16:24:46 +08:00
|
|
|
"commitizen": "^4.2.4",
|
2022-02-16 15:53:40 +08:00
|
|
|
"cz-conventional-changelog": "^3.3.0",
|
2021-09-27 06:09:33 +08:00
|
|
|
"escape-html": "^1.0.3",
|
2021-12-25 00:09:30 +08:00
|
|
|
"eslint": "^8.5.0",
|
2021-12-25 14:36:54 +08:00
|
|
|
"eslint-config-prettier": "^8.3.0",
|
|
|
|
"eslint-plugin-prettier": "^4.0.0",
|
2021-12-25 14:46:25 +08:00
|
|
|
"eslint-plugin-vue": "^8.2.0",
|
2022-02-16 15:53:40 +08:00
|
|
|
"husky": "^7.0.4",
|
2022-01-06 21:28:58 +08:00
|
|
|
"less": "^4.1.2",
|
2021-09-27 06:09:33 +08:00
|
|
|
"markdown-it-container": "^3.0.0",
|
2021-12-24 13:42:56 +08:00
|
|
|
"prettier": "^2.5.1",
|
2021-09-29 17:22:33 +08:00
|
|
|
"prismjs": "^1.25.0",
|
2021-09-27 06:09:33 +08:00
|
|
|
"rimraf": "^3.0.2",
|
2022-01-29 09:53:48 +08:00
|
|
|
"rollup": "^2.66.1",
|
|
|
|
"typescript": "^4.5.5",
|
|
|
|
"vite": "2.7.13",
|
2021-12-24 11:20:29 +08:00
|
|
|
"vite-plugin-md": "^0.11.6"
|
2021-09-27 06:09:33 +08:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib",
|
2022-01-27 16:18:16 +08:00
|
|
|
"es",
|
2022-03-28 17:59:26 +08:00
|
|
|
"umd",
|
2021-09-27 06:09:33 +08:00
|
|
|
"types"
|
2021-11-16 09:41:46 +08:00
|
|
|
],
|
|
|
|
"browserslist": [
|
|
|
|
"current node",
|
|
|
|
"last 2 versions and > 2%",
|
|
|
|
"ie > 10"
|
2022-02-16 15:53:40 +08:00
|
|
|
],
|
|
|
|
"config": {
|
|
|
|
"commitizen": {
|
|
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
|
|
}
|
|
|
|
}
|
2022-02-24 11:09:45 +08:00
|
|
|
}
|