UNPKG

webpack-browser-extension-html

Version:
75 lines (74 loc) 2.02 kB
{ "license": "MIT", "repository": { "type": "git", "url": "https://github.com/cezaraugusto/webpack-browser-extension-html.git" }, "engines": { "node": ">=18" }, "name": "webpack-browser-extension-html", "version": "1.1.1", "description": "webpack plugin to handle HTML assets from browser extensions", "main": "./dist/module.js", "types": "./dist/module.d.ts", "files": [ "dist" ], "author": { "name": "Cezar Augusto", "email": "boss@cezaraugusto.net", "url": "https://cezaraugusto.com" }, "scripts": { "clean": "rm -rf dist", "watch": "yarn compile --watch", "compile:plugin": "tsup-node ./module.ts ./loaders/InjectHmrAcceptLoader.ts --format cjs --dts --target=node18 --minify", "compile:web": "tsup-node ./minimum-script-file.ts --format esm --dts --target=node18 --minify --config=tsconfig.web.json", "compile:css": "copy-file './minimum-css-file.css' dist/minimum-css-file.css", "compile": "yarn compile:web && yarn compile:css && yarn compile:plugin", "lint": "eslint \"./**/*.ts*\"", "test": "jest" }, "keywords": [ "webpack", "plugin", "browser", "web", "extension", "web-ext", "html", "script", "scripts", "css", "manifest", "manifest.json" ], "peerDependencies": { "webpack": "~5.92.0" }, "dependencies": { "browser-extension-manifest-fields": "*", "loader-utils": "^3.2.1", "parse5": "^7.1.2", "parse5-utils": "^2.0.0", "schema-utils": "^4.2.0" }, "devDependencies": { "@types/fs-extra": "^11.0.4", "@types/jest": "^29.5.12", "copy-file-util": "^1.2.1", "copy-webpack-plugin": "^12.0.2", "eslint": "^8.56.0", "eslint-config-extension-create": "*", "fs-extra": "^11.2.0", "jest": "^29.7.0", "tailwindcss": "^3.4.1", "ts-jest": "^29.1.2", "tsconfig": "*", "tsup": "^8.0.1", "webpack": "~5.92.0", "webpack-cli": "^5.1.4", "webpack-target-webextension": "^1.1.0" } }