UNPKG

1.91 kBJSONView Raw
1{
2 "author": {
3 "name": "Robert Kieffer",
4 "url": "http://github.com/broofa",
5 "email": "robert@broofa.com"
6 },
7 "type": "module",
8 "engines": {
9 "node": ">=16"
10 },
11 "main": "./dist/src/index.js",
12 "exports": {
13 ".": "./dist/src/index.js",
14 "./lite": "./dist/src/index_lite.js",
15 "./types/standard.js": "./dist/types/standard.js",
16 "./types/other.js": "./dist/types/other.js",
17 "./package.json": "./package.json"
18 },
19 "files": [
20 "dist/src/*",
21 "dist/types/*",
22 "bin/*"
23 ],
24 "bin": {
25 "mime": "bin/cli.js"
26 },
27 "contributors": [],
28 "description": "A comprehensive library for mime-type mapping",
29 "license": "MIT",
30 "devDependencies": {
31 "@types/mime-db": "1.*",
32 "@types/mime-types": "2.1.1",
33 "@types/node": "20.5.9",
34 "@typescript-eslint/eslint-plugin": "6.6.0",
35 "@typescript-eslint/parser": "6.6.0",
36 "chalk": "5.3.0",
37 "mime-score": "2.0.3",
38 "mime-types": "2.1.35",
39 "prettier": "3.0.3",
40 "runmd": "1.3.9",
41 "standard-version": "9.5.0",
42 "typescript": "5.2.2"
43 },
44 "scripts": {
45 "build": "npm run build:clean && tsc",
46 "build:clean": "rm -fr dist",
47 "build:types": "node dist/scripts/build.js",
48 "build:watch": "npm run build:clean && tsc --watch",
49 "lint": "prettier -c .",
50 "lint:fix": "prettier -w .",
51 "prepare": "npm run build",
52 "prepublishOnly": "npm run build && npm run build:types",
53 "release": "# `standard-version --dry-run --prerelease` is the command you're after",
54 "test": "node --test",
55 "test:watch": "clear && node --enable-source-maps --test --watch test"
56 },
57 "keywords": [
58 "extension",
59 "file",
60 "mime",
61 "mime-db",
62 "mimetypes",
63 "util"
64 ],
65 "name": "mime",
66 "repository": {
67 "url": "https://github.com/broofa/mime",
68 "type": "git"
69 },
70 "version": "4.0.0",
71 "funding": [
72 "https://github.com/sponsors/broofa"
73 ]
74}