69 lines
2.2 KiB
JSON
69 lines
2.2 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",
|
|
"@babel/core": "^7.17.9",
|
|
"@babel/preset-env": "^7.15.8",
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
"@types/node": "^16.11.9",
|
|
"@vitejs/plugin-vue": "^2.3.1",
|
|
"@vue/compiler-sfc": "^3.2.33",
|
|
"@vue/server-renderer": "^3.2.33",
|
|
"less": "^4.1.2",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.70.1",
|
|
"typescript": "^4.6.3",
|
|
"vite": "2.9.8"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "node_modules/cz-customizable"
|
|
}
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
}
|
|
} |