This is a full setup for es6 + react + redux + Typescript + jest + antd + webpack4 development
Browser & OS Support:
![]() |
![]() |
![]() |
![]() |
![]() |
|---|---|---|---|---|
| Latest ✔ | Latest ✔ | 10+ ✔ | Latest ✔ | 6.1+ ✔ |
Ready for production setup for react development. Here are some highlights:
- Latest stable dependencies
- Fully optimized production build with gzip, uglyfy and tree shaking
- Application served with Nginx docker container
+-- README.md
+-- app-build
+-- webpack-config // webpack configuration
+-- src
| | +-- assets
| | | +-- fonts
| | | +-- i18n
| | | +-- images
| | +-- Welcome //feature dir
| | +-- index.html // entry html file
| | +-- App.jsx // all components
| | +-- Store.jsx //redux store
| | +-- Reducers.jsx //all reducers
| | +-- Routes.jsx //routing file
| | +-- index.jsx // entry for pages
| | +-- Widgets.scss //global css configuration
+-- node_modules
+-- package.json
+-- Dockerfile
- Under
reactjs-seed, donpm install - Enter
npm run startand open your browser enterlocalhost:4000
npm run cleandelete the the current buildnpm run lintsyntax check for entire projectnpm run buildpackage the projectnpm run serverstart localhostnpm run productionmake production buildnpm run startequals tonpm run buildandnpm run server
npm run production && docker build .build imagedocker run -d -p 80:80 [IMAGE_ID]run container pages should be ready onhttp://localhost




