Once it was a simple boilerplate for React Projects section on freeCodeCamp and although it can be used that way, the simplicity is gone...
In terminal:
git clone <repo_url>
rm -rf .git README.md
to get rid of all existing git configs and recordsgit init
to initialize a repo anewgit remote add origin <url>
to add new remote for your projectyarn install
- Edit name, licensing, etc. in
package.json
- Dev build and serving with webpack-dev-server:
yarn start
- Production build:
yarn build
- Run tests:
For more npm scripts check
yarn test
package.json
- Typescript support via ts-loader with source maps
- Efficient transpiling and polyfills with babel-loader, @babel/preset-env and browserslist
- css-modules with TS typings
- Testing with jest and enzyme
- Precommit githook with eslint and prettier
- Autoprefixer
- react-hot-loader