dont-sniff-mimetype
Version:
Middleware to prevent mimetype from being sniffed
62 lines (61 loc) • 1.59 kB
JSON
{
"name": "dont-sniff-mimetype",
"author": "Adam Baldwin <adam@npmjs.com> (https://evilpacket.net)",
"contributors": [
"Evan Hahn <me@evanhahn.com> (https://evanhahn.com)"
],
"description": "Middleware to prevent mimetype from being sniffed",
"version": "1.1.0",
"license": "MIT",
"keywords": [
"helmet",
"security",
"express",
"connect",
"mimetype",
"x-content-type-options"
],
"homepage": "https://helmetjs.github.io/docs/dont-sniff-mimetype",
"repository": {
"type": "git",
"url": "git://github.com/helmetjs/dont-sniff-mimetype.git"
},
"bugs": {
"url": "https://github.com/helmetjs/dont-sniff-mimetype/issues",
"email": "me@evanhahn.com"
},
"engines": {
"node": ">=4.0.0"
},
"files": [
"CHANGELOG.md",
"LICENSE",
"README.md",
"dist/index.js",
"dist/index.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"
},
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"devDependencies": {
"@types/connect": "^3.4.32",
"@types/jest": "^24.0.12",
"@types/supertest": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^1.8.0",
"@typescript-eslint/parser": "^1.8.0",
"connect": "^3.6.6",
"eslint": "^5.16.0",
"eslint-config-helmet": "^0.2.0",
"jest": "^24.8.0",
"supertest": "^4.0.2",
"ts-jest": "^24.0.2",
"typescript": "^3.4.5"
}
}