2.0.6 β’ Published 2 years ago
@cailei/cli v2.0.6
Cailei CLI
Cailei CLI is a tool for building vue component library. You can quickly build a full-featured Vue component library with cailei-cli.
π¨π³ ζ₯ηδΈζηδ»η»
Features
- Provides rich commands covering the complete process from development to deploy
- Based on conventional directory structure. Generate elegant document website and component examples automatically.
- ESlint built-in.
- Support Tree Shaking/Theme Customization/Import on Demand
Quickstart
To create a Cailei CLI project, run:
yarn create cailei-cli-app
Install Manually
# via npm
npm i @cailei/cli -D
# via yarn
yarn add @cailei/cli -D
# via pnpm
pnpm add @cailei/cli -D
Please add the followed config to package.json
file.
{
"scripts": {
"dev": "cailei-cli dev",
"test": "cailei-cli test",
"lint": "cailei-cli lint",
"build": "cailei-cli build",
"prepare": "husky install",
"release": "cailei-cli release",
"build-site": "cailei-cli build-site"
},
"nano-staged": {
"*.md": "prettier --write",
"*.{ts,tsx,js,vue,less,scss}": "prettier --write",
"*.{ts,tsx,js,vue}": "eslint --fix"
},
"eslintConfig": {
"root": true,
"extends": ["@cailei"]
},
"prettier": {
"singleQuote": true
},
"browserslist": ["Chrome >= 51", "iOS >= 10"]
}
More Details
2.0.3
2 years ago
2.0.2
2 years ago
2.0.5
2 years ago
2.0.4
2 years ago
2.0.6
2 years ago
3.0.0
2 years ago
2.0.0
2 years ago
1.0.11
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.10
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago