-
Notifications
You must be signed in to change notification settings - Fork 4
/
.bemy.json
71 lines (71 loc) · 1.95 KB
/
.bemy.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"file-types": {
"css": {
"suffix": ".css",
"shortcuts": [ "c", "css" ],
"rename": ".{{bemNode}}",
"template": "stub/style/style.css"
},
"styl": {
"suffix": ".styl",
"shortcuts": [ "s", "styl" ],
"rename": ".{{bemNode}}",
"template": "stub/style/style.styl"
},
"deps": {
"suffix": ".deps.js",
"shortcuts": [ "d", "deps" ],
"template": "stub/depend/depend.deps.js"
},
"deps_dom": {
"suffix": ".deps.js",
"shortcuts": [ "dd", "ddom", "deps_dom" ],
"template": "stub/depend/_dom/depend_dom.deps.js"
},
"bh": {
"suffix": ".bh.js",
"shortcuts": [ "b", "bh" ],
"rename": "match('{{bemNode}}",
"template": "stub/template/template.bh.js"
},
"priv": {
"suffix": ".priv.js",
"shortcuts": [ "p", "priv" ],
"rename": [ "declare('{{bemNode}}", "block: '{{bemNode}}'", "block:'{{bemNode}}'" ],
"template": "stub/template/template.priv.js"
},
"js_bl": {
"suffix": ".js",
"shortcuts": [ "jbl", "js_bl" ],
"rename": "decl('{{bemNode}}",
"template": [ "stub/script/_bl/script_bl.js" ]
},
"js": {
"suffix": ".js",
"shortcuts": [ "j", "js" ],
"rename": [ "modules.define('{{bemNode}}", "@module {{bemNode}}", "@exports {{bemNode}}" ],
"template": [ "stub/script/script.js" ]
},
"js_dom": {
"suffix": ".js",
"shortcuts": [ "jdom", "js_dom" ],
"rename": [ "@module {{bemNode}}", "@class {{bemNode}}", "@lends {{bemNode}}", "@exports {{bemNode}}" ],
"template": [ "stub/script/_dom/script_dom.js" ]
}
},
"editor-open-command": "wstorm {{file-path}}:{{line-number}}",
"bem": {
"separators": {
"elem": "__",
"mod": "_",
"modVal": "_"
},
"allowed-name-symbols-regexp": "[-a-z0-9]"
},
"deps_task": {
"files": [ "css" ]
},
"auto_dir": [ "css", "js" ],
"debug": false,
"checkForUpdate": true
}