54 lines
1.4 KiB
JSON
Executable file
54 lines
1.4 KiB
JSON
Executable file
{
|
|
"name": "htmlnano",
|
|
"version": "0.1.10",
|
|
"description": "Modular HTML minifier, built on top of the PostHTML",
|
|
"main": "index.js",
|
|
"author": "Kirill Maltsev <maltsevkirill@gmail.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"compile": "rimraf lib/*.js && rimraf lib/modules/*.js && babel -d lib/ lib/",
|
|
"lint": "eslint *.js lib/*.es6 lib/modules/*.es6 test/",
|
|
"pretest": "npm run lint && npm run compile",
|
|
"test": ":",
|
|
"posttest": "mocha --require babel-core/register --recursive --check-leaks --globals addresses",
|
|
"prepare": "npm run compile"
|
|
},
|
|
"keywords": [
|
|
"posthtml",
|
|
"posthtml-plugin",
|
|
"html",
|
|
"postproccessor",
|
|
"minifier"
|
|
],
|
|
"babel": {
|
|
"presets": [
|
|
"es2015"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"cssnano": "^3.4.0",
|
|
"object-assign": "^4.0.1",
|
|
"posthtml": "^0.11.3",
|
|
"posthtml-render": "^1.1.4",
|
|
"svgo": "^1.0.5",
|
|
"terser": "^3.8.1"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-preset-es2015": "^6.1.18",
|
|
"eslint": "^5.2.0",
|
|
"expect": "^23.4.0",
|
|
"mocha": "^5.2.0",
|
|
"rimraf": "^2.6.2"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/posthtml/htmlnano.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/posthtml/htmlnano/issues"
|
|
},
|
|
"homepage": "https://github.com/posthtml/htmlnano"
|
|
}
|