Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

javascript-brunch

brunch20.5kMITdeprecated2.10.0

Deprecated

Adds JavaScript support to brunch.

readme

🚧 This Plugin Is Deprecated 🚧

This plugin is deprecated in favor of built-in possibilities of Brunch (since 2.10), which can handle JavaScript automatically. We recommend to remove it from package.json. For code validation use eslint-brunch or jshint-brunch.

javascript-brunch

Adds JavaScript support to Brunch.

Usage

Install the plugin via npm with npm install --save-dev javascript-brunch.

Or, do manual install:

  • Add "javascript-brunch": "x.y.z" to package.json of your brunch app. Pick a plugin version that corresponds to your minor (y) brunch version.
  • If you want to use git version of plugin, add "javascript-brunch": "git+ssh://git@github.com:brunch/javascript-brunch.git".

Options

config.plugins.javascript.validate (default: true) — enables source code validation with Esprima.

License

The MIT License (MIT)

Copyright (c) 2012-2017 Paul Miller (http://paulmillr.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

changelog

javascript-brunch 2.0.0 (Jan 29, 2016)

  • Updated source code & API. The plugin would now only work with Brunch 2.2 and higher.

javascript-brunch 1.8.0 (15 October 2015)

  • Update esprima to ^2.6.0, adding ES6 support

javascript-brunch 1.7.1 (15 December 2013)

  • The plugin now validates JavaScript syntax. Can be disabled in config.

javascript-brunch 1.7.0 (9 September 2013)

  • Utilize new plugin API to improve memory efficiency.

javascript-brunch 1.6.0 (22 June 2013)

  • Improved installation.

javascript-brunch 1.5.1 (19 March 2013)

  • Added node 0.10 support, removed coffee-script dependency.

javascript-brunch 1.5.0 (13 January 2013)

  • Improved installation process.

javascript-brunch 1.3.0 (29 June 2012)

  • Added node.js 0.8 and 0.9 support.
  • Package is now precompiled before every publishing to npm.

javascript-brunch 1.1.1 (15 April 2012)

  • Fixed error reporting when installing the package.
  • brunch generate will generate empty coffee files due to different app structures.

javascript-brunch 1.1.0 (9 April 2012)

  • Added windows support.

javascript-brunch 1.0.0 (14 March 2012)

  • Initial release