Skip to content

Instantly share code, notes, and snippets.

@isaacsanders
Last active May 23, 2016 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacsanders/080b1a2df5f7b6cf26d68822f83f5de8 to your computer and use it in GitHub Desktop.
Save isaacsanders/080b1a2df5f7b6cf26d68822f83f5de8 to your computer and use it in GitHub Desktop.
exports.config = {
files: {
javascripts: {
joinTo: "js/app.js"
},
stylesheets: {
joinTo: "css/app.css"
},
templates: {
joinTo: "js/app.js"
}
},
conventions: {
assets: /^(web\/static\/assets)/
},
paths: {
watched: [
"web/static",
"web/elm",
"test/static"
],
public: "priv/static"
},
plugins: {
babel: {
presets: ["es2015", "react"],
ignore: [/web\/static\/vendor/]
},
elmBrunch: {
elmFolder: "web/elm",
mainModules: [
"Main.elm"
],
outputFolder: "../static/vendor"
}
},
modules: {
autoRequire: {
"js/app.js": ["web/static/js/app"]
}
},
npm: {
enabled: true,
whitelist: [
"phoenix",
"phoenix_html",
"react",
"react-dom",
"ag-grid",
"ag-grid-react"
]
}
};
{
"repository": {},
"dependencies": {
"ag-grid": "~4.1.1",
"ag-grid-react": "~4.1.1",
"babel-brunch": "~6.0.0",
"babel-preset-react": "^6.5.0",
"brunch": "~2.1.3",
"brunch-typescript": "1.6.3",
"clean-css-brunch": "~1.8.0",
"css-brunch": "~1.7.0",
"elm-brunch": "~0.4.4",
"javascript-brunch": "~1.8.0",
"phoenix": "file:deps/phoenix",
"phoenix_html": "file:deps/phoenix_html",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"styl-brunch": "^2.0.0",
"uglify-js-brunch": "~1.7.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment