-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
45 lines (45 loc) · 2.21 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
{
"name": "gulp-spritesmith",
"version": "0.0.2",
"description": "A plugin for Gulp",
"keywords": [
"gulpplugin", "sprite"
],
"homepage": "https://github.com/Otouto/gulp-spritesmith",
"bugs": {
"url": "https://github.com/Otouto/gulp-spritesmith/issues"
},
"author": {
"name": "Dmitry Lutsik",
"email": "[email protected]",
"url": "https://github.com/Otouto"
},
"main": "./index.js",
"repository": {
"type": "git",
"url": "git://github.com/otouto/gulp-spritesmith.git"
},
"dependencies": {
"through": "*",
"gulp-util": "~2.2.0",
"event-stream": "*",
"json2css": "~4.2.0",
"async": "~0.2.10",
"spritesmith": "~0.18.0",
"lodash": "~2.4.1",
"vinyl": "~0.2.3"
},
"engines": {
"node": ">=0.8.0",
"npm": ">=1.2.10"
},
"licenses": [
{
"type": "MIT"
}
],
"readme": "# gulp-spritesmith\n[![NPM version][npm-image]][npm-url] [![Dependency Status][depstat-image]][depstat-url]\n\n> [Gulp](https://github.com/wearefractal/gulp) plugin for sprite generation, based on spritesmith.\n\n## Usage\n\nFirst, install `gulp-spritesmith` as a development dependency:\n\n```shell\nnpm install --save-dev gulp-spritesmith\n```\n\nThen, add it to your `gulpfile.js`:\n\n```javascript\nvar spritesmith = require(\"gulp-spritesmith\");\n\ngulp.src('./src/img/*.png')\n .pipe(sprite({\n destImg: 'dist/img/sprite.png',\n destCSS: 'dist/css/sprite.css'\n }));\n```\n\n## API\n\n### spritesmith(options)\n\n#### options.destImg\nType: `String`\nDefault: ``\n\nPath where you want to get your image sprite.\n\n#### options.destCSS\nType: `String`\nDefault: ``\n\nPath where you want to get your css sprite.\n\n#### options.cssTemplate\nType: `String`\nDefault: ``\n\nPath to mustache tmpl file, to format output css.\n\n\n## License\n\n[MIT License](http://en.wikipedia.org/wiki/MIT_License)\n\n[npm-url]: https://npmjs.org/package/gulp-spritesmith\n[npm-image]: https://badge.fury.io/js/gulp-spritesmith.png\n\n[depstat-url]: https://david-dm.org/otouto/gulp-spritesmith\n[depstat-image]: https://david-dm.org/otouto/gulp-spritesmith.png\n",
"readmeFilename": "README.md",
"_id": "[email protected]",
"_from": "[email protected]"
}