bem-react-helper
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -7,2 +7,6 @@ # Change Log | ||
## [1.1.2] - 2017-10-06 | ||
### Fixed | ||
- `prepublishOnly` instead of `prepublish`. | ||
## [1.1.1] - 2017-06-30 | ||
@@ -18,3 +22,4 @@ ### Fixed | ||
[1.1.2]: https://github.com/igoradamenko/bem-react-helper/compare/v1.1.1...v1.1.2 | ||
[1.1.1]: https://github.com/igoradamenko/bem-react-helper/compare/v1.1.0...v1.1.1 | ||
[1.1.0]: https://github.com/igoradamenko/bem-react-helper/compare/v1.0.0...v1.1.0 |
{ | ||
"name": "bem-react-helper", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Allows you to easily manage BEM mods & mixes in React", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"test": "jasmine", | ||
"prepublish": "npm run test && npm run build" | ||
"prepublishOnly": "npm run test && npm run build" | ||
}, | ||
@@ -14,0 +14,0 @@ "babel": { |
# BEM React Helper | ||
[<img src="https://igoradamenko.com/funbox/gitbadge.svg" width="235" align="right">](http://funbox.ru/pages/vacancy.html) | ||
[![Travis](https://img.shields.io/travis/igoradamenko/bem-react-helper.svg)](https://travis-ci.org/igoradamenko/bem-react-helper) | ||
@@ -89,4 +91,3 @@ [![npm](https://img.shields.io/npm/v/bem-react-helper.svg)](https://www.npmjs.com/package/bem-react-helper) | ||
{ | ||
mods.type === 'primary' && | ||
( | ||
mods.type === 'primary' && ( | ||
<span className="block__star">★</span> | ||
@@ -110,4 +111,4 @@ ) | ||
They bloat code but don't do anything useful. | ||
Also I believe that write plain classes is faster than use any wrappers around it. | ||
Also I believe that to write plain classes is faster than to use any wrappers around it. | ||
So this helper solves just one problem (the main, I think) — it removes conditions for modifiers and mixes in block's declaration. | ||
So this helper solves just one problem (the main) — it removes conditions for modifiers and mixes in block's declaration. |
7279
113