@jackdbd/eleventy-plugin-permissions-policy
Version:
Eleventy plugin that writes Permissions-Policy and Feature-Policy headers to a `_headers` file when Eleventy builds your site.
89 lines (88 loc) • 2.6 kB
JSON
{
"name": "@jackdbd/eleventy-plugin-permissions-policy",
"version": "1.1.1",
"description": "Eleventy plugin that writes Permissions-Policy and Feature-Policy headers to a `_headers` file when Eleventy builds your site.",
"author": {
"name": "Giacomo Debidda",
"email": "giacomo@giacomodebidda.com",
"url": "https://giacomodebidda.com/"
},
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public"
},
"keywords": [
"11ty",
"plugin",
"http",
"http-headers",
"privacy",
"security-headers",
"web-security"
],
"repository": {
"type": "git",
"url": "https://github.com/jackdbd/undici"
},
"homepage": "https://github.com/jackdbd/undici/tree/main/packages/eleventy-plugin-permissions-policy#readme",
"engines": {
"node": ">=18"
},
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./schemas": {
"types": "./lib/schemas.d.ts",
"import": "./lib/schemas.js"
},
"./package.json": "./package.json"
},
"typesVersions": {
">=4.0": {
"*": [
"./lib/*.d.ts"
]
}
},
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"lib"
],
"scripts": {
"build": "run-s 'build:ts' 'docs' --print-label",
"build:ts": "tsc -p tsconfig.json",
"build:ts:watch": "tsc -p tsconfig.json --watch",
"clean": "rimraf lib/ tsconfig.tsbuildinfo",
"docs": "run-s 'docs:ae' 'docs:ad' 'docs:typedoc' 'readme' --print-label",
"docs:ad": "../../scripts/api-documenter.mjs",
"docs:ae": "../../scripts/api-extractor.mjs",
"docs:typedoc": "../../scripts/typedoc.mjs",
"format": "../../scripts/format.mjs",
"lint": "eslint --config ../../config/eslint.cjs",
"nuke": "npm run clean && rimraf node_modules 'package-lock.json'",
"precommit": "lint-staged --config ../../config/lint-staged.cjs",
"publint": "publint run .",
"readme": "tsm ../../scripts/readme.ts eleventy-plugin-permissions-policy",
"size": "pkg-size ./lib --sort-by=brotli --ignore-files {*.d.ts,*.map}",
"test": "node --test --experimental-test-coverage",
"test:ci": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info",
"test:watch": "node --test --watch"
},
"dependencies": {
"zod": "^3.22.4",
"zod-validation-error": "^3.0.0"
},
"peerDependencies": {
"@11ty/eleventy": ">=2.0.0 || 3.0.0-alpha.4",
"debug": ">=4.0.0"
},
"devDependencies": {
"@jackdbd/eleventy-test-utils": "*"
}
}