75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"name": "helmet-csp",
|
|
"author": "Adam Baldwin <adam@npmjs.com> (https://evilpacket.net)",
|
|
"contributors": [
|
|
"Evan Hahn <me@evanhahn.com> (https://evanhahn.com)",
|
|
"Ryan Cannon <ryan@ryancannon.com> (https://ryancannon.com)"
|
|
],
|
|
"description": "Content Security Policy middleware.",
|
|
"version": "2.10.0",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"helmet",
|
|
"security",
|
|
"express",
|
|
"connect",
|
|
"content",
|
|
"policy",
|
|
"csp",
|
|
"xss"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/helmetjs/csp.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/helmetjs/csp/issues",
|
|
"email": "me@evanhahn.com"
|
|
},
|
|
"homepage": "https://helmetjs.github.io/docs/csp/",
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"typings": "./dist/index.d.ts",
|
|
"files": [
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md",
|
|
"dist/index.js",
|
|
"dist/index.d.ts",
|
|
"dist/lib/**/*.js",
|
|
"dist/lib/types.d.ts"
|
|
],
|
|
"scripts": {
|
|
"pretest": "npm run lint",
|
|
"prepublishOnly": "npm run build",
|
|
"lint": "eslint --fix '**/*.ts'",
|
|
"test": "jest --config test/jest-config.json",
|
|
"clean": "rm -rf dist",
|
|
"build": "npm run clean && tsc",
|
|
"generate-supported-directives-docs": "./scripts/generate_supported_directives_docs"
|
|
},
|
|
"dependencies": {
|
|
"bowser": "2.9.0",
|
|
"camelize": "1.0.0",
|
|
"content-security-policy-builder": "2.1.0",
|
|
"dasherize": "2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/connect": "^3.4.33",
|
|
"@types/jest": "^25.1.4",
|
|
"@types/supertest": "^2.0.7",
|
|
"@typescript-eslint/eslint-plugin": "^2.25.0",
|
|
"@typescript-eslint/parser": "^2.25.0",
|
|
"connect": "^3.7.0",
|
|
"content-security-policy-parser": "^0.3.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-helmet": "^0.2.0",
|
|
"jest": "^25.1.0",
|
|
"supertest": "^4.0.2",
|
|
"ts-jest": "^25.2.1",
|
|
"typescript": "^3.8.3"
|
|
}
|
|
}
|