The plugin replaces 'svgmin' and 'svgstore' with an all-in-one and highly flexible solution for managing SVG assets.
Changes:
- Deleted 'assets/images/sprite/', SVG images can live anywhere within the source image directory;
- When compiled to 'www/assets/images/sprite.svg', the plugin generates an HTML file in 'assets/images/sprite.symbol.html' that serves as an index of the spritesheet's contents;
- A separator ("--") is used when traversing a directory structure for the symbol ID (e.g, 'sprite.svg#icons--social--twitter');
33 lines
927 B
JSON
33 lines
927 B
JSON
{
|
|
"private": true,
|
|
"name": "@locomotivemtl/boilerplate",
|
|
"title": "Locomotive Boilerplate",
|
|
"version": "1.0.0",
|
|
"author": "Locomotive <info@locomotive.ca>",
|
|
"devDependencies": {
|
|
"autoprefixer": "0.0.0",
|
|
"babel-preset-es2015": "0.0.0",
|
|
"babel-plugin-transform-es2015-classes": "0.0.0",
|
|
"babelify": "0.0.0",
|
|
"eslint-tap": "0.0.0",
|
|
"glob": "0.0.0",
|
|
"grunt": "0.0.0",
|
|
"grunt-browser-sync": "0.0.0",
|
|
"grunt-browserify": "0.0.0",
|
|
"grunt-contrib-concat": "0.0.0",
|
|
"grunt-contrib-cssmin": "0.0.0",
|
|
"grunt-contrib-uglify": "0.0.0",
|
|
"grunt-contrib-watch": "0.0.0",
|
|
"grunt-csscomb": "0.0.0",
|
|
"grunt-eslint": "0.0.0",
|
|
"grunt-notify": "0.0.0",
|
|
"grunt-phplint": "0.0.0",
|
|
"grunt-postcss": "0.0.0",
|
|
"grunt-sass": "0.0.0",
|
|
"grunt-svg-sprite": "0.0.0",
|
|
"load-grunt-config": "0.0.0",
|
|
"postcss-banner": "0.0.0",
|
|
"svg4everybody": "0.0.0"
|
|
}
|
|
}
|