ihnat / babajka-markup

Styles & Markup for Babajka

Home Page:https://babajka.github.io/babajka-markup/storybook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

babajka-markup

npm version Build Status semantic-release StackShare

Styles & Markup for Babajka team project

Development

proper commit naming

We have autopublishing to npm registry and package autoversioning set up. In order to introduce a new package version one should follow the conventions:

  • fix(<scope>): <subject> - increases patch version: 1.0.0 -> 1.0.1
  • style(<scope>): <subject> - increases patch version: 1.0.0 -> 1.0.1
  • feat(<scope>): <subject> - increases minor version: 1.0.0 -> 1.1.0
  • major(<scope>): <subject> - increases major version: 1.0.0 -> 2.0.0

Autopushing is performed by Travis and only triggered when pushing (single commit or PR) into master branch.

All commit messages checked with commitlint. Feel free to add new scope's and type's to .commitlintrc.js

scripts

  • npm run build for build css bundles and html templates, after that you will have: _ dist/styles/bundle.css - all our styles in one file _ dist/styles/bundle.min.css - minified production build _ dist/styles/assets.min.css - all 3dparty libs in one file _ dist/fonts/ - FontAwesome fonts * dist/images - images

  • npm start or npm run watch:

    • build all static
    • start dev server on localhost:3001
    • watch for changes, recompile styles and templates and reload page
  • npm run storybook for start development playground / styleguide

  • npm run storybook:build - check out deployed version

enjoy coding!

  • npm run lint to check sass & html codestyle
  • npm run deploy for hosting templates under github-pages
  • npm run release for publish new version of markups (automatically run prerelease & postrelease scripts)

About

Styles & Markup for Babajka

https://babajka.github.io/babajka-markup/storybook

License:Apache License 2.0


Languages

Language:HTML 55.0%Language:CSS 29.3%Language:JavaScript 15.5%Language:Shell 0.3%