yjy-todo
v1.0.0
Published
## 开始
Downloads
3
Readme
链石前端
开始
安装依赖,
$ yarn
启动开发环境,
$ yarn start
项目使用依赖及作用一览
| 依赖 | 主要作用 |
| ----- | --------- |
| @umijs/preset-react | umi的react插件 |
| @umijs/test | umi的测试 |
| lodash | 工具函数 |
| react | react |
| react-dom | react-dom |
| umi | umi |
| @typescript-eslint/eslint-plugin | eslint的ts插件 |
| @typescript-eslint/parser | 使eslint可以解析ts |
| eslint | eslint |
| eslint-config-airbnb-base | eslint airbnb出品的基本规则 |
| eslint-config-prettier | 使prettier规则覆盖eslint规则 |
| eslint-formatter-pretty | eslint报错格式化 |
| eslint-plugin-import | eslint验证正确导入 |
| eslint-plugin-prettier | eslint的prettier插件(启用prettier) |
| eslint-plugin-react | eslint的react插件(检测react代码) |
| lint-staged | 代码提交时可以执行一系列命令 |
| postcss-less | 多样式语言(css,less...)转换 |
| prettier | prettier |
| prettier-stylelint | prettier可以格式化css |
| stylelint | stylelint |
| stylelint-config-prettier | 使prettier规则覆盖stylelint规则 |
| stylelint-config-standard | stylelint通用规则 |
| stylelint-order | 强制样式书写顺序 |
| stylelint-prettier | stylelint的prettier插件(启用prettier) |
| typescript | typescript |
| yapi-to-typescript | 自动将yapi上定义的接口转为typescript的接口定义 |
| yorkie | githooks配置可以简写 |