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格式化代码。
关于路径
USE_XXX: 使用脚本时所在路径,./xxxIN_XXX: 开发的脚本所在的路径,path.resolve(__dirname, './xxx')
TODO
-
windows平台:eslint+husky配置~/.huksy中的PATH环境变量 -
windows+mac平台:添加eslint-loader,并配置webpack.dev.js