Skip to content

Latest commit

 

History

History
45 lines (39 loc) · 763 Bytes

React.md

File metadata and controls

45 lines (39 loc) · 763 Bytes

Base

  • lint (eslint, prettier, airbnb)
  • test (jest, enzyme)
  • ci/husky (npm run lint && npm run test && npm run build)
  • lock (package-lock.json/yarn.lock)
  • git editorconfig (LF)

Config

  • dev-server (proxy)
  • uglify (html, css, js -> babel-minify)
  • merge
  • tree-shaking
  • code split
  • postcss
  • svg-split/iconfont
  • env (dev, test, prod)
  • cdn (publicPath)
  • ssr (mobx redux)

Code

  • index.js
  • api
  • utils
  • views
  • ui-components
  • store/stores (redux/mobx)
  • style
  • form
  • dependencies
    • classnames
    • omit.js
    • moment
    • lodash-es
    • normalize.css

Component