UNPKG

1.73 kBJSONView Raw
1{
2 "name": "feature-policy",
3 "author": "Evan Hahn <me@evanhahn.com> (https://evanhahn.com)",
4 "description": "Middleware to set the Feature-Policy HTTP header",
5 "version": "0.6.0",
6 "license": "MIT",
7 "keywords": [
8 "helmet",
9 "security",
10 "express",
11 "connect",
12 "feature-policy"
13 ],
14 "homepage": "https://github.com/helmetjs/feature-policy",
15 "repository": {
16 "type": "git",
17 "url": "git://github.com/helmetjs/feature-policy.git"
18 },
19 "bugs": {
20 "url": "https://github.com/helmetjs/feature-policy/issues",
21 "email": "me@evanhahn.com"
22 },
23 "scripts": {
24 "pretest": "npm run lint",
25 "prepublishOnly": "npm run build",
26 "lint": "npm run lint:eslint && npm run lint:prettier",
27 "lint:eslint": "eslint \"**/*.ts\"",
28 "lint:prettier": "prettier --check \"**/*.{md,js,json,ts}\"",
29 "format": "prettier --write \"**/*.{md,js,json,ts}\"",
30 "clean": "rm -rf dist",
31 "build": "npm run clean && tsc",
32 "test": "jest --config test/jest-config.json"
33 },
34 "engines": {
35 "node": ">=8.0.0"
36 },
37 "main": "./dist/index.js",
38 "typings": "./dist/index.d.ts",
39 "files": [
40 "CHANGELOG.md",
41 "LICENSE",
42 "README.md",
43 "dist/index.js",
44 "dist/index.d.ts"
45 ],
46 "devDependencies": {
47 "@types/connect": "^3.4.34",
48 "@types/dashify": "^1.0.0",
49 "@types/jest": "^26.0.19",
50 "@types/supertest": "^2.0.10",
51 "@typescript-eslint/eslint-plugin": "^4.11.0",
52 "@typescript-eslint/parser": "^4.11.0",
53 "connect": "^3.7.0",
54 "dashify": "^2.0.0",
55 "eslint": "^7.16.0",
56 "eslint-config-helmet": "^0.2.0",
57 "jest": "^26.6.3",
58 "prettier": "^2.2.1",
59 "supertest": "^6.0.1",
60 "ts-jest": "^26.4.4",
61 "typescript": "^4.1.3"
62 }
63}