Last active
December 26, 2015 06:24
-
-
Save danschultz/915444062b9c5663f934 to your computer and use it in GitHub Desktop.
Phoenix node_modules, brunch config
This file contains hidden or 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 = { | |
// See http://brunch.io/#documentation for docs. | |
files: { | |
javascripts: { | |
joinTo: "js/app.js" | |
// To use a separate vendor.js bundle, specify two files path | |
// https://github.com/brunch/brunch/blob/stable/docs/config.md#files | |
// joinTo: { | |
// "js/app.js": /^(web\/static\/js)/, | |
// "js/vendor.js": /^(web\/static\/vendor)|(deps)/ | |
// } | |
// | |
// To change the order of concatenation of files, explicitly mention here | |
// https://github.com/brunch/brunch/tree/master/docs#concatenation | |
// order: { | |
// before: [ | |
// "web/static/vendor/js/jquery-2.1.1.js", | |
// "web/static/vendor/js/bootstrap.min.js" | |
// ] | |
// } | |
}, | |
stylesheets: { | |
joinTo: "css/app.css" | |
}, | |
templates: { | |
joinTo: "js/app.js" | |
} | |
}, | |
conventions: { | |
// This option sets where we should place non-css and non-js assets in. | |
// By default, we set this to "/web/static/assets". Files in this directory | |
// will be copied to `paths.public`, which is "priv/static" by default. | |
assets: /^(web\/static\/assets)/ | |
}, | |
// Phoenix paths configuration | |
paths: { | |
// Dependencies and current project directories to watch | |
watched: [ | |
"../../deps/phoenix/web/static", | |
"../../deps/phoenix_html/web/static", | |
"web/static", | |
"test/static" | |
], | |
// Where to compile files to | |
public: "priv/static" | |
}, | |
// Configure your plugins | |
plugins: { | |
babel: { | |
// Do not use ES6 compiler in vendor code | |
ignore: [/web\/static\/vendor/] | |
} | |
}, | |
modules: { | |
autoRequire: { | |
"js/app.js": ["web/static/js/app"], | |
"js\\app.js": ["web/static/js/app"] | |
} | |
}, | |
npm: { | |
enabled: true | |
} | |
}; |
This file contains hidden or 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
accepts | |
acorn | |
amdefine | |
ansi-color | |
ansi-green | |
ansi-regex | |
ansi-styles | |
ansi-wrap | |
anymatch | |
anysort | |
arr-diff | |
arr-flatten | |
array-flatten | |
array-unique | |
arrify | |
ast-types | |
async | |
async-each | |
babel-brunch | |
babel-code-frame | |
babel-core | |
babel-generator | |
babel-helper-call-delegate | |
babel-helper-define-map | |
babel-helper-function-name | |
babel-helper-get-function-arity | |
babel-helper-hoist-variables | |
babel-helper-optimise-call-expression | |
babel-helper-regex | |
babel-helper-replace-supers | |
babel-helpers | |
babel-messages | |
babel-plugin-check-es2015-constants | |
babel-plugin-syntax-async-functions | |
babel-plugin-transform-es2015-arrow-functions | |
babel-plugin-transform-es2015-block-scoped-functions | |
babel-plugin-transform-es2015-block-scoping | |
babel-plugin-transform-es2015-classes | |
babel-plugin-transform-es2015-computed-properties | |
babel-plugin-transform-es2015-destructuring | |
babel-plugin-transform-es2015-for-of | |
babel-plugin-transform-es2015-function-name | |
babel-plugin-transform-es2015-literals | |
babel-plugin-transform-es2015-modules-commonjs | |
babel-plugin-transform-es2015-object-super | |
babel-plugin-transform-es2015-parameters | |
babel-plugin-transform-es2015-shorthand-properties | |
babel-plugin-transform-es2015-spread | |
babel-plugin-transform-es2015-sticky-regex | |
babel-plugin-transform-es2015-template-literals | |
babel-plugin-transform-es2015-typeof-symbol | |
babel-plugin-transform-es2015-unicode-regex | |
babel-plugin-transform-regenerator | |
babel-plugin-transform-strict-mode | |
babel-preset-es2015 | |
babel-register | |
babel-runtime | |
babel-template | |
babel-traverse | |
babel-types | |
babylon | |
balanced-match | |
batch | |
binary-extensions | |
brace-expansion | |
braces | |
browser-resolve | |
brunch | |
camelcase | |
chalk | |
chokidar | |
clean-css | |
clean-css-brunch | |
coffee-script | |
commander | |
commonjs-require-definition | |
component-builder | |
component-require | |
concat-map | |
connect-slashes | |
content-disposition | |
content-type | |
convert-source-map | |
cookie | |
cookie-signature | |
core-js | |
core-util-is | |
cp | |
css-brunch | |
date-utils | |
debug | |
decamelize | |
defined | |
depd | |
deppack | |
destroy | |
detect-indent | |
detective | |
ee-first | |
escape-html | |
escape-string-regexp | |
esprima | |
esutils | |
etag | |
expand-brackets | |
expand-range | |
express | |
extglob | |
fcache | |
filename-regex | |
fill-range | |
finalhandler | |
for-in | |
for-own | |
forwarded | |
fresh | |
fsevents | |
get-stdin | |
glob | |
glob-base | |
glob-parent | |
globals | |
graceful-fs | |
graceful-readlink | |
growl | |
has-ansi | |
home-or-tmp | |
http-errors | |
inflight | |
inherits | |
init-skeleton | |
invariant | |
ipaddr.js | |
is-binary-path | |
is-buffer | |
is-dotfile | |
is-equal-shallow | |
is-extendable | |
is-extglob | |
is-finite | |
is-glob | |
is-integer | |
is-number | |
is-primitive | |
isarray | |
isobject | |
javascript-brunch | |
js-tokens | |
jsesc | |
json5 | |
kind-of | |
left-pad | |
line-numbers | |
lodash | |
loggy | |
loose-envify | |
media-typer | |
merge-descriptors | |
methods | |
micromatch | |
mime | |
mime-db | |
mime-types | |
minimatch | |
minimist | |
mkdirp | |
ms | |
nan | |
ncp | |
negotiator | |
normalize-path | |
number-is-nan | |
object.omit | |
on-finished | |
once | |
os-tmpdir | |
parse-glob | |
parseurl | |
path-exists | |
path-is-absolute | |
path-to-regexp | |
preserve | |
private | |
process-nextick-args | |
proxy-addr | |
pushserve | |
qs | |
quickly-copy-file | |
randomatic | |
range-parser | |
read-components | |
readable-stream | |
readdirp | |
recast | |
regenerate | |
regex-cache | |
regexpu | |
regjsgen | |
regjsparser | |
repeat-element | |
repeat-string | |
repeating | |
resolve | |
rimraf | |
send | |
serve-static | |
shebang-regex | |
slash | |
source-map | |
source-map-support | |
statuses | |
string-to-js | |
string_decoder | |
strip-ansi | |
success-symbol | |
supports-color | |
tmp | |
to-fast-properties | |
trim-right | |
type-is | |
uglify-js | |
uglify-js-brunch | |
uglify-to-browserify | |
unpipe | |
user-home | |
util-deprecate | |
utils-merge | |
vary | |
window-size | |
wordwrap | |
wrappy | |
yargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment