@open-wc/rollup-plugin-html
Version:
Plugin for generating an html file with rollup
56 lines (55 loc) • 2.41 kB
JSON
{
"name": "@open-wc/rollup-plugin-html",
"version": "1.2.5",
"publishConfig": {
"access": "public"
},
"description": "Plugin for generating an html file with rollup",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/open-wc/open-wc.git",
"directory": "packages/rollup-plugin-html"
},
"author": "open-wc",
"homepage": "https://github.com/open-wc/open-wc/packages/rollup-plugin-html",
"main": "rollup-plugin-html.js",
"scripts": {
"demo:mpa": "yarn demo:mpa:defaults",
"demo:mpa:defaults": "rm -rf demo/dist && rollup -c demo/mpa/rollup.config.js --watch & yarn serve-demo",
"demo:mpa:virtual": "rm -rf demo/dist && rollup -c demo/mpa/virtual-rollup.config.js --watch & yarn serve-demo",
"demo:spa": "yarn demo:spa:defaults",
"demo:spa:defaults": "rm -rf demo/dist && rollup -c demo/spa/defaults.rollup.config.js --watch & yarn serve-demo",
"demo:spa:html-input": "rm -rf demo/dist && rollup -c demo/spa/html-input.rollup.config.js --watch & yarn serve-demo",
"demo:spa:manual-inject": "rm -rf demo/dist && rollup -c demo/spa/manual-inject.rollup.config.js --watch & yarn serve-demo",
"demo:spa:multi-output": "rm -rf demo/dist && rollup -c demo/spa/multi-output.rollup.config.js --watch & yarn serve-demo",
"demo:spa:template": "rm -rf demo/dist && rollup -c demo/spa/template.rollup.config.js --watch & yarn serve-demo",
"demo:spa:virtual": "rm -rf demo/dist && rollup -c demo/spa/virtual-rollup.config.js --watch & yarn serve-demo",
"prepublishOnly": "../../scripts/insert-header.js",
"serve-demo": "node ../es-dev-server/dist/cli.js --watch --root-dir demo/dist --app-index index.html --compatibility none --open",
"test": "npm run test:node",
"test:node": "mocha test/**/*.test.js test/*.test.js",
"test:update-snapshots": "mocha test/**/*.test.js test/*.test.js --update-snapshots",
"test:watch": "npm run test:node -- --watch"
},
"files": [
"rollup-plugin-html.d.ts",
"rollup-plugin-html.js",
"src"
],
"keywords": [
"rollup-plugin",
"minify",
"html",
"polyfill"
],
"dependencies": {
"@open-wc/building-utils": "^2.18.3",
"@types/html-minifier": "^3.5.3",
"fs-extra": "^8.1.0",
"glob": "^7.1.3",
"html-minifier-terser": "^5.1.1",
"parse5": "^5.1.1"
},
"gitHead": "59e56d74ca6e89550ef2e6ed1c5ac5adc9c1906e"
}