UNPKG

bricks-cli

Version:

Command line tool for developing ambitious ember.js apps

33 lines (32 loc) 1.79 kB
{ "name": "broccoli-static-compiler", "description": "Broccoli compiler to copy static files", "version": "0.1.4", "author": { "name": "Jo Liss", "email": "joliss42@gmail.com" }, "main": "index.js", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/joliss/broccoli-static-compiler" }, "keywords": [ "broccoli-plugin", "files" ], "dependencies": { "mkdirp": "^0.3.5", "broccoli-writer": "^0.1.1", "broccoli-kitchen-sink-helpers": "^0.2.0" }, "readme": "# broccoli-static-compiler\n\nPick files out of a tree, optionally moving them.\n\n(The package name is for historical reasons. We might change it when we hit\n1.0.)\n\n## Installation\n\n```bash\nnpm install --save-dev broccoli-static-compiler\n```\n\n## Usage Example\n\n```js\nvar pickFiles = require('broccoli-static-compiler');\nvar imagesTree = pickFiles(sourceTree, {\n srcDir: '/todomvc',\n files: ['**/*.png', '**/*.jpg'],\n destDir: '/assets'\n});\n```\n\nThis would copy `/todomvc/icons/check-mark.png` to\n`/assets/icons/check-mark.png`.\n\n## Options\n\n### srcDir (required), destDir (required)\n\nThe `destDir` directory will be created, and all files and directories inside\nof `srcDir` will be recursively copied into `destDir`.\n\n### files (optional)\n\nA list of glob patterns. If provided, instead of copying all files, only files\nmatched by any of the patterns will be copied. You must only specify files,\nnot directories, in this list.\n", "readmeFilename": "README.md", "bugs": { "url": "https://github.com/joliss/broccoli-static-compiler/issues" }, "homepage": "https://github.com/joliss/broccoli-static-compiler", "_id": "broccoli-static-compiler@0.1.4", "_from": "broccoli-static-compiler@^0.1.4" }