All Projects → sindresorhus → Gulp Traceur

sindresorhus / Gulp Traceur

Licence: mit
Traceur is a JavaScript.next to JavaScript-of-today compiler

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Gulp Traceur

gulp-rework
Preprocess CSS with Rework
Stars: ✭ 30 (-82.56%)
Mutual labels:  gulp-plugin, deprecated
gulp-recess
[DEPRECATED] Lint CSS and LESS with RECESS
Stars: ✭ 42 (-75.58%)
Mutual labels:  gulp-plugin, deprecated
gulp-es6-transpiler
[DEPRECATED] Transpile ES2015 to ES5
Stars: ✭ 47 (-72.67%)
Mutual labels:  gulp-plugin, deprecated
is-safe-integer
ES2015 Number.isSafeInteger() ponyfill
Stars: ✭ 16 (-90.7%)
Mutual labels:  npm-package, deprecated
Grunt Myth
Myth - Postprocessor that polyfills CSS
Stars: ✭ 70 (-59.3%)
Mutual labels:  deprecated, npm-package
Gulp Ftp
[DEPRECATED] Upload files to an FTP-server
Stars: ✭ 100 (-41.86%)
Mutual labels:  gulp-plugin, deprecated
npmlint
[DEPRECATED] Lint your npm package
Stars: ✭ 57 (-66.86%)
Mutual labels:  npm-package, deprecated
Gulp Ruby Sass
Compile Sass to CSS with Ruby Sass
Stars: ✭ 476 (+176.74%)
Mutual labels:  gulp-plugin, deprecated
Gulp Wxa Copy Npm
微信小程序gulp插件,解决npm包管理和babel-runtime
Stars: ✭ 55 (-68.02%)
Mutual labels:  gulp-plugin, npm-package
Gulp Ngmin
[DEPRECATED] Pre-minify AngularJS apps with ngmin
Stars: ✭ 89 (-48.26%)
Mutual labels:  gulp-plugin, deprecated
Gulp Vulcanize
Concatenate a set of Web Components into one file
Stars: ✭ 101 (-41.28%)
Mutual labels:  gulp-plugin, deprecated
New Github Issue Url
Generate a URL for opening a new GitHub issue with prefilled title, body, and other fields
Stars: ✭ 170 (-1.16%)
Mutual labels:  npm-package
Alfred Dark Mode
Alfred 3 workflow to toggle the system dark mode
Stars: ✭ 165 (-4.07%)
Mutual labels:  npm-package
Keras Metrics
Metrics for Keras. DEPRECATED since Keras 2.3.0
Stars: ✭ 164 (-4.65%)
Mutual labels:  deprecated
Elasto
DEPRECATED: Simple library to query Elasticsearch
Stars: ✭ 163 (-5.23%)
Mutual labels:  deprecated
File Icon Vectors
A collection of file type icons in SVG format
Stars: ✭ 171 (-0.58%)
Mutual labels:  npm-package
Fast Cli
Test your download and upload speed using fast.com
Stars: ✭ 2,178 (+1166.28%)
Mutual labels:  npm-package
Sphero Android Sdk
🚫 DEPRECATED REPO: Sphero™ is the amazing robotic ball ( gosphero.com ), this is the repository for the Android SDK for Sphero™. Visit dev site for more information:
Stars: ✭ 160 (-6.98%)
Mutual labels:  deprecated
Magic Iterable
Call a method on all items in an iterable by calling it on the iterable itself
Stars: ✭ 159 (-7.56%)
Mutual labels:  npm-package
Gulp Tap
Easily tap into a gulp pipeline without creating a plugin.
Stars: ✭ 158 (-8.14%)
Mutual labels:  gulp-plugin

Deprecated

Deprecated as Traceur is unmaintained. Check out gulp-babel instead.


gulp-traceur Build Status

Traceur is a JavaScript.next to JavaScript-of-today compiler

Issues with the output should be reported on the Traceur issue tracker.

Install

$ npm install --save-dev gulp-traceur

Usage

const gulp = require('gulp');
const traceur = require('gulp-traceur');

gulp.task('default', () =>
	gulp.src('src/app.js')
		.pipe(traceur())
		.pipe(gulp.dest('dist'))
);

API

traceur([options])

See the Traceur options.

options

modules

Type: string
Default: commonjs
Values: See traceur modules option

By default, gulp-traceur treats all files as modules. This allows use of the export, module and import syntax. In this way the transformer can be used to compile ES2015 for AMD or Node.js environments.

traceur.RUNTIME_PATH

Absolute path to the Traceur runtime.js file.

Source Maps

Use gulp-sourcemaps like this:

const gulp = require('gulp');
const sourcemaps = require('gulp-sourcemaps');
const traceur = require('gulp-traceur');
const concat = require('gulp-concat');

gulp.task('default', () =>
	gulp.src('src/*.js')
		.pipe(sourcemaps.init())
		.pipe(traceur())
		.pipe(concat('all.js'))
		.pipe(sourcemaps.write('.'))
		.pipe(gulp.dest('dist'))
);

License

MIT © Sindre Sorhus

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].