This project is training to understand and use efficiently Bootstrap framework.
This project uses Webpack and Node.js modules in order to process source files.
You must have them installed in order to compile assets.
Install dependencies:
yarn install
Assets compilation commands are:
yarn run dev
: run assets compilation for dev environmentyarn run dev-watch
: run assets compilation for dev environment + launch a watcheryarn run prod
: run assets compilation for prod environment (assets optimization)
yarn run eslint
: run eslint in projectyarn run eslint-fix
: run eslint in project to fix errorsyarn run stylelint
: run stylelint in projectyarn run stylelint-fix
: run stylelint in project to fix errors
This project uses browserlist, Autoprefixer and Babel to manage cross-browser compatibility. The scope of supported browsers is :
- the last 2 versions of all browsers
- additionally, all versions that count more than 0.5% of market shares worldwide
- additionally, Firefox ESR (Extended Support Release) version
- excluding all browsers not developed or maintained anymore
- excluding Opera Mini
- alpha and beta versions not released yet
The complete list of supported browsers and versions can be found here.