-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 3.24 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "grunt-lib-contrib",
"description": "Common functionality shared across grunt-contrib tasks.",
"version": "0.5.3",
"homepage": "http://github.com/gruntjs/grunt-lib-contrib",
"author": {
"name": "Grunt Team",
"url": "http://gruntjs.com/"
},
"repository": {
"type": "git",
"url": "git://github.com/gruntjs/grunt-lib-contrib.git"
},
"bugs": {
"url": "https://github.com/gruntjs/grunt-lib-contrib/issues"
},
"licenses": [
{
"type": "MIT",
"url": "http://github.com/gruntjs/grunt-lib-contrib/blob/master/LICENSE-MIT"
}
],
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"grunt-contrib-jshint": "~0.1.1",
"grunt-contrib-nodeunit": "~0.1.2",
"grunt": "~0.4.0"
},
"main": "lib/contrib",
"dependencies": {
"zlib-browserify": "0.0.1"
},
"contributors": [
{
"name": "Tyler Kellen",
"url": "http://goingslowly.com/"
},
{
"name": "Chris Talkington",
"url": "http://christalkington.com/"
},
{
"name": "Larry Davis",
"url": "http://lazd.net/"
},
{
"name": "Sindre Sorhus",
"url": "http://sindresorhus.com"
}
],
"readme": "# grunt-lib-contrib [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-lib-contrib.png?branch=master)](http://travis-ci.org/gruntjs/grunt-lib-contrib)\n\n> Common functionality shared across grunt-contrib tasks.\n\nThe purpose of grunt-lib-contrib is to explore solutions to common problems task writers encounter, and to ease the upgrade path for contrib tasks.\n\n**These APIs should be considered highly unstable. Depend on them at your own risk!**\n\n_Over time, some of the functionality provided here may be incorporated directly into grunt for mainstream use. Until then, you may require `grunt-lib-contrib` as a dependency in your projects, but be very careful to specify an exact version number instead of a range, as backwards-incompatible changes are likely to be introduced._\n\n### Helper Functions\n\n#### getNamespaceDeclaration(ns)\n\nThis helper is used to build JS namespace declarations.\n\n#### optsToArgs(options)\n\nConvert an object to an array of CLI arguments, which can be used with `child_process.spawn()`.\n\n```js\n// Example\n{\n fooBar: 'a', // ['--foo-bar', 'a']\n fooBar: 1, // ['--foo-bar', '1']\n fooBar: true, // ['--foo-bar']\n fooBar: false, //\n fooBar: ['a', 'b'] // ['--foo-bar', 'a', '--foo-bar', 'b']\n}\n```\n\n#### stripPath(pth, strip)\n\nStrip a path from a path. normalize both paths for best results.\n\n#### minMaxInfo(min, max)\n\nHelper for logging compressed, uncompressed and gzipped sizes of strings.\n\n```js\nvar max = grunt.file.read('max.js');\nvar min = minify(max);\nminMaxInfo(min, max);\n```\n\nWould print:\n\n```\nUncompressed size: 495 bytes.\nCompressed size: 36 bytes gzipped (396 bytes minified).\n```\n\n--\n\n*Lib submitted by [Tyler Kellen](https://goingslowly.com/).*",
"readmeFilename": "README.md",
"_id": "grunt-lib-contrib@0.5.3",
"dist": {
"shasum": "a1dce2cceb11232e12b287b9a0154cc15de52b81"
},
"_from": "grunt-lib-contrib@~0.5.3",
"_resolved": "https://registry.npmjs.org/grunt-lib-contrib/-/grunt-lib-contrib-0.5.3.tgz"
}