mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
- @open-wc/building-rollup@1.9.3 - @open-wc/building-utils@2.18.3 - @open-wc/building-webpack@2.13.46 - @open-wc/demoing-storybook@2.4.5 - es-dev-server@1.57.8 - @open-wc/karma-esm@3.0.9 - polyfills-loader@1.7.4 - @open-wc/rollup-plugin-html@1.2.5 - rollup-plugin-index-html@1.12.8 - @open-wc/rollup-plugin-polyfills-loader@1.1.7 - @open-wc/testing-karma-bs@1.3.94 - @open-wc/testing-karma@4.0.9 - @open-wc/webpack-index-html-plugin@1.7.14
55 lines
2.3 KiB
JSON
55 lines
2.3 KiB
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"
|
|
}
|
|
}
|