layui/package.json
2022-04-29 22:32:31 +08:00

56 lines
1.8 KiB
JSON

{
"license": "MIT",
"description": "a component library for Vue 3 base on layui-vue",
"homepage": "http://www.layui-vue.com",
"scripts": {
"dev": "pnpm -C ./package/document dev",
"dev:demand": "pnpm -C ./package/document dev:demand",
"build": "npm run build:icons && npm run build:layer && npm run build:component && npm run build:document",
"build:document": "pnpm -C ./package/document build",
"build:component": "pnpm -C ./package/component build",
"build:icons": "pnpm -C ./package/icons build",
"build:layer": "pnpm -C ./package/layer build",
"publish:component": "pnpm -C ./package/component publish",
"generate:icons": "pnpm -C ./package/icons generate",
"lint:eslint": "eslint 'package/**/*.{vue,ts,tsx}' --fix",
"lint:prettier": "prettier --write \"package/**/*.{vue,ts}\"",
"postinstall": "npm run build",
"prepare": "husky install",
"commit": "git add . && git-cz && git push"
},
"dependencies": {
"@layui/layui-vue": "workspace:*",
"@layui/icons-vue": "workspace:*",
"@layui/layer-vue": "workspace:*",
"vue": "^3.2.33"
},
"peerDependencies": {
"vue": "^3.2.33"
},
"devDependencies": {
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"commitlint-config-cz": "^0.13.3",
"cz-customizable": "^6.3.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.2.0",
"husky": "^7.0.4",
"prettier": "^2.5.1"
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}