![](https://img.kancloud.cn/ca/0d/ca0d680e7fcda8b94e9697a113a8baa8_909x330.png)
![](https://img.kancloud.cn/27/bf/27bf1c4aa8cc791b2b8af648c82801ad_347x59.png)
git-cz
//.cz-config.js
~~~
'use strict'
module.exports = {
types: [
{
value: 'add',
name: 'add: A new feature'
},
{
value: 'fix',
name: 'fix: A bug fix'
},
{
value: 'refactor',
name: 'refactor: A code change that neither fixes a bug nor adds a feature'
},
{
value: 'docs',
name: 'docs: Documentation only changes'
},
{
value: 'test',
name: 'test: Add missing tests or correcting existing tests'
},
{
value: 'chore',
name:
"chore: Changes that don't modify src or test files. Such as updating build tasks, package manager"
},
{
value: 'style',
name:
'style: Code Style, Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)'
},
{
value: 'revert',
name: 'revert: Revert to a commit'
},
{
value: 'version',
name: 'version: 发版本用的'
},
{
value: 'icon',
name: 'icon: 更新 icon'
}
],
scopes: ['公共模块', '全局组件', '模型模块', '数据源模块', '算法模块', '组件模块', '构建模块', '监控模块'],
// allowCustomScopes: true,
allowBreakingChanges: ['add', 'fix']
}
~~~
//package.json
~~~
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"docs": "vuese gen",
"see-docs": "vuese serve --open"
"see-docs": "vuese serve --open",
"commit": "git-cz"
},
"dependencies": {
"axios": "^0.18.0",
"@vue/cli-plugin-eslint": "^3.0.3",
"@vue/cli-service": "^3.0.3",
"@vue/eslint-config-airbnb": "^3.0.3",
"commitizen": "^3.1.1",
"cz-customizable": "^6.2.0",
"husky": "^1.1.2",
"lint-staged": "^8.0.3",
"node-sass": "^4.9.0",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -e $HUSKY_GIT_PARAMS"
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-customizable"
}
}
}
~~~
![](https://img.kancloud.cn/9c/df/9cdfbe44526a2d24c1262fc80345720a_485x536.png)![](https://img.kancloud.cn/82/34/82340609ffed2652c9d675d973b7eedb_655x454.png)
- Introduction
- 1.配置sublime
- 1.1sublime配置sass
- 1.2sublime配置less
- 2.webstrom配置sass
- 3.vscode前端开发环境配置
- 4.git补充教程
- sass安装环境的配置:
- 部署网站(域名解析到服务器)
- 字体压缩
- jshint(js错误提示)
- 格式转换器
- sourceTree
- 配置接口
- Java环境变量
- 激活
- 大白菜装机
- 真机调试
- 彩色字
- docsify配置和使用
- vscode插件安装
- git分支管理
- 更换远程仓库地址
- fork项目
- 获取全部分支
- git 开发管理
- git 代码提示
- git 常用操作
- 预提交问题
- vpn
- 禅道
- 蓝湖
- px to rem 插件
- 插件同步
- 项目代码格式校验
- 在全局配置的文件可以直接使用process.env访问到
- 快捷键设置
- 安装node-sass
- 使用yarn commit 提交代码
- vscode 开启大小写敏感
- vscode插件换位置
- 清除vscode
- vscode 配置
- 全局安装的插件无法使用,说的是什么禁止运行脚本??
- mac配置ssh
- git 配置邮箱/用户名
- 终端查找文件
- vscode外观设置
- 大数据学习路线
- mac
- 装nvm,node包管理工具