mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
1959aebc08
- Extract conf - all project specific conf outside gulpfile - Generalize filt.js exports, add required imports
33 lines
759 B
JavaScript
33 lines
759 B
JavaScript
|
|
var conf = {
|
|
src: "src/",
|
|
dist: "../libmproxy/web",
|
|
static: "../libmproxy/web/static",
|
|
js: {
|
|
// Don't package these in the vendor distribution
|
|
vendor_excludes: [
|
|
"bootstrap"
|
|
],
|
|
// Package these as well as the dependencies
|
|
vendor_includes: [
|
|
"react/addons"
|
|
],
|
|
app: 'src/js/app.js',
|
|
jshint: ["src/js/**.js", "!src/js/filt/filt.js"]
|
|
},
|
|
css: {
|
|
vendor: ["src/css/vendor.less"],
|
|
app: ["src/css/app.less"]
|
|
},
|
|
copy: [
|
|
"src/images/**",
|
|
],
|
|
templates: [
|
|
"src/templates/*"
|
|
],
|
|
fonts: ["src/fontawesome/fontawesome-webfont.*"],
|
|
peg: ["src/js/filt/filt.peg"],
|
|
port: 8082
|
|
};
|
|
|
|
module.exports = conf; |