This README would normally document whatever steps are necessary to get your application up and running.
- Quick summary
- Version
- https://bitbucket.org/mobilelive/mobilelive-design-system-static-components/src/master/)
It uses:
- SCSS with linting and autoprefixer
- JavaScript with webpack using babel and linting
- html partials and minify with post-html
- browser-sync
The compiled files will go to the directory "/dist"
- from
src/scss
todist/index.css
- from
src/js
todist/bundle.js
- from
src/views
todist/
- Install dependencies
npm install
- Build resources
npm run build
- Watch for changes
npm run watch
for all files: npx prettier --write . npx prettier --write */.scss
npx stylelint */.scss
.pre-commit-config.yaml
- Have configs of pre commit hooks
.stylelintrc
- Have standard configurations of liniting
- some custom pre defined rules can be over ride