72 lines
1.7 KiB
JSON
Executable file
72 lines
1.7 KiB
JSON
Executable file
{
|
|
"name": "htmlnano",
|
|
"version": "0.2.9",
|
|
"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 lib/presets/*.es6 test/",
|
|
"pretest": "npm run lint && npm run compile",
|
|
"test": ":",
|
|
"posttest": "mocha --require @babel/register --recursive --check-leaks --globals addresses",
|
|
"prepare": "npm run compile",
|
|
"release:patch": "release-it patch -n"
|
|
},
|
|
"release-it": {
|
|
"hooks": {
|
|
"before:init": "npm test"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"posthtml",
|
|
"posthtml-plugin",
|
|
"html",
|
|
"postproccessor",
|
|
"minifier"
|
|
],
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/env",
|
|
{
|
|
"targets": {
|
|
"node": 10
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"cssnano": "^4.1.11",
|
|
"posthtml": "^0.15.1",
|
|
"purgecss": "^2.3.0",
|
|
"relateurl": "^0.2.7",
|
|
"srcset": "^3.0.0",
|
|
"svgo": "^1.3.2",
|
|
"terser": "^5.6.1",
|
|
"timsort": "^0.3.0",
|
|
"uncss": "^0.17.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.13.14",
|
|
"@babel/core": "^7.13.15",
|
|
"@babel/preset-env": "^7.13.15",
|
|
"@babel/register": "^7.13.14",
|
|
"babel-eslint": "^10.1.0",
|
|
"eslint": "^7.23.0",
|
|
"expect": "^26.6.2",
|
|
"mocha": "^8.3.2",
|
|
"release-it": "^14.5.1",
|
|
"rimraf": "^3.0.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"
|
|
}
|