UNPKG

html-bundler-webpack-plugin

Version:

Generates complete single-page or multi-page website from source assets. Built-in support for Markdown, Eta, EJS, Handlebars, Nunjucks, Pug. Alternative to html-webpack-plugin.

225 lines (224 loc) 7.11 kB
{ "name": "html-bundler-webpack-plugin", "version": "4.21.1", "description": "Generates complete single-page or multi-page website from source assets. Built-in support for Markdown, Eta, EJS, Handlebars, Nunjucks, Pug. Alternative to html-webpack-plugin.", "keywords": [ "html", "bundler", "webpack", "plugin", "loader", "template", "ejs", "hbs", "handlebars", "nunjucks", "eta", "pug", "twig", "markdown", "integrity", "preload", "inline", "javascript", "style", "css", "scss", "favicons", "svg" ], "license": "ISC", "author": "webdiscus (https://github.com/webdiscus)", "maintainers": [ "webdiscus (https://github.com/webdiscus)" ], "funding": { "type": "patreon", "url": "https://patreon.com/biodiscus" }, "homepage": "https://github.com/webdiscus/html-bundler-webpack-plugin", "bugs": { "url": "https://github.com/webdiscus/html-bundler-webpack-plugin/issues" }, "repository": { "type": "git", "url": "git+https://github.com/webdiscus/html-bundler-webpack-plugin.git" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "scripts": { "security": "npm audit --omit=dev", "lint:spell": "cspell lint --color --show-context \"**/*.md\"", "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --config ./test/jest.config.js", "test:coverage": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --collectCoverage --config ./test/jest.config.js", "test:index": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/index.test.js", "test:preprocessor": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/preprocessor.test.js", "test:issue": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/issue.test.js", "test:messages": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/messages.test.js", "test:unit": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --detectOpenHandles --collectCoverage --config ./test/jest.config.js --runTestsByPath ./test/unit.test.js", "test:unitQueryParser": "jest --detectOpenHandles --collectCoverage --config ./test/jest.config.js --runTestsByPath ./test/unit.queryParser.test.js", "test:verbose": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/verbose.test.js", "test:verbose-update": "jest --detectOpenHandles --updateSnapshot --config ./test/jest.config.js --runTestsByPath ./test/verbose.test.js", "use:npmReadme": "mv 'README.md' './.github/README.git.md' && mv 'README.npm.md' 'README.md'", "use:gitReadme": "mv 'README.md' 'README.npm.md' && mv './.github/README.git.md' 'README.md'", "prepublishOnly": "npm run use:npmReadme", "postpublish": "npm run use:gitReadme", "publish:public": "npm publish --access public", "publish:beta": "npm publish --tag beta" }, "main": "src/index.js", "types": "types.d.ts", "files": [ "src", "plugins", "README.md", "LICENSE", "types.d.ts" ], "exports": { ".": { "types": "./types.d.ts", "require": "./src/index.js", "import": "./src/index.js" }, "./plugins": "./plugins/index.js", "./plugins/favicons-bundler-plugin": { "types": "./plugins/favicons-bundler-plugin/index.d.ts", "require": "./plugins/favicons-bundler-plugin/index.js", "import": "./plugins/favicons-bundler-plugin/index.js" }, "./Config": { "require": "./src/Common/Config.js", "import": "./src/Common/Config.js" } }, "engines": { "node": ">=18" }, "peerDependencies": { "ejs": ">=3.1.10", "favicons": ">=7.2.0", "handlebars": ">=4.7.8", "liquidjs": ">=10.17.0", "markdown-it": ">=12", "mustache": ">=4.2.0", "nunjucks": ">=3.2.3", "parse5": ">=7.1.2", "prismjs": ">=1.29.0", "pug": ">=3.0.3", "twig": ">=1.17.1", "webpack": ">=5.81.0" }, "peerDependenciesMeta": { "favicons": { "optional": true }, "ejs": { "optional": true }, "handlebars": { "optional": true }, "liquidjs": { "optional": true }, "markdown-it": { "optional": true }, "mustache": { "optional": true }, "nunjucks": { "optional": true }, "parse5": { "optional": true }, "prismjs": { "optional": true }, "pug": { "optional": true }, "twig": { "optional": true } }, "dependencies": { "@types/html-minifier-terser": "^7.0.2", "ansis": "4.1.0", "enhanced-resolve": ">=5.7.0", "eta": "^3.5.0", "html-minifier-terser": "^7.2.0" }, "devDependencies": { "@babel/core": "^7.28.0", "@babel/preset-env": "^7.28.0", "@emotion/react": "11.13.0", "@emotion/styled": "11.13.0", "@mui/material": "5.16.7", "@swc/html": "^1.10.7", "@test-fixtures/dius": "file:./test/fixtures/node_modules/dius/", "@test-fixtures/js": "0.0.2", "@test-fixtures/lorem": "file:./test/fixtures/node_modules/lorem/", "@test-fixtures/scss": "0.0.7", "@test/html-bundler-webpack-plugin": "file:./", "@test/import-css": "file:./test/fixtures/node_modules/import-css/", "@types/jest": "^30.0.0", "@types/react-dom": "^18.3.1", "compression-webpack-plugin": "^11.1.0", "copy-webpack-plugin": "13.0.0", "cspell": "^9.1.2", "css-loader": "^7.1.2", "css-minimizer-webpack-plugin": "^7.0.0", "cssnano": "^7.0.6", "ejs": "^3.1.10", "favicons": "7.2.0", "github-markdown-css": "^5.8.1", "handlebars": "^4.7.8", "handlebars-layouts": "^3.1.4", "html-loader": "^5.1.0", "html-minimizer-webpack-plugin": "^5.0.0", "image-minimizer-webpack-plugin": "^4.1.3", "jest": "^30.0.4", "liquidjs": "^10.18.0", "markdown-it": "^14.1.0", "markdown-loader": "^7.0.0", "mini-svg-data-uri": "^1.4.4", "mustache": "^4.2.0", "normalize.css": "^8.0.1", "nunjucks": "^3.2.4", "parse5": "^7.2.1", "postcss": "^8.4.49", "postcss-loader": "^8.1.1", "postcss-preset-env": "^10.1.1", "prettier": "^3.3.3", "prismjs": "^1.29.0", "pug": "^3.0.3", "react": "18.3.1", "react-dom": "18.3.1", "responsive-loader": "^3.1.2", "rtlcss": "^4.3.0", "sass": "1.89.2", "sass-loader": "16.0.5", "sharp": "^0.34.2", "svgo-loader": "^4.0.0", "tailwindcss": "^3.4.15", "tempura": "^0.4.1", "ts-loader": "9.5.1", "tsconfig-paths-webpack-plugin": "^4.1.0", "twig": "^1.17.1", "typescript": "5.6.3", "vue": "3.5.12", "vue-loader": "^17.4.2", "webpack": "5.99.9", "webpack-cli": "6.0.1", "webpack-dev-server": "^5.2.2" }, "overrides": { "sharp": "^0.34.2" }, "packageManager": "pnpm@10.7.0+sha512.6b865ad4b62a1d9842b61d674a393903b871d9244954f652b8842c2b553c72176b278f64c463e52d40fff8aba385c235c8c9ecf5cc7de4fd78b8bb6d49633ab6" }