Boilerplate for Bitrock frontend projects. It's a minimal configuration of a Webpack driven frameworkless project, with PWA compliance and a high Lighthouse score.
It's intended for:
- demonstrate an implementation of our frontend styleguide
- quick POC project
- starting point for more advanced and/or opinionated projects
- Normalize.css & Typebase.css
- AVA & XO
- Cypress
- Webpack
- CSS & SASS loaders
- dev-server
- HTML plugin
- PWA manifest plugin
- Workbox plugin
Clone the project (optionally ) and install dependencies
$ git clone https://github.com/bitrock-frontend/basic-starter-kit my-project
$ cd my-project && yarn
most of the project customization can be achieved via the package.json
file
{
...
"displayName": "Starter kit",
"config": {
"themeColor": "#e74e0f"
},
"description": "Your next awesome project",
...
}
Start the project in development mode (live reload)
$ yarn start
Create a static build in the ./dist
folder
$ yarn build
Run the tests
$ yarn test
Run the build action and deploy to GitHub pages
$ yarn deploy
Developed by Bitrock UI Engineering team, released under the MIT license.