Skip to content
This repository has been archived by the owner on Feb 6, 2018. It is now read-only.

Commit

Permalink
Merge pull request #98 from bem-sdk/issue-95
Browse files Browse the repository at this point in the history
chore(package): rename package
  • Loading branch information
blond committed Feb 14, 2017
2 parents 5ecd36b + ccc741c commit e5098c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ Tool for traversing a BEM project's file system.
[![Coverage Status][coverage-img]][coveralls]
[![Dependency Status][david-img]][david]

[npm]: https://www.npmjs.org/package/bem-walk
[npm-img]: https://img.shields.io/npm/v/bem-walk.svg
[npm]: https://www.npmjs.org/package/@bem/walk
[npm-img]: https://img.shields.io/npm/v/@bem/walk.svg

[travis]: https://travis-ci.org/bem-sdk/bem-walk
[test-img]: https://img.shields.io/travis/bem-sdk/bem-walk.svg?label=tests
Expand All @@ -36,15 +36,15 @@ It returns the following information about found files:
### 1. Install bem-walk

```
$ npm install --save bem-walk
$ npm install --save @bem/walk
```

### 2. Enable bem-walk

Create a JavaScript file with any name and add the following string:

```js
const walk = require('bem-walk');
const walk = require('@bem/walk');
```

**Note** You will use this JavaScript file for all the following steps.
Expand Down Expand Up @@ -136,7 +136,7 @@ stream.on('end', () => console.log(files));
When all these steps have been completed, the full code of the JavaScript file should look like this:

```js
const walk = require('bem-walk');
const walk = require('@bem/walk');
const config = require('bem-config')();
const levels = [
'libs/bem-components/common.blocks',
Expand Down Expand Up @@ -195,7 +195,7 @@ Typical tasks that use the resulting JavaScript objects:
> Grouping found files by block name.
```js
const walk = require('bem-walk');
const walk = require('@bem/walk');
const config = require('bem-config')();
const util = require('util');
const levels = [
Expand Down Expand Up @@ -239,7 +239,7 @@ const stream = walk(levels, {
> Finding files for the `popup` block.
```js
const walk = require('bem-walk');
const walk = require('@bem/walk');
const config = require('bem-config')();
const levels = [
'libs/bem-components/common.blocks',
Expand Down Expand Up @@ -282,7 +282,7 @@ const stream = walk(levels, {
```js
const fs = require('fs');
const walk = require('bem-walk');
const walk = require('@bem/walk');
const config = require('bem-config')();
const stringify = require('JSONStream').stringify;
const through2 = require('through2');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "bem-walk",
"name": "@bem/walk",
"version": "1.0.0-1",
"description": "Walk easily thru BEM file structure",
"keywords": [
Expand Down

0 comments on commit e5098c6

Please sign in to comment.