76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
|
{
|
||
|
"author": {
|
||
|
"name": "Robert Kieffer",
|
||
|
"url": "http://github.com/broofa",
|
||
|
"email": "robert@broofa.com"
|
||
|
},
|
||
|
"type": "module",
|
||
|
"engines": {
|
||
|
"node": ">=16"
|
||
|
},
|
||
|
"main": "./dist/src/index.js",
|
||
|
"exports": {
|
||
|
".": "./dist/src/index.js",
|
||
|
"./lite": "./dist/src/index_lite.js",
|
||
|
"./types/standard.js": "./dist/types/standard.js",
|
||
|
"./types/other.js": "./dist/types/other.js",
|
||
|
"./package.json": "./package.json"
|
||
|
},
|
||
|
"files": [
|
||
|
"bin",
|
||
|
"dist/src",
|
||
|
"dist/types",
|
||
|
"src",
|
||
|
"types"
|
||
|
],
|
||
|
"bin": {
|
||
|
"mime": "bin/cli.js"
|
||
|
},
|
||
|
"contributors": [],
|
||
|
"description": "A comprehensive library for mime-type mapping",
|
||
|
"license": "MIT",
|
||
|
"devDependencies": {
|
||
|
"@types/mime-db": "1.*",
|
||
|
"@types/mime-types": "2.1.1",
|
||
|
"@types/node": "20.5.9",
|
||
|
"@typescript-eslint/eslint-plugin": "6.6.0",
|
||
|
"@typescript-eslint/parser": "6.6.0",
|
||
|
"chalk": "5.3.0",
|
||
|
"mime-score": "2.0.4",
|
||
|
"mime-types": "2.1.35",
|
||
|
"prettier": "3.0.3",
|
||
|
"runmd": "1.3.9",
|
||
|
"standard-version": "9.5.0",
|
||
|
"typescript": "5.2.2"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "npm run build:clean && tsc",
|
||
|
"build:clean": "rm -fr dist",
|
||
|
"build:types": "node dist/scripts/build.js",
|
||
|
"build:watch": "npm run build:clean && tsc --watch",
|
||
|
"lint": "prettier -c .",
|
||
|
"lint:fix": "prettier -w .",
|
||
|
"prepublishOnly": "npm run build && npm run build:types && npm test",
|
||
|
"release": "# `standard-version --dry-run --prerelease` is the command you're after",
|
||
|
"test": "node --test && ./test/exports_test.sh",
|
||
|
"test:watch": "clear && node --enable-source-maps --test --watch test"
|
||
|
},
|
||
|
"keywords": [
|
||
|
"extension",
|
||
|
"file",
|
||
|
"mime",
|
||
|
"mime-db",
|
||
|
"mimetypes",
|
||
|
"util"
|
||
|
],
|
||
|
"name": "mime",
|
||
|
"repository": {
|
||
|
"url": "https://github.com/broofa/mime",
|
||
|
"type": "git"
|
||
|
},
|
||
|
"version": "4.0.3",
|
||
|
"funding": [
|
||
|
"https://github.com/sponsors/broofa"
|
||
|
]
|
||
|
}
|