-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdefault.json
More file actions
89 lines (89 loc) · 3.54 KB
/
default.json
File metadata and controls
89 lines (89 loc) · 3.54 KB
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
{
"app": { // Beez Foundation Server configure
"stat": { // Static Server configure
"compress": true, // gzip
"port": 1109, // listen port
"header": { // Add response header
"Access-Control-Allow-Origin" : "*",
"Access-Control-Allow-Methods": "GET, OPTIONS",
"Access-Control-Allow-Headers": "*"
},
"include": null // Setting in the configuration file of a different environment
},
"mock": { // Mock Server configure
"use": true, // use mock?
"compress": true, // gzip
"port": 1121, // listen port
"header": { // Add response header
"Access-Control-Allow-Origin" : "*",
"Access-Control-Allow-Methods": "GET, OPTIONS",
"Access-Control-Allow-Headers": "*"
},
"include": null // Mock data folder setting
},
"operation": [
]
},
"stats": {}, // Set to refer to the local folder
"bootstrap": {
"html": [ "*/index/index.html.hbs" ], // "[env][key].html" files match the pattern
"datamain": [ "*/index/require.beez.js.hbs", "*/tutorial/require.beez.js.hbs" ] // "beez.require.[env][key].js" files match the pattern
},
"stylus": {
"options": { // @see http://learnboost.github.io/stylus/docs/executable.html
"encode": "utf-8",
"compress": true,
"firebug": false,
"linenos": false,
"nib": true, // stylus nib on/of
"url": {}, // @see http://learnboost.github.io/stylus/docs/functions.url.html
"fn": {} // variable that can be used with stylus file
},
"extend": { // Overwrite the case of mobile data
"condition": {
"ua": [ "android", "ios" ]
},
"content": {
"options": {}
}
}
},
"image": { // Image convert configure
"options": {
"baseRatio": 2, // base ratio
"ratios": [ 1, 1.5, 2, 3 ], // generate ratio
"extnames": [ ".png" ], // extension to be converted
"include": [], // directory or file you want to resize
"exclude": [], // directory or file you want not to resize
"separator": "-" // separator to be used in a output file name
}
}, // Sprite sheet configure
"sprite": {
"options": {
"ratios": [ 1, 1.3, 1.5, 2 ], // generate ratio
"extnames": [ ".png", ".jpg" ], // extension to convert
"heads": [ "sprite", "_sprite" ], // prefix of filename to convert
"separator": "-", // separator to be used in a output file name
"overwrite": true // overwrite spritesheet or not
// "logpath": "/project/temp", // place of stat log
// "logname": ".sprite" // name of stat log
}
},
"deploy": {
"optipng": {
"use": true
},
"jpegoptim": {
"use": true
},
"pngquant": {
"use": true
},
"include": [ "dist/*/index.js", "dist/index/require.beez.*.js", "*.html", "*.css", "*.png", "*.jpg", "*.gif", "*.ttf", "*.eot", "*.woff" ], // files you want to deploy
"exclude": [ "_*.css", "_*.png", "_*.jpg", "_*.gif", "_*.ttf", "_*.eot", "_*.woff" ] // files you want not to deploy
},
"ignore": {
"include": [], // files to be included in the product
"exclude": [] // exclude files from the product
}
}