diff --git a/.bem/make.js b/.bem/make.js index e7cbe9f67..bd9fb72ff 100644 --- a/.bem/make.js +++ b/.bem/make.js @@ -21,7 +21,7 @@ MAKE.decl('Arch', { blocksLevelsRegexp : /^.+?\.blocks$/, bundlesLevelsRegexp : /^.+?\.bundles$/, - libraries : [ 'bem-pr@0.5.3' ], + libraries : [], createCustomNodes : function(common, libs, blocks) { var SetsNode = MAKE.getNodeClass('SetsNode'); diff --git a/.bowerrc b/.bowerrc new file mode 100644 index 000000000..927ea78bd --- /dev/null +++ b/.bowerrc @@ -0,0 +1,4 @@ +{ + "directory": "libs" +} + diff --git a/README.md b/README.md index 62153802c..78910681a 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ or an alternative way to run locally-installed [bem-tools](https://github.com/be 3. Install all the necessary libraries: ``` -$ bem make libs +$ bower-npm-install ``` 4. Build examples and tests: diff --git a/README.ru.md b/README.ru.md index f3a7d5b2b..a1313d30c 100644 --- a/README.ru.md +++ b/README.ru.md @@ -73,9 +73,9 @@ $ npm install Для последующего запуска локально установленных [bem-tools](https://github.com/bem/bem-tools) нам потребуется `export PATH=./node_modules/.bin:$PATH` или любой альтернативный способ. -3. С помощью bem-tools устанавливаем все зависимые библиотеки: +3. Устанавливаем зависимые библиотеки: ``` -$ bem make libs +$ bower-npm-install ``` 4. Собираем примеры и тесты: diff --git a/bower.json b/bower.json index 0b9d524a0..93dbc4685 100644 --- a/bower.json +++ b/bower.json @@ -13,6 +13,9 @@ "authors": [ "Sergey Belov " ], + "devDependencies": { + "bem-pr": "git://github.com/narqo/bem-pr.git#~0.6.1" + }, "license": "MIT", "private": true, "ignore": [ diff --git a/package.json b/package.json index cf01106b7..1c2aa25ca 100644 --- a/package.json +++ b/package.json @@ -25,10 +25,11 @@ "jshint": "2.1.8", "jshint-groups": "0.5.1", "jscs": "1.0.0", - "git-hooks": "0.0.3" + "git-hooks": "0.0.3", + "bower-npm-install": "~0.5.4" }, "scripts": { - "libs": "bem make libs", + "libs": "bower-npm-install", "bem-test": "npm run libs && bem make sets", "test": "npm run bem-test && mocha --ui tdd --reporter spec common.blocks/i-bem/i-bem.test.bemhtml/*-test.js common.blocks/i-bem/__i18n/test/*-test.js common.blocks/i-bem/__i18n/i-bem__i18n.test.bemhtml/*-test.js" }