UNPKG

pug-plugin

Version:

Pug plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in Pug.

101 lines (100 loc) 2.7 kB
{ "name": "pug-plugin", "version": "6.0.0", "description": "Pug plugin for webpack handles a template as an entry point, extracts CSS and JS from their sources referenced in Pug.", "keywords": [ "html", "pug", "bundler", "bundle", "plugin", "loader", "webpack", "entry", "entrypoint", "template", "integrity", "js", "javascript", "css", "scss", "style", "script", "markdown" ], "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/pug-plugin", "bugs": { "url": "https://github.com/webdiscus/pug-plugin/issues" }, "repository": { "type": "git", "url": "git+https://github.com/webdiscus/pug-plugin.git" }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org/" }, "main": "src/index.js", "scripts": { "security": "npm audit --production", "test": "jest --detectOpenHandles --config ./test/jest.config.js", "test:coverage": "jest --detectOpenHandles --collectCoverage --config ./test/jest.config.js", "test:index": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/index.test.js", "test:issue": "jest --detectOpenHandles --config ./test/jest.config.js --runTestsByPath ./test/issue.test.js", "publish:public": "npm publish --access public", "publish:beta": "npm publish --tag beta" }, "files": [ "src", "CHANGELOG.md", "README.md", "LICENSE" ], "engines": { "node": ">=18" }, "peerDependencies": { "webpack": ">=5.96.0" }, "dependencies": { "ansis": "3.10.0", "html-bundler-webpack-plugin": "4.16.0", "js-beautify": "^1.15.1", "pug": "3.0.3" }, "devDependencies": { "@babel/core": "7.26.7", "@babel/preset-env": "7.26.7", "@test-fixtures/js": "0.0.2", "@test-fixtures/lorem": "0.0.2", "@test-fixtures/scss": "0.0.7", "@types/jest": "^29.5.14", "css-loader": "^7.1.2", "cssnano": "^7.0.6", "jest": "^29.7.0", "mini-css-extract-plugin": "^2.9.2", "normalize.css": "^8.0.1", "postcss-loader": "^8.1.1", "prettier": "^3.4.2", "@test/pug-plugin": "file:./", "responsive-loader": "^3.1.2", "sass": "1.83.4", "sass-loader": "^16.0.4", "sharp": "0.33.5", "svgo-loader": "^4.0.0", "tsconfig-paths-webpack-plugin": "^4.2.0", "webpack": "5.97.1", "webpack-cli": "6.0.1", "webpack-dev-server": "^5.2.0", "webpack-merge": "^6.0.1" } }