fix: remove default license in vant cli template (#10546)

This commit is contained in:
neverland 2022-04-24 10:26:00 +08:00 committed by GitHub
parent 33150f82ea
commit 004f642622
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 7 deletions

View File

@ -18,7 +18,6 @@
"build-site": "vant-cli build-site && gh-pages -d site-dist"
},
"author": "",
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "lint-staged",

View File

@ -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",

View File

@ -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.

View File

@ -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 时触发。

View File

@ -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: