Skip to content

Commit

Permalink
Switch to bem-core v4, bem-components v5, drop bower
Browse files Browse the repository at this point in the history
  • Loading branch information
tadatuta committed Jan 8, 2017
1 parent c4970e6 commit 6d7fee3
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 33 deletions.
4 changes: 2 additions & 2 deletions .borschik
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"freeze_paths" : {
"libs/**": ":base64:",
"libs/**/*.svg": ":encodeURIComponent:",
"node_modules/**": ":base64:",
"node_modules/**/*.svg": ":encodeURIComponent:",
"*.blocks/**": ":base64:",
"*.blocks/**/*.svg": ":encodeURIComponent:"
}
Expand Down
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

13 changes: 6 additions & 7 deletions .enb/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ var techs = {
},
enbBemTechs = require('enb-bem-techs'),
levels = [
{ path: 'libs/bem-core/common.blocks', check: false },
{ path: 'libs/bem-core/desktop.blocks', check: false },
{ path: 'libs/bem-components/common.blocks', check: false },
{ path: 'libs/bem-components/desktop.blocks', check: false },
{ path: 'libs/bem-components/design/common.blocks', check: false },
{ path: 'libs/bem-components/design/desktop.blocks', check: false },
{ path: 'libs/bem-history/common.blocks', check: false },
{ path: 'node_modules/bem-core/common.blocks', check: false },
{ path: 'node_modules/bem-core/desktop.blocks', check: false },
{ path: 'node_modules/bem-components/common.blocks', check: false },
{ path: 'node_modules/bem-components/desktop.blocks', check: false },
{ path: 'node_modules/bem-components/design/common.blocks', check: false },
{ path: 'node_modules/bem-components/design/desktop.blocks', check: false },
'common.blocks'
];

Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ static/index.min.*

# bem
.enb/tmp/
libs/
*bundles*/*/*.*
!*bundles*/*/*.bemdecl.js
*bundles*/*/*.tmpl.bemdecl.js
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Almost the same as [project-stub](https://github.com/bem/project-stub/) but with
git clone https://github.com/bem/bem-express.git
cd bem-express
npm i
enb make
```

## Development
Expand Down
15 changes: 0 additions & 15 deletions bower.json

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"author": "Vladimir Grinenko",
"name": "bem-express",
"version": "1.0.0",
"version": "2.0.0",
"repository": {
"type": "git",
"url": "[email protected]:tadatuta/bem-express.git"
Expand Down Expand Up @@ -29,7 +29,8 @@
"serve-static": "^1.10.2"
},
"devDependencies": {
"bower": "^1.7.9",
"bem-components": "^5.0.0",
"bem-core": "^4.1.1",
"chokidar": "^1.6.1",
"chokidar-cli": "^1.2.0",
"enb": "^1.3.0",
Expand All @@ -45,8 +46,7 @@
},
"scripts": {
"start": "node server",
"postinstall": "npm run deps",
"deps": "bower i",
"postinstall": "npm run make",
"make": "enb make",
"dev": "npm run make && nodemon",
"watch": "chokidar '*.blocks/**' --initial -c 'enb make && notify -t bem-express -m Built'"
Expand Down

0 comments on commit 6d7fee3

Please sign in to comment.