@moomfe/hu-template-minifier
Version:
该类库将使用了 [模板字符串 - 标签 ( Template literals )](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#Tagged_templates) 功能实现模板定义的类库中的 HTML 代码进行压缩.
39 lines (38 loc) • 919 B
JSON
{
"name": "@moomfe/hu-template-minifier",
"version": "1.3.3",
"description": "",
"main": "src/index.js",
"keywords": [
"template literals",
"minify",
"hu",
"lit-html",
"hyperhtml",
"lighterhtml"
],
"author": "Wei Zhang",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/MoomFE/hu-template-minifier.git"
},
"bugs": {
"url": "https://github.com/MoomFE/hu-template-minifier/issues"
},
"homepage": "https://github.com/MoomFE/hu-template-minifier#readme",
"scripts": {
"test": "node_modules\\.bin\\mocha test\\*.test.js"
},
"dependencies": {
"@moomfe/zenjs": "^5.0.0-beta.5",
"html-minifier": "^4.0.0",
"magic-string": "^0.25.7",
"rollup-pluginutils": "^2.8.2",
"typescript": "^4.2.4"
},
"devDependencies": {
"chai": "^4.3.4",
"mocha": "^8.3.2"
}
}