aboutsummaryrefslogtreecommitdiffstats
path: root/web/conf.js
blob: 1c90b1cf50b6a18317b0ca8dac869011c8e2078d (plain)
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
var conf = {
    src: "src/",
    dist: "../mitmproxy/tools/web",
    static: "../mitmproxy/tools/web/static",
    js: {
        // Don't package these in the vendor distribution
        vendor_excludes: [
            "bootstrap" // We only use Bootstrap's CSS.
        ],
        // Package these as well as the dependencies
        vendor_includes: [
        ],
        app: 'src/js/app',
        eslint: ["src/js/**/*.js", "!src/js/filt/filt.js"]
    },
    css: {
        vendor: ["src/css/vendor.less"],
        app: ["src/css/app.less"]
    },
    copy: [
        "src/images/**", "src/fonts/fontawesome-webfont.*"
    ],
    templates: [
        "src/templates/*"
    ],
    peg: ["src/js/filt/filt.peg"]
};

module.exports = conf;