Registry / devops / traceur-brunch

traceur-brunch

JSON →
library1.7.5jsnpmunverified

Brunch plugin that compiles ES6/ES2015 JavaScript using Google's Traceur transpiler. Version 1.7.5 is the latest stable release. The plugin allows configuring which files to process and can pass options like experimental features to Traceur. It is specific to Brunch and depends on the Traceur compiler to transpile ES6 syntax to ES5. Note: This plugin must be listed before other JavaScript processing plugins in package.json. The project appears to be in maintenance mode with no recent updates since 2015.

npm install traceur-brunch
INSTALL
IMPORT
SIG · TRACEUR-BRUNCH
T
traceur-brunch
devopsjavascriptv1.7.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
Does not export anything; installed as a Brunch plugin via package.json
This is a Brunch plugin, not a library. It is used by adding to package.json and configuring in config.coffee or config.js.

Install traceur-brunch, add to package.json, configure in brunch config, and build.

// Install the plugin npm install --save traceur-brunch // In package.json, ensure traceur-brunch is before other JavaScript plugins "plugins": ["traceur-brunch", "javascript-brunch"] // Add configuration in brunch-config.js or config.coffee module.exports = { plugins: { traceur: { paths: /^app\//, options: { experimental: true } } } }; // Then run brunch build
Debug
Known issues
breakingPlugin requires Brunch versions that support plugins; ensure compatibility with your Brunch version.
fix
Use a plugin version that matches your Brunch minor version.
affects: >=1.0
breakingMust be listed before other JavaScript processing plugins in package.json, otherwise Traceur compilation may be skipped.
fix
Ensure 'traceur-brunch' appears before 'javascript-brunch' or similar in the dependencies list.
affects: >=0.0
deprecatedTraceur itself is deprecated in favor of Babel. This plugin may not receive updates for newer ES features.
fix
Consider migrating to babel-brunch for modern ES support.
affects: >=1.7
Errors
Common errors & fixes
Error: Cannot find module 'traceur'
Traceur compiler dependency not installed or not found.
fix
Ensure traceur is in your package.json: npm install --save traceur
Upgrade
Version history
1.7.5latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
traceur-brunch — npm install traceur-brunch · libregistry