UNPKG

1.56 kBJavaScriptView Raw
1//该配置会被项目目录下'fws_config.js'同键值所取代
2
3module.exports = {
4 //作者名称
5 author:'FWS',
6
7 //作者邮箱
8 mail:'fws@fws.com',
9
10 // //项目名称
11 // projectName:'',
12
13 // //更新者信息
14 // author_update:'',
15 // mail_update:'',
16
17 //图像合并处理引擎,推荐('canvassmith')
18 //由于安装门槛,请在全局或fws成功安装'canvassmith'再启用,否则可能导致出错
19 imgEngine:'',
20
21 listenPort:3000,
22
23 //模版路径
24 tplPath:'',
25
26 //字体路径
27 ttfPath:'',
28
29 //ignore的编译目录,只作拷贝
30 ignoreCompileDir:['node_modules'],
31
32 //资源匹配替换
33 distReplace:{
34 '*':[
35 {
36 find:'feutil.localstatic.com',
37 replace:'pic.my4399.com/re/cms/feUtil'
38 },
39 {
40 find:'$$localhost/staticfile',
41 replace:'pic.my4399.com/re/cms/feUtil'
42 }
43 ]
44 },
45
46 //源文件目录同步路径
47 srcSync:{
48 targetPath:'',
49 fileType:'*'
50 },
51
52 //编译目录同步路径
53 devSync:{
54 targetPath:'',
55 fileType:'*'
56 },
57
58 //发布目录同步路径
59 distSync:{
60 targetPath:'',
61 fileType:'*'
62 },
63
64 //svn信息
65 svn:{
66 pc:{
67 username:"",
68 password:""
69 },
70 mobile:{
71 username:"",
72 password:""
73 }
74 }
75};
\No newline at end of file