2015-01-02 22:46:51 +00:00
|
|
|
|
|
|
|
var conf = {
|
|
|
|
src: "src/",
|
2016-02-16 19:49:10 +00:00
|
|
|
dist: "../mitmproxy/web",
|
|
|
|
static: "../mitmproxy/web/static",
|
2015-01-02 22:46:51 +00:00
|
|
|
js: {
|
|
|
|
// Don't package these in the vendor distribution
|
|
|
|
vendor_excludes: [
|
2015-03-05 00:52:47 +00:00
|
|
|
"bootstrap" // We only use Bootstrap's CSS.
|
2015-01-02 22:46:51 +00:00
|
|
|
],
|
|
|
|
// Package these as well as the dependencies
|
|
|
|
vendor_includes: [
|
|
|
|
],
|
2016-06-09 09:46:14 +00:00
|
|
|
app: 'src/js/app',
|
2015-10-08 10:43:55 +00:00
|
|
|
eslint: ["src/js/**/*.js", "!src/js/filt/filt.js"]
|
2015-01-02 22:46:51 +00:00
|
|
|
},
|
|
|
|
css: {
|
|
|
|
vendor: ["src/css/vendor.less"],
|
|
|
|
app: ["src/css/app.less"]
|
|
|
|
},
|
|
|
|
copy: [
|
2015-10-08 10:43:55 +00:00
|
|
|
"src/images/**", "src/fonts/fontawesome-webfont.*"
|
2015-01-02 22:46:51 +00:00
|
|
|
],
|
|
|
|
templates: [
|
|
|
|
"src/templates/*"
|
|
|
|
],
|
2015-10-08 10:43:55 +00:00
|
|
|
peg: ["src/js/filt/filt.peg"]
|
2015-01-02 22:46:51 +00:00
|
|
|
};
|
|
|
|
|
2016-06-09 09:46:14 +00:00
|
|
|
module.exports = conf;
|