This repository has been archived by the owner on Dec 14, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
115 lines (115 loc) · 1.86 KB
/
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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"assets": {
"ui.brand.css": [
"+src/assets/css/example/*s.less",
"+src/assets/css/dep/*s.less",
"src/assets/css/basic.less",
"src/patterns/**/css/*.less"
],
"ui.brand.js": [
"src/assets/js/*.js",
"src/patterns/**/js/*.js",
"src/patterns/**/js/decorator/*.js",
"src/patterns/**/template/*.js",
"src/patterns/**/template/partial/*.js"
]
},
"nitro": {
"view_file_extension": "html",
"patterns": {
"aaa": {
"template": "project/blueprints/pattern",
"path": "src/patterns/aaa",
"pattern_prefix": "a"
}
}
},
"exporter": [
{
"dest": "dist",
"i18n": [],
"publics": true,
"renames": [
{
"src": "dist/assets/**",
"base": "dist/assets",
"dest": "dist/"
}
],
"replacements": [
{
"glob": ["dist/*.html", "dist/css/*.css"],
"replace": [
{
"from": "/assets/",
"to": ""
}
]
},
{
"glob": ["dist/js/*.js"],
"replace": [
{
"from": "/api",
"to": "api"
}
]
},
{
"glob": ["dist/*.html"],
"replace": [
{
"from": "([a-z]+)\\.(css|js)",
"to": "$1.min.$2"
}
]
}
],
"views": true,
"zip": false
},
{
"dest": "dist2",
"i18n": [],
"publics": true,
"renames": [
{
"src": "dist2/assets/**",
"base": "dist2/assets",
"dest": "dist2/"
}
],
"replacements": [
{
"glob": ["dist2/*.html", "dist2/css/*.css"],
"replace": [
{
"from": "/assets/",
"to": ""
}
]
},
{
"glob": ["dist2/js/*.js"],
"replace": [
{
"from": "/api",
"to": "api"
}
]
},
{
"glob": ["dist2/*.html"],
"replace": [
{
"from": "([a-z]+)\\.(css|js)",
"to": "$1.min.$2"
}
]
}
],
"views": true,
"zip": false
}
]
}