A simple Gulp-based automation script for transpiling ES6 JavaScript to ES5 using Babel, with optional linting via ESLint (airbnb-base config). Copies JS files from source to destination, transpiles files that have an `/* eslint-env es6 */` header. Version 0.0.5, last release 2017. No longer actively maintained. Key differentiators: minimal configuration, RequireJS AMD module support, and file-level ES6 detection. Alternatives: direct use of Babel CLI or Webpack.
npm install js-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic example: copies all JS files from src to dist, transpiling those with /* eslint-env es6 */ header using Babel presets 'env', no linting.
Use Babel CLI directly or update to a maintained alternative.
Ensure all ES6 files start with the magic comment, or set `es6Pattern` option to a RegExp that matches.
Upgrade package or use Node 8/9 LTS.
Run `npm install babel-preset-env` (or desired preset) before use.
Run `npm install --save-dev babel-preset-env`.
Use Gulp v3 (`npm install gulp@^3.9.1`) or switch to another tool.
Install compatible eslint and plugins: `npm install eslint@^4.0.0 eslint-config-airbnb-base@^12.0.0`.