layui/package.json
2021-11-07 15:55:08 +08:00

104 lines
2.9 KiB
JSON

{
"name": "@layui/layui-vue",
"version": "0.2.3",
"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",
"style": "lib/layui.css",
"scripts": {
"dev": "vite",
"build": "vite build --emptyOutDir && npm run build:types",
"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}/**\"",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "https://gitee.com/layui-vue/layui-vue"
},
"keywords": [
"layui-vue",
"layui",
"vue"
],
"author": "就眠儀式",
"license": "MIT",
"bugs": {
"url": "https://gitee.com/layui-vue/layui-vue/issues"
},
"homepage": "https://gitee.com/layui-vue/layui-vue/blob/master/README.md",
"peerDependencies": {
"vue": "^3.2.21",
"vue-router": "^4.0.12"
},
"dependencies": {
"vue": "^3.2.21",
"vue-router": "^4.0.12"
},
"devDependencies": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.15.0",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@rollup/plugin-babel": "^5.3.0",
"@types/jest": "^26.0.24",
"@types/markdown-it": "^12.2.3",
"@types/markdown-it-container": "^2.0.4",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vitejs/plugin-vue": "^1.9.3",
"@vue/compiler-sfc": "^3.2.21",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"@vue/server-renderer": "^3.2.20",
"@vue/test-utils": "^2.0.0-rc.15",
"babel-jest": "^26.6.3",
"escape-html": "^1.0.3",
"eslint": "^7.32.0",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-vue": "^7.19.1",
"husky": "^7.0.2",
"jest": "^26.6.3",
"lint-staged": "^11.2.3",
"markdown-it-container": "^3.0.0",
"postcss": "^8.3.9",
"postcss-preset-env": "^6.7.0",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
"prismjs": "^1.25.0",
"rimraf": "^3.0.2",
"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"
},
"files": [
"lib",
"types"
],
"lint-staged": {
"*.{ts,vue,tsx}": "eslint --fix",
"*": "prettier -w -u"
},
"husky": {
"hooks": {
"pre-commit": "lintstage",
"commit-msg": "commitlint -E $HUSKY_GIT_PARAMS",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
}
}