1 | { |
---|
2 | "name": "grunt-contrib-coffee", |
---|
3 | "description": "Compile CoffeeScript files to JavaScript.", |
---|
4 | "version": "0.7.0", |
---|
5 | "homepage": "https://github.com/gruntjs/grunt-contrib-coffee", |
---|
6 | "author": { |
---|
7 | "name": "Grunt Team", |
---|
8 | "url": "http://gruntjs.com/" |
---|
9 | }, |
---|
10 | "repository": { |
---|
11 | "type": "git", |
---|
12 | "url": "git://github.com/gruntjs/grunt-contrib-coffee.git" |
---|
13 | }, |
---|
14 | "bugs": { |
---|
15 | "url": "https://github.com/gruntjs/grunt-contrib-coffee/issues" |
---|
16 | }, |
---|
17 | "licenses": [ |
---|
18 | { |
---|
19 | "type": "MIT", |
---|
20 | "url": "https://github.com/gruntjs/grunt-contrib-coffee/blob/master/LICENSE-MIT" |
---|
21 | } |
---|
22 | ], |
---|
23 | "main": "Gruntfile.js", |
---|
24 | "engines": { |
---|
25 | "node": ">=0.8.0" |
---|
26 | }, |
---|
27 | "scripts": { |
---|
28 | "test": "grunt test" |
---|
29 | }, |
---|
30 | "dependencies": { |
---|
31 | "coffee-script": "~1.6.2" |
---|
32 | }, |
---|
33 | "devDependencies": { |
---|
34 | "grunt-contrib-jshint": "~0.2.0", |
---|
35 | "grunt-contrib-nodeunit": "~0.1.2", |
---|
36 | "grunt-contrib-clean": "~0.4.0", |
---|
37 | "grunt-contrib-internal": "~0.4.2", |
---|
38 | "grunt": "~0.4.0" |
---|
39 | }, |
---|
40 | "peerDependencies": { |
---|
41 | "grunt": "~0.4.0" |
---|
42 | }, |
---|
43 | "keywords": [ |
---|
44 | "gruntplugin" |
---|
45 | ], |
---|
46 | "readme": "# grunt-contrib-coffee [](http://travis-ci.org/gruntjs/grunt-contrib-coffee)\n\n> Compile CoffeeScript files to JavaScript.\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-coffee --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-coffee');\n```\n\n*This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that [you upgrade](http://gruntjs.com/upgrading-from-0.3-to-0.4), but in case you can't please use [v0.3.2](https://github.com/gruntjs/grunt-contrib-coffee/tree/grunt-0.3-stable).*\n\n\n## Coffee task\n_Run this task with the `grunt coffee` command._\n\nTask targets, files and options may be specified according to the grunt [Configuring tasks](http://gruntjs.com/configuring-tasks) guide.\n### Options\n\n#### separator\nType: `String`\nDefault: linefeed\n\nConcatenated files will be joined on this string.\n\n#### bare\nType: `boolean`\n\nCompile the JavaScript without the top-level function safety wrapper.\n\n#### join\nType: `boolean`\nDefault: `false`\n\nWhen compiling multiple .coffee files into a single .js file, concatenate first.\n\n#### sourceMap\nType: `boolean`\nDefault: `false`\n\nCompile JavaScript and create a .map file linking it to the CoffeeScript source. When compiling multiple .coffee files to a single .js file, concatenation occurs as though the 'join' option is enabled. The concatenated CoffeeScript is written into the output directory, and becomes the target for source mapping.\n### Usage Examples\n\n```js\ncoffee: {\n compile: {\n files: {\n 'path/to/result.js': 'path/to/source.coffee', // 1:1 compile\n 'path/to/another.js': ['path/to/sources/*.coffee', 'path/to/more/*.coffee'] // compile and concat into single file\n }\n },\n\n compileBare: {\n options: {\n bare: true\n },\n files: {\n 'path/to/result.js': 'path/to/source.coffee', // 1:1 compile\n 'path/to/another.js': ['path/to/sources/*.coffee', 'path/to/more/*.coffee'] // compile and concat into single file\n }\n },\n\n compileJoined: {\n options: {\n join: true\n },\n files: {\n 'path/to/result.js': 'path/to/source.coffee', // 1:1 compile, identical output to join = false\n 'path/to/another.js': ['path/to/sources/*.coffee', 'path/to/more/*.coffee'] // concat then compile into single file\n }\n },\n\n compileWithMaps: {\n options: {\n sourceMap: true\n },\n files: {\n 'path/to/result.js': 'path/to/source.coffee', // 1:1 compile\n 'path/to/another.js': ['path/to/sources/*.coffee', 'path/to/more/*.coffee'] // concat then compile into single file\n }\n },\n\n glob_to_multiple: {\n expand: true,\n flatten: true,\n cwd: 'path/to',\n src: ['*.coffee'],\n dest: 'path/to/dest/',\n ext: '.js'\n }\n}\n```\n\nFor more examples on how to use the `expand` API to manipulate the default dynamic path construction in the `glob_to_multiple` examples, see \"Building the files object dynamically\" in the grunt wiki entry [Configuring Tasks](http://gruntjs.com/configuring-tasks).\n\n## Release History\n\n * 2013-04-19âââv0.7.0âââPlace Sourcemaps at bottom of file Change extension for Sourcemaps from .maps to .js.map\n * 2013-04-18âââv0.6.7âââImproved error reporting\n * 2013-04-08âââv0.6.6âââFix regression with single-file compilation.\n * 2013-04-05âââv0.6.5âââImproved error reporting\n * 2013-03-22âââv0.6.4âââSourcemap support\n * 2013-03-19âââv0.6.3âââIncrease error logging verbosity.\n * 2013-03-18âââv0.6.2âââBump to CoffeeScript 1.6.2\n * 2013-03-18âââv0.6.1âââSupport `join` option\n * 2013-03-06âââv0.6.0âââBump to CoffeeScript 1.6 Support literate CoffeeScript extension coffee.md\n * 2013-02-25âââv0.5.0âââBump to CoffeeScript 1.5 Support literate CoffeeScript (.litcoffee)\n * 2013-02-15âââv0.4.0âââFirst official release for Grunt 0.4.0.\n * 2013-01-23âââv0.4.0rc7âââUpdating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions. Bump coffeescript dependency to 1.4.\n * 2013-01-09âââv0.4.0rc5âââUpdating to work with grunt v0.4.0rc5. Switching to this.filesSrc api.\n * 2012-12-15âââv0.4.0aâââConversion to grunt v0.4 conventions. Remove experimental destination wildcards.\n * 2012-10-12âââv0.3.2âââRename grunt-contrib-lib dep to grunt-lib-contrib.\n * 2012-09-25âââv0.3.1âââDon't fail when there are no files.\n * 2012-09-24âââv0.3.0âââGlobal options depreciated.\n * 2012-09-10âââv0.2.0âââRefactored from grunt-contrib into individual repo.\n\n---\n\nTask submitted by [Eric Woroshow](http://ericw.ca/)\n\n*This file was generated on Fri Apr 19 2013 09:49:08.*\n", |
---|
47 | "readmeFilename": "README.md", |
---|
48 | "contributors": [ |
---|
49 | { |
---|
50 | "name": "Eric Woroshow", |
---|
51 | "url": "http://ericw.ca/" |
---|
52 | }, |
---|
53 | { |
---|
54 | "name": "Tyler Kellen", |
---|
55 | "url": "http://goingslowly.com/" |
---|
56 | }, |
---|
57 | { |
---|
58 | "name": "Chris Talkington", |
---|
59 | "url": "http://christalkington.com/" |
---|
60 | }, |
---|
61 | { |
---|
62 | "name": "Kyle Robinson Young", |
---|
63 | "url": "http://twitter.com/shamakry" |
---|
64 | }, |
---|
65 | { |
---|
66 | "name": "Yegor Pomortsev", |
---|
67 | "url": "https://github.com/illicium" |
---|
68 | }, |
---|
69 | { |
---|
70 | "name": "Sindre Sorhus", |
---|
71 | "url": "http://github.com/sindresorhus" |
---|
72 | }, |
---|
73 | { |
---|
74 | "name": "Callum Locke", |
---|
75 | "url": "https://github.com/callumlocke" |
---|
76 | }, |
---|
77 | { |
---|
78 | "name": "Scott Delamater", |
---|
79 | "url": "https://github.com/scottydawg" |
---|
80 | }, |
---|
81 | { |
---|
82 | "name": "Colin Wren", |
---|
83 | "url": "http://cawren.com" |
---|
84 | } |
---|
85 | ], |
---|
86 | "_id": "grunt-contrib-coffee@0.7.0", |
---|
87 | "_from": "grunt-contrib-coffee@~0.7.0" |
---|
88 | } |
---|