feature-policy
Version:
Middleware to set the Feature-Policy HTTP header
64 lines (63 loc) • 1.73 kB
JSON
{
"name": "feature-policy",
"author": "Evan Hahn <me@evanhahn.com> (https://evanhahn.com)",
"description": "Middleware to set the Feature-Policy HTTP header",
"version": "0.6.0",
"license": "MIT",
"keywords": [
"helmet",
"security",
"express",
"connect",
"feature-policy"
],
"homepage": "https://github.com/helmetjs/feature-policy",
"repository": {
"type": "git",
"url": "git://github.com/helmetjs/feature-policy.git"
},
"bugs": {
"url": "https://github.com/helmetjs/feature-policy/issues",
"email": "me@evanhahn.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}\"",
"clean": "rm -rf dist",
"build": "npm run clean && tsc",
"test": "jest --config test/jest-config.json"
},
"engines": {
"node": ">=8.0.0"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"dist/index.js",
"dist/index.d.ts"
],
"devDependencies": {
"@types/connect": "^3.4.34",
"@types/dashify": "^1.0.0",
"@types/jest": "^26.0.19",
"@types/supertest": "^2.0.10",
"@typescript-eslint/eslint-plugin": "^4.11.0",
"@typescript-eslint/parser": "^4.11.0",
"connect": "^3.7.0",
"dashify": "^2.0.0",
"eslint": "^7.16.0",
"eslint-config-helmet": "^0.2.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"supertest": "^6.0.1",
"ts-jest": "^26.4.4",
"typescript": "^4.1.3"
}
}