Sha256: 51fbf1abf02c058ab0ef4ed4f4cae3831d2b1859d7d9d7e3cb0c81d1030faa33

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

exports.config =
  npm:
    enabled: true
    globals:
        _: 'lodash'
        angular: 'angular'
    styles:
        "bootstrap": ["dist/css/bootstrap.css"]
        "bootstrap-additions": ["dist/bootstrap-additions.css"]
        "angular-motion": ["dist/angular-motion.css"]
        "angular-ui-tree": ["dist/angular-ui-tree.css"]
        "font-awesome": ["css/font-awesome.css"]

  modules:
    definition: 'commonjs'
    wrapper: false

  paths:
    public: 'public'
    watched: ['app']

  files:
    javascripts:
      joinTo:
        'engine2vendor.js': /^node_modules|bower_components/
        'engine2.js': /^app/

    stylesheets:
      joinTo:
        'engine2vendor.css': /^node_modules/
        'engine2app.css': /^app/
      order:
        before: [
          /bootstrap.css$/
        ]

  plugins:
    on: ["ng-annotate-brunch"]

    uglify:
      mangle: true
      compress:
        global_defs:
          DEBUG: false

    replacement:
      replacements: [
        files: [/vendor.js$/]
        match: (
            fix = "$modal.$element = compileData.link(modalScope, function(clonedElement, scope) {});"
            find: fix.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1")
            replace: "#{fix}$modal.$backdrop = backdropElement;"
          )
      ]

    copycat:
      fonts: [
        "node_modules/font-awesome/fonts"
        "node_modules/bootstrap/fonts"
      ]
      verbose: true
      onlyChanged: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engine2-1.0.4 config.coffee