55 lines
12 KiB
JSON
55 lines
12 KiB
JSON
|
{
|
||
|
"name": "grunt-contrib-concat",
|
||
|
"description": "Concatenate files.",
|
||
|
"version": "0.5.0",
|
||
|
"homepage": "https://github.com/gruntjs/grunt-contrib-concat",
|
||
|
"author": {
|
||
|
"name": "Grunt Team",
|
||
|
"url": "http://gruntjs.com/"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/gruntjs/grunt-contrib-concat.git"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/gruntjs/grunt-contrib-concat/issues"
|
||
|
},
|
||
|
"licenses": [
|
||
|
{
|
||
|
"type": "MIT",
|
||
|
"url": "https://github.com/gruntjs/grunt-contrib-concat/blob/master/LICENSE-MIT"
|
||
|
}
|
||
|
],
|
||
|
"engines": {
|
||
|
"node": ">= 0.8.0"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "grunt test"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"chalk": "~0.5.0",
|
||
|
"source-map": "~0.1.36"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"grunt-contrib-jshint": "~0.10.0",
|
||
|
"grunt-contrib-nodeunit": "~0.4.0",
|
||
|
"grunt-contrib-clean": "~0.5.0",
|
||
|
"grunt-contrib-internal": "~0.4.2",
|
||
|
"grunt": "~0.4.0"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"grunt": "~0.4.0"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"gruntplugin"
|
||
|
],
|
||
|
"files": [
|
||
|
"tasks",
|
||
|
"LICENSE-MIT"
|
||
|
],
|
||
|
"readme": "# grunt-contrib-concat v0.5.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-concat.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-concat) <a href=\"https://ci.appveyor.com/project/gruntjs/grunt-contrib-concat\"><img src=\"https://ci.appveyor.com/api/projects/status/43qbw6jsp3rb2rh6/branch/master\" alt=\"Build Status: Windows\" height=\"18\" /></a>\n\n> Concatenate files.\n\n\n\n## Getting Started\nThis plugin requires Grunt `~0.4.0`\n\nIf you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:\n\n```shell\nnpm install grunt-contrib-concat --save-dev\n```\n\nOnce the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:\n\n```js\ngrunt.loadNpmTasks('grunt-contrib-concat');\n```\n\n\n\n\n## Concat task\n_Run this task with the `grunt concat` command._\n\nTask targets, files and options may be specified according to the Grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n\n### Options\n\n#### separator\nType: `String`\nDefault: `grunt.util.linefeed`\n\nConcatenated files will be joined on this string. If you're post-processing concatenated JavaScript files with a minifier, you may need to use a semicolon `';'` as the separator.\n\n#### banner\nType: `String`\nDefault: empty string\n\nThis string will be prepended to the beginning of the concatenated output. It is processed using [grunt.template.process][], using the default options.\n\n_(Default processing options are explained in the [grunt.template.process][] documentation)_\n\n#### footer\nType: `String`\nDefault: empty string\n\nThis string will be appended to the end of the concatenated output. It is processed using [grunt.template.process][], using the default options.\n\n_(Default processing options are explained in the [grunt.template.process][] documentation)_\n\n#### stripBanners\nType: `Boolean` `Object`\nDefault: `false`\n\nStrip JavaScript banner comments from source files.\n\n* `false` - No comments are stripped.\n* `true` - `/* ... */` block comments are stripped, but _NOT_ `/*! ... */` comments.\n* `options` object:\n * By default, behaves as if `true` were specified.\n * `block` - If true, _all_ block comments are stripped.\n * `line` - If true, any contiguous _leading_ `//` line comments are stripped.\n\n#### process\nType: `Boolean` `Object` `Function`\nDefault: `false`\n\nProcess source files before concatenating, either as [templates][] or with a custom function.\n\n* `false` - No processing will occur.\n* `true` - Process source files using [grunt.template.process][] defaults.\n* `data` object - Process source files using [grunt.template.process][], using the specified options.\n* `function(src, filepath)` - Process source files using the given function, called once for each file. The returned value will be used as source code.\n\n_(Default processing options are explained in the [grunt.template.process][] documentation)_\n\n [templates]: https://github.com/gruntjs/grunt-docs/blob/master/grunt.template.md\n [grunt.template.process]: https://github.com/gruntjs/grunt-docs/blob/master/grunt.template.md#grunttemplateprocess\n\n#### sourceMap\nType: `Boolean`\nDefault: `false`\n\nSet to true to create a source map. The source map will be created alongside the destination file, and share the same file name with the `.map` extension appended to it.\n\n#### sourceMapName\nType: `String` `Function`\nDefault: `undefined`\n\nTo customize the name or location of the generated source map, pass a string to indicate where to write the source map to. If a function is provided, the concat destination is passed as the argument and the return value will be used as the file name.\n\n#### sourceMapStyle\nType: `String`\nDefault: `embed`\n\nDetermines the type of sour
|
||
|
"readmeFilename": "README.md",
|
||
|
"_id": "grunt-contrib-concat@0.5.0",
|
||
|
"_from": "grunt-contrib-concat@"
|
||
|
}
|