UNPKG

brush_cli

Version:

A tool for creating and developing cmos PC Framework project.

114 lines (113 loc) 6.31 kB
{ "_from": "gulp@3.8.8", "_id": "gulp@3.8.8", "_location": "/ionic/gulp", "_npmUser": { "name": "fractal", "email": "contact@wearefractal.com" }, "_npmVersion": "1.4.21", "_phantomChildren": {}, "_requiredBy": [ "/ionic" ], "_resolved": "https://registry.npmjs.org/gulp/-/gulp-3.8.8.tgz", "_shasum": "0b0473e7cdfd04c785184513938397d4552cfe96", "_shrinkwrap": null, "author": { "name": "Fractal", "email": "contact@wearefractal.com", "url": "http://wearefractal.com/" }, "bin": { "gulp": "./bin/gulp.js" }, "bugs": { "url": "https://github.com/gulpjs/gulp/issues" }, "dependencies": { "archy": "^0.0.2", "chalk": "^0.5.0", "deprecated": "^0.0.1", "gulp-util": "^3.0.0", "interpret": "^0.3.2", "liftoff": "^0.12.0", "minimist": "^1.1.0", "orchestrator": "^0.3.0", "pretty-hrtime": "^0.2.0", "semver": "^3.0.1", "tildify": "^1.0.0", "vinyl-fs": "^0.3.0" }, "description": "The streaming build system", "devDependencies": { "coveralls": "^2.7.0", "graceful-fs": "^3.0.0", "istanbul": "^0.3.0", "jshint": "^2.5.0", "jshint-stylish": "^0.4.0", "marked-man": "^0.1.3", "mkdirp": "^0.5.0", "mocha": "^1.17.0", "mocha-lcov-reporter": "^0.0.1", "q": "^1.0.0", "rimraf": "^2.2.5", "should": "^4.0.0" }, "directories": {}, "dist": { "shasum": "0b0473e7cdfd04c785184513938397d4552cfe96", "tarball": "https://registry.npmjs.org/gulp/-/gulp-3.8.8.tgz" }, "engineStrict": true, "engines": { "node": ">= 0.9" }, "files": [ "index.js", "lib", "bin", "completion" ], "gitHead": "8f505c92c2066ab1ccd3011c1c7d81c4d2aa958e", "homepage": "http://gulpjs.com", "licenses": [ { "type": "MIT", "url": "https://raw.githubusercontent.com/gulpjs/gulp/master/LICENSE" } ], "maintainers": [ { "name": "fractal", "email": "contact@wearefractal.com" } ], "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 [![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]\n> The streaming build system\n\n## Like what we do?\n\n[Support us via gittip](https://www.gittip.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", "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 index.js --reporter node_modules/jshint-stylish/stylish.js --exclude node_modules", "prepublish": "marked-man --name gulp docs/CLI.md > gulp.1", "test": "npm run-script lint && mocha --reporter spec" }, "tags": [ "build", "stream", "system", "make", "tool", "asset", "pipeline" ], "version": "3.8.8" }