inliner/package.json
Remy Sharp 9904b6b334 feat: compress SVG using SVGO
Fixes #58

Compresses inline SVG using SVGO, and compresses CSS background SVG images by making them data URLs (using text/svg+xml mime).

Adds CLI (and lib) option: --nosvg which avoids using SVGO for compression (as it can on occassion mess up).

Also includes a refactor of the code to organise the files a little better (allowing for further inlined elements to be added).
2015-08-26 22:43:40 +01:00

52 lines
1.2 KiB
JSON

{
"name": "inliner",
"description": "Utility to inline images, CSS and JavaScript for a web page - useful for mobile sites",
"homepage": "http://github.com/remy/inliner",
"main": "lib/index.js",
"scripts": {
"test": "jscs -v cli/*.js lib/*.js && node test/*.test.js --cov",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"keywords": [
"mobile",
"inline",
"production",
"build",
"minify"
],
"author": "Remy Sharp",
"dependencies": {
"charset": "^1.0.0",
"cheerio": "^0.19.0",
"debug": "^2.2.0",
"es6-promise": "^2.3.0",
"iconv-lite": "^0.4.11",
"jschardet": "^1.3.0",
"lodash.assign": "^3.2.0",
"lodash.defaults": "^3.1.2",
"lodash.foreach": "^3.0.3",
"mime": "^1.3.4",
"minimist": "^1.1.3",
"request": "^2.60.0",
"svgo": "^0.5.6",
"then-fs": "^2.0.0",
"uglify-js": "^2.4.24",
"update-notifier": "^0.5.0"
},
"repository": {
"type": "git",
"url": "https://github.com/remy/inliner.git"
},
"license": "MIT",
"bin": {
"inliner": "cli/index.js"
},
"devDependencies": {
"jscs": "^2.0.0",
"st": "^0.5.5",
"tap-spec": "^4.0.2",
"tape": "^4.0.1",
"semantic-release": "^4.0.0"
}
}