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 start
and open your browser enterlocalhost:4000
npm run clean
delete the the current buildnpm run lint
syntax check for entire projectnpm run build
package the projectnpm run server
start localhostnpm run production
make production buildnpm run start
equals tonpm run build
andnpm run server
npm run production && docker build .
build imagedocker run -d -p 80:80 [IMAGE_ID]
run container pages should be ready onhttp://localhost