{
    "port": 8080,
    "hostname": "0.0.0.0",
    "protocol": "http",
    "main": "index.html",
    "plugins":[{
        "name": "mock",
        "open": true,
        "param": {
            "datapath": "mock/",
            "pagepath": "page", //page mock data path, default same as page file with .json or .mjson
            "mockrc": ".mockrc", //相对mock datapath 可用绝对路径
            "ignore": ["html", "jpg", "png", "gif"],
            "regexurl": {
            }
        }
    },{
        "name": "pagemock",
        "open": true,
        "param": {
            "basepath": "mock/page", //"", //default: 同级目录
            "mockrc": "../.mockrc", //基于basepath 可与mock同用 可用绝对路径
            "acceptExts": ["php", "html", "vm"] //监听的页面扩展
        }
    }]
}
// more config information see https://www.npmjs.com/package/servermock
