Created
November 21, 2015 15:16
-
-
Save chvanikoff/f14a449e705c90b7730a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "xpn", | |
"version": "0.0.0", | |
"dependencies": { | |
"jquery": "~2.1.4", | |
"bootstrap": "~3.3.5" | |
}, | |
"overrides": { | |
"bootstrap": { | |
"main": [ | |
"dist/js/bootstrap.min.js", | |
"dist/css/bootstrap.min.css", | |
"dist/fonts/glyphicons-halflings-regular.eot", | |
"dist/fonts/glyphicons-halflings-regular.svg", | |
"dist/fonts/glyphicons-halflings-regular.ttf", | |
"dist/fonts/glyphicons-halflings-regular.woff", | |
"dist/fonts/glyphicons-halflings-regular.woff2" | |
] | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.config = { | |
files: { | |
javascripts: { | |
joinTo: { | |
"js/app.js": /^(web\/static\/js)/, | |
"js/vendor.js": /^bower_components|(deps\/phoenix\/web\/static)|(deps\/phoenix_html\/web\/static)/ | |
}, | |
order: { | |
before: [ | |
"bower_components/jquery/dist/jquery.min.js" | |
] | |
} | |
}, | |
stylesheets: { | |
joinTo: { | |
"css/app.css": /^(web\/static\/css)/, | |
"css/vendor.css": /^bower_components|(deps\/phoenix\/web\/static)|(deps\/phoenix_html\/web\/static)/ | |
}, | |
order: { | |
before: [ | |
"bower_components/bootstrap/dist/css/bootstrap.min.css" | |
] | |
} | |
}, | |
templates: { | |
joinTo: "js/app.js" | |
} | |
}, | |
conventions: { | |
assets: /^(web\/static\/assets)|(bower_components\/bootstrap\/dist\/fonts)/ | |
}, | |
paths: { | |
watched: [ | |
"deps/phoenix/web/static", | |
"deps/phoenix_html/web/static", | |
"web/static", | |
"test/static" | |
], | |
public: "priv/static" | |
}, | |
plugins: { | |
babel: { | |
// Do not use ES6 compiler in vendor code | |
ignore: [/web\/static\/vendor/] | |
}, | |
afterBrunch: [ | |
[ | |
'mkdir -p priv/static/fonts', | |
'mv priv/static/glyphicons-halflings-regular.* priv/static/fonts/' | |
].join(' && ') | |
] | |
}, | |
modules: { | |
autoRequire: { | |
"js/app.js": ["web/static/js/app"] | |
} | |
}, | |
npm: { | |
enabled: true | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"repository": { | |
}, | |
"dependencies": { | |
"brunch": "^1.8.5", | |
"babel-brunch": "^5.1.1", | |
"clean-css-brunch": ">= 1.0 < 1.8", | |
"css-brunch": ">= 1.0 < 1.8", | |
"javascript-brunch": ">= 1.0 < 1.8", | |
"uglify-js-brunch": ">= 1.0 < 1.8", | |
"after-brunch": "> 0.0.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment