Skip to content

lovelope/react-project

Repository files navigation

Travis Build Status Github Actions Build Status GitHub license JavaScript Style Guide code style: prettier stylelint (latest) Dependencies status antd (latest) mobx (mobx) webpack (latest) @babel/preset-env (latest) GitHub last commit (branch) GitHub top language PRs Welcome


✨ 功能

  • antd 主题修改
  • editorconfig 文件规范
  • prettier 代码规范
  • eslint
  • stylelint
  • babel@7
  • postcss
  • webpack
  • api proxy 支持环境切换
  • mobx
  • sourceMap 地址替换
  • git commit msg 规范
  • dll 支持

🖥 浏览器兼容性

Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Edge last 2 versions last 2 versions last 2 versions last 2 versions

🔨 使用方法

# 启动命令
npm start

# 切换环境
npm start --qa # qa 环境

# 构建命令
npm run build

🔧 配置切换的文件

tools/switch.config.js

📈TODO

TODO.md