babel-plugin-template-html-minifier
Version:
Minify HTML in tagged template strings using html-minifier
77 lines (76 loc) • 1.61 kB
JSON
{
"name": "babel-plugin-template-html-minifier",
"description": "Minify HTML in tagged template strings using html-minifier",
"version": "4.1.0",
"main": "lib/index.js",
"scripts": {
"release": "standard-version --sign",
"pretest": "xo",
"tests-only": "tap",
"test": "npm run -s tests-only"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cfware/babel-plugin-template-html-minifier.git"
},
"keywords": [
"babel",
"lit-html",
"choo",
"html-minifier",
"hyperhtml"
],
"author": "Corey Farrell",
"license": "MIT",
"bugs": {
"url": "https://github.com/cfware/babel-plugin-template-html-minifier/issues"
},
"homepage": "https://github.com/cfware/babel-plugin-template-html-minifier#readme",
"engines": {
"node": ">=10.13.0"
},
"dependencies": {
"clean-css": "^4.2.1",
"html-minifier-terser": "^5.0.0",
"is-builtin-module": "^3.0.0"
},
"devDependencies": {
"@babel/core": "^7.3.3",
"@babel/plugin-transform-template-literals": "^7.2.0",
"choo": "^7.0.0",
"hyperhtml-element": "^3.6.0",
"lit-element": "^2.0.1",
"lit-html": "^1.0.0",
"standard-version": "^7.0.0",
"tap": "^14.10.6",
"xo": "^0.28.0"
},
"xo": {
"ignores": [
"fixtures/ignore-invalid-require-source.js",
"fixtures/transform-template-literals-after.js"
],
"rules": {
"unicorn/string-content": 0
},
"overrides": [
{
"files": [
"fixtures/**"
],
"envs": [
"browser",
"es6"
],
"rules": {
"no-unused-expressions": [
"error",
{
"allowTaggedTemplates": true
}
]
}
}
]
}
}