forked from michaelmang/style-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
37 lines (37 loc) · 791 Bytes
/
config.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
{
"source": ["input/**/*.json"],
"platforms": {
"scss": {
"transformGroup": "scss",
"buildPath": "output/scss/",
"files": [{
"destination": "_tokens.scss",
"format": "scss/variables"
}]
},
"css": {
"transformGroup": "css",
"buildPath": "output/css/",
"files": [{
"destination": "_tokens.css",
"format": "css/variables"
}]
},
"js": {
"transformGroup": "js",
"buildPath": "output/js/",
"files": [{
"destination": "tokens.js",
"format": "javascript/es6"
}]
},
"json": {
"transformGroup": "js",
"buildPath": "output/json/",
"files": [{
"destination": "tokens.json",
"format": "json/flat"
}]
}
}
}