mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 05:42:44 +08:00
fix: remove default license in vant cli template (#10546)
This commit is contained in:
parent
33150f82ea
commit
004f642622
@ -18,7 +18,6 @@
|
||||
"build-site": "vant-cli build-site && gh-pages -d site-dist"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
|
@ -22,7 +22,6 @@
|
||||
"test:coverage": "open test/coverage/index.html"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"lint-staged": {
|
||||
"*.md": "prettier --write",
|
||||
"*.{ts,tsx,js,vue,less,scss}": "prettier --write",
|
||||
|
@ -50,11 +50,11 @@ Build documentation website. Files will be output to `site` directory.
|
||||
|
||||
Publish to npm. `build` and `changelog` will be automatically execute when run `release`.
|
||||
|
||||
## changelog
|
||||
### changelog
|
||||
|
||||
Generate changelog based on commit records.
|
||||
|
||||
## commit-lint
|
||||
### commit-lint
|
||||
|
||||
Validate the format of commit message. Need `husky` to do this.
|
||||
|
||||
|
@ -52,11 +52,11 @@ npx vant-cli dev
|
||||
|
||||
发布组件库,发布前会自动执行 build 和 changelog 命令,并通过 [release-it](https://github.com/release-it/release-it) 发布 npm 包。
|
||||
|
||||
## changelog
|
||||
### changelog
|
||||
|
||||
基于 commit 记录生成更新日志,基于 [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) 实现。
|
||||
|
||||
## commit-lint
|
||||
### commit-lint
|
||||
|
||||
校验 commit message 的格式是否符合规范,需要配合 `husky` 在提交 commit 时触发。
|
||||
|
||||
|
@ -335,7 +335,7 @@ Should use [vConsole](https://github.com/Tencent/vConsole) to debug when dev. Fo
|
||||
|
||||
PostCSS can be configured through the `postcss.config.js` file in the root directory.
|
||||
|
||||
### 默认配置
|
||||
### Default Config
|
||||
|
||||
PostCSS default config:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user