Just another webpack/babel boilerplate for frontend development
- Webpack (v4.41.2)
- Webpack Dev Server (v3.9.0)
- ES6
- Babel (v7.7.5)
- ESLint (v6.7.2) (with AirBnB config)
- SASS
- Jest (24.9.0) with code coverage reports
- Prettier (1.19.1)
Open a command line session and type
git clone https://github.com/gabrycaos/frontend-boilerplate.git /your/favourite/project/directory/
cd /your/favourite/project/directory/
npm install
Now you're ready to go!
For start your work type
npm start
When your work is finished just type
npm run build
and your project is ready to deploy!
You can test your code with the Jest suite, for start the test you have to type following:
npm run test
For testing in watch mode, you have to type
npm run test-watch
After run npm run test
you have a table in your terminal with a brief coverage report of your tests, and in the root of the project will be created a coverage
directory with some coverage reports and file useful for your static code quality tools (e.g SonarQube)