Skip to content

duan-yiyi/builds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base

  • babel: es6, es7
  • eslint: airbnb react

Webpack Config

  • loader: css stylus file
  • hmr: dev
  • sourceMap: dev, sit, uat
  • tree shaking
  • uglifyjs: pro

Code

  • react route
  • mobx
  • API mock

server

  • log
  • cluster

run

  • npm run dev:本地开发运行
  • npm run sit:构建SIT包
  • npm run uat:构建UAT包
  • npm run pro: 构建生产包
  • npm run server:运行构建生成的服务端脚本

pwa

  • service worker cache

todo

  • eslint添加prettier
  • git push时候添加gitlab-ci或husky钩子
  • fetchClient中错误统一处理,需要提供弹框的UI
  • 服务端加上gzip
  • pwa mainfest
  • pwa nnotification
  • pwa push
  • 数据接入数据库
  • 参考paw.js修改构建

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published