UNPKG

permissions-policy

Version:

Middleware to set the Permissions-Policy HTTP header

69 lines (68 loc) 1.85 kB
{ "name": "permissions-policy", "author": "Pedro Fernandes <pedrogbfernandes@gmail.com>", "contributors": [ "Evan Hahn <me@evanhahn.com> (https://evanhahn.com)" ], "description": "Middleware to set the Permissions-Policy HTTP header", "version": "0.6.0", "license": "MIT", "keywords": [ "helmet", "security", "express", "connect", "permissions-policy" ], "homepage": "https://github.com/pedro-gbf/permissions-policy", "repository": { "type": "git", "url": "git://github.com/pedro-gbf/permissions-policy.git" }, "bugs": { "url": "https://github.com/pedro-gbf/permissions-policy/issues", "email": "pedrogbfernandes@gmail.com" }, "scripts": { "pretest": "npm run lint", "prepublishOnly": "npm run build", "lint": "npm run lint:eslint && npm run lint:prettier", "lint:eslint": "eslint \"**/*.ts\"", "lint:prettier": "prettier --check \"**/*.{md,js,json,ts}\"", "format": "prettier --write \"**/*.{md,js,json,ts}\"", "test": "jest --config test/jest-config.json", "clean": "rm -rf dist", "build": "npm run clean && tsc" }, "engines": { "node": ">=10.0.0" }, "main": "./dist/index.js", "typings": "./dist/index.d.ts", "files": [ "CHANGELOG.md", "LICENSE", "README.md", "dist/index.js", "dist/index.d.ts" ], "dependencies": {}, "devDependencies": { "@types/connect": "^3.4.34", "@types/jest": "^26.0.20", "@types/supertest": "^2.0.10", "@typescript-eslint/eslint-plugin": "^3.10.1", "@typescript-eslint/parser": "^3.10.1", "connect": "^3.7.0", "eslint": "^7.21.0", "eslint-config-helmet": "^0.2.0", "jest": "^26.6.3", "prettier": "^2.2.1", "supertest": "^4.0.2", "ts-jest": "^26.5.2", "typescript": "^3.9.9" }, "directories": { "test": "test" } }