npm install babajka-markup@1.1.4



npm version Build Status semantic-release StackShare

Styles & Markup for Babajka team project

How to use

  • run npm install babajka-markup
  • import files from your node_modules:
    • ../node_modules/babajka-markup/dist/styles/bundle.min.css - all our styles in one file
    • ../node_modules/babajka-markup/dist/styles/assets.min.css - all 3rd-party libs in one file
    • ../node_modules/babajka-markup/dist/fonts


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


  • 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)