Package Exports
- zwt-fe
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zwt-fe) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
说明
脚本用于一键安装功能所需依赖,目前支持以下功能:
- eslint+husky:
commit提交代码时校验npm run lint,使用eslint校验代码,通过才可commit。- 使用
npm run lint:fix格式化代码。
- commitlint+git cz+changelog:
- 提交代码时校验
commit message,符合规范的才可提交。 - 使用
git cz代替git commit,用工作流问答的方式填写符合规范的commit message。 - 使用
npm run changelog或npm run changelog:all在CHANGELOG.md生成版本更新记录。
- 提交代码时校验
关于路径
USE_XXX: 使用脚本时所在路径,./xxxIN_XXX: 开发的脚本所在的路径,path.resolve(__dirname, './xxx')
TODO
-
windows平台:eslint+husky配置~/.huksy中的PATH环境变量 -
windows+mac平台:添加eslint-loader、stylelint-webpack-plugin,并配置webpack.dev.js - 安装时可选依赖的
versions版本,添加多个version文件 - 配置
less/css缩进等格式