UNPKG

motion

Version:

motion - moving development forward

110 lines (109 loc) 6.51 kB
{ "_args": [ [ "gulp@https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "gulp@3.9.0", "_id": "gulp@3.9.0", "_inCache": true, "_location": "/gulp", "_phantomChildren": {}, "_requested": { "name": "gulp", "raw": "gulp@https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz", "rawSpec": "https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz", "scope": null, "spec": "https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz", "type": "remote" }, "_requiredBy": [ "/" ], "_resolved": "https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz", "_shasum": "cf1fba4cb558bb8c6ae6c9613f583ae2620d214a", "_shrinkwrap": null, "_spec": "gulp@https://registry.npmjs.org/gulp/-/gulp-3.9.0.tgz", "_where": "/Users/nw/flint/packages/flint", "author": { "email": "contact@wearefractal.com", "name": "Fractal", "url": "http://wearefractal.com/" }, "bin": { "gulp": "./bin/gulp.js" }, "bugs": { "url": "https://github.com/gulpjs/gulp/issues" }, "dependencies": { "archy": "^1.0.0", "chalk": "^1.0.0", "deprecated": "^0.0.1", "gulp-util": "^3.0.0", "interpret": "^0.6.2", "liftoff": "^2.1.0", "minimist": "^1.1.0", "orchestrator": "^0.3.0", "pretty-hrtime": "^1.0.0", "semver": "^4.1.0", "tildify": "^1.0.0", "v8flags": "^2.0.2", "vinyl-fs": "^0.3.0" }, "description": "The streaming build system", "devDependencies": { "coveralls": "^2.7.0", "graceful-fs": "^3.0.0", "istanbul": "^0.3.0", "jscs": "~1.12.0", "jshint": "^2.5.0", "jshint-stylish": "^1.0.0", "marked-man": "^0.1.3", "mkdirp": "^0.5.0", "mocha": "^2.0.1", "mocha-lcov-reporter": "^0.0.1", "q": "^1.0.0", "rimraf": "^2.2.5", "should": "^5.0.1" }, "engines": { "node": ">= 0.9" }, "files": [ "bin", "completion", "index.js", "lib" ], "homepage": "http://gulpjs.com", "license": "MIT", "man": [ "gulp.1" ], "name": "gulp", "optionalDependencies": {}, "readme": "<p align=\"center\">\n <a href=\"http://gulpjs.com\">\n <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n </a>\n</p>\n\n# gulp\n**The streaming build system**\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Support us][gittip-image]][gittip-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]\n\n## Like what we do?\n\n[Support us via Gratipay](https://gratipay.com/WeAreFractal/)\n\n## Documentation\n\nFor a Getting started guide, API docs, recipes, making a plugin, etc. see the [documentation page](/docs/README.md)!\n\n## Sample `gulpfile.js`\n\nThis file is just a quick sample to give you a taste of what gulp does.\n\n```js\nvar gulp = require('gulp');\nvar coffee = require('gulp-coffee');\nvar concat = require('gulp-concat');\nvar uglify = require('gulp-uglify');\nvar imagemin = require('gulp-imagemin');\nvar sourcemaps = require('gulp-sourcemaps');\nvar del = require('del');\n\nvar paths = {\n scripts: ['client/js/**/*.coffee', '!client/external/**/*.coffee'],\n images: 'client/img/**/*'\n};\n\n// Not all tasks need to use streams\n// A gulpfile is just another node program and you can use all packages available on npm\ngulp.task('clean', function(cb) {\n // You can use multiple globbing patterns as you would with `gulp.src`\n del(['build'], cb);\n});\n\ngulp.task('scripts', ['clean'], function() {\n // Minify and copy all JavaScript (except vendor scripts)\n // with sourcemaps all the way down\n return gulp.src(paths.scripts)\n .pipe(sourcemaps.init())\n .pipe(coffee())\n .pipe(uglify())\n .pipe(concat('all.min.js'))\n .pipe(sourcemaps.write())\n .pipe(gulp.dest('build/js'));\n});\n\n// Copy all static images\ngulp.task('images', ['clean'], function() {\n return gulp.src(paths.images)\n // Pass in options to the task\n .pipe(imagemin({optimizationLevel: 5}))\n .pipe(gulp.dest('build/img'));\n});\n\n// Rerun the task when a file changes\ngulp.task('watch', function() {\n gulp.watch(paths.scripts, ['scripts']);\n gulp.watch(paths.images, ['images']);\n});\n\n// The default task (called when you run `gulp` from cli)\ngulp.task('default', ['watch', 'scripts', 'images']);\n```\n\n## Incremental Builds\n\nWe recommend these plugins:\n\n- [gulp-changed](https://github.com/sindresorhus/gulp-changed) - only pass through changed files\n- [gulp-cached](https://github.com/wearefractal/gulp-cached) - in-memory file cache, not for operation on sets of files\n- [gulp-remember](https://github.com/ahaurw01/gulp-remember) - pairs nicely with gulp-cached\n- [gulp-newer](https://github.com/tschaub/gulp-newer) - pass through newer source files only, supports many:1 source:dest\n\n## Want to contribute?\n\nAnyone can help make this project better - check out the [Contributing guide](/CONTRIBUTING.md)!\n\n\n[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/wearefractal/gulp/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\")\n\n[gittip-url]: https://www.gittip.com/WeAreFractal/\n[gittip-image]: http://img.shields.io/gittip/WeAreFractal.svg\n\n[downloads-image]: http://img.shields.io/npm/dm/gulp.svg\n[npm-url]: https://npmjs.org/package/gulp\n[npm-image]: http://img.shields.io/npm/v/gulp.svg\n\n[travis-url]: https://travis-ci.org/gulpjs/gulp\n[travis-image]: http://img.shields.io/travis/gulpjs/gulp.svg\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/gulp\n[coveralls-image]: http://img.shields.io/coveralls/gulpjs/gulp/master.svg\n\n[gitter-url]: https://gitter.im/gulpjs/gulp\n[gitter-image]: https://badges.gitter.im/gulpjs/gulp.png\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/gulpjs/gulp.git" }, "scripts": { "coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage", "lint": "jshint lib bin test index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules && jscs lib bin test index.js", "prepublish": "marked-man --name gulp docs/CLI.md > gulp.1", "test": "npm run-script lint && mocha --reporter spec" }, "tags": [ "asset", "build", "make", "pipeline", "stream", "system", "tool" ], "version": "3.9.0" }