0.1.4 • Published 9 years ago

gulp-recipe-js v0.1.4

Weekly downloads
1
License
ISC
Repository
github
Last release
9 years ago

gulp-recipe-js Dependency Status

NPM

Js transforming hook provider.

Provides hook for js processing and watcher firing only on changed files in development environment. Includes source maps as data urls into compiled files. Works well with recipes like gulp-recipe-traceur.

Tasks

js

Runs all hooked actions on all js files and saves them to configured temp directory.

watch:js

Starts Watching all js files and runs hooked actions only on changed files.

Configuration

Sources

sources.js

mandatory

Raw js files to be compiled by all js transformers.

example config:

sources.js = ['app/components/**/*.js', 'app/*.js'];

Paths

paths.tmp

default: 'tmp/'

Compiled js output directory.

Tasks

tasks.js

default: 'js'

js task name.

tasks.watchjs

default: 'watch:js'

watch:js task name.

Api

Provided Hooks

pipes.devProcessjs*

type: sequential

Sequential tasks for js processing.

Used Hooks

watch

Exports watch:js task to watch combiner.

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago