layui/package.json

103 lines
2.9 KiB
JSON
Raw Normal View History

2021-09-27 06:09:33 +08:00
{
2021-09-29 14:21:02 +08:00
"name": "@layui/layui-vue",
"version": "0.0.18",
2021-09-27 06:09:33 +08:00
"description": "a component library for Vue 3 base on layui-vue",
"main": "lib/layui-vue.umd.js",
"module": "lib/layui-vue.es.js",
"exports": {
".": {
"import": "./lib/layui-vue.es.js",
"require": "./lib/layui-vue.umd.js"
},
"./lib/": "./lib/"
},
"types": "types/index.d.ts",
2021-09-29 14:21:02 +08:00
"style": "lib/layui.css",
2021-09-27 06:09:33 +08:00
"scripts": {
"dev": "vite",
2021-09-29 13:31:24 +08:00
"build": "vite build --emptyOutDir && npm run build:types",
2021-09-27 06:09:33 +08:00
"build:types": "rimraf types && tsc -d",
"build:docs": "vite build docs",
"test": "jest",
"lint": "eslint . --fix --ext .ts,.vue,.js --ignore-pattern \"/lib/\" --ignore-pattern \"/types/\"",
"prettier": "prettier --check --write --ignore-unknown \"{example,src,docs,test}/**\""
},
"repository": {
"type": "git",
2021-10-07 18:21:28 +08:00
"url": "https://gitee.com/layui-vue/layui-vue"
2021-09-27 06:09:33 +08:00
},
"keywords": [
"layui-vue",
"layui",
"vue"
],
2021-09-29 13:31:24 +08:00
"author": "就眠儀式",
2021-09-27 06:09:33 +08:00
"license": "MIT",
"bugs": {
2021-10-07 18:21:28 +08:00
"url": "https://gitee.com/layui-vue/layui-vue/issues"
2021-09-27 06:09:33 +08:00
},
2021-10-07 18:21:28 +08:00
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
2021-09-27 06:09:33 +08:00
"peerDependencies": {
2021-09-29 17:22:33 +08:00
"vue": "^3.2.19",
2021-09-27 06:09:33 +08:00
"vue-router": "^4.0.10"
},
"dependencies": {
2021-10-11 08:31:59 +08:00
"vue": "^3.2.20",
2021-09-29 17:22:33 +08:00
"vue-router": "^4.0.11"
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",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
2021-10-11 08:31:59 +08:00
"@rollup/plugin-babel": "^5.3.0",
2021-09-29 17:22:33 +08:00
"@types/jest": "^26.0.24",
2021-10-11 08:31:59 +08:00
"@types/markdown-it": "^12.2.3",
2021-09-29 17:22:33 +08:00
"@types/markdown-it-container": "^2.0.4",
2021-10-11 08:31:59 +08:00
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-vue": "^1.9.3",
"@vue/compiler-sfc": "^3.2.20",
2021-10-12 10:09:15 +08:00
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
2021-10-11 08:31:59 +08:00
"@vue/server-renderer": "^3.2.20",
2021-09-29 17:22:33 +08:00
"@vue/test-utils": "^2.0.0-rc.15",
2021-09-27 06:09:33 +08:00
"babel-jest": "^26.6.3",
"escape-html": "^1.0.3",
2021-09-29 17:22:33 +08:00
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^3.4.1",
2021-10-11 08:31:59 +08:00
"eslint-plugin-vue": "^7.19.1",
"husky": "^7.0.2",
2021-09-27 06:09:33 +08:00
"jest": "^26.6.3",
2021-10-12 10:09:15 +08:00
"lint-staged": "^11.2.3",
2021-09-27 06:09:33 +08:00
"markdown-it-container": "^3.0.0",
2021-10-11 08:31:59 +08:00
"postcss": "^8.3.9",
2021-09-27 06:09:33 +08:00
"postcss-preset-env": "^6.7.0",
2021-10-12 10:09:15 +08:00
"prettier": "^2.4.1",
"pretty-quick": "^3.1.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",
2021-09-29 17:22:33 +08:00
"ts-jest": "^26.5.6",
"typescript": "^4.4.3",
"vite": "2.5.10",
"vite-plugin-md": "^0.6.7",
"vue-jest": "^5.0.0-alpha.10"
2021-09-27 06:09:33 +08:00
},
"files": [
"lib",
"types"
],
2021-10-12 10:09:15 +08:00
"lint-staged": {
"*.{ts,vue,tsx}": "eslint --fix",
2021-10-12 10:09:15 +08:00
"*": "prettier -w -u"
},
2021-09-27 06:09:33 +08:00
"husky": {
"hooks": {
2021-10-12 10:09:15 +08:00
"pre-commit": "lintstage",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
2021-09-27 06:09:33 +08:00
}
}
}