-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
46 lines (46 loc) · 1.35 KB
/
package.json
File metadata and controls
46 lines (46 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "media-type",
"version": "1.0.1",
"author": "Lovell Fuller <[email protected]>",
"contributors": [
"Doug Luce <[email protected]> (https://github.com/dougluce)",
"Olivier Parent <[email protected]>"
],
"type": "module",
"exports": {
"require": "./dist/media-type.cjs",
"import": "./dist/media-type.mjs"
},
"files": [
"index.d.ts",
"dist"
],
"types": "index.d.ts",
"description": "Parse and validate RFC6838/RFC9694 media types, anything from 'text/plain' to 'application/vnd.company.app.entity-v2+xml;charset=utf8'",
"scripts": {
"build": "npm run build:cjs && npm run build:mjs",
"build:cjs": "esbuild src/media-type.mjs --bundle --minify --platform=node --format=cjs --outfile=dist/media-type.cjs",
"build:mjs": "esbuild src/media-type.mjs --bundle --minify --platform=node --format=esm --outfile=dist/media-type.mjs",
"lint": "biome check && tsd --files test/index.test-d.ts",
"test": "node --experimental-test-coverage --test test/*.mjs"
},
"repository": {
"type": "git",
"url": "git://github.com/lovell/media-type.git"
},
"keywords": [
"mime-type",
"content-type",
"rfc6838",
"rfc9694"
],
"license": "Apache-2.0",
"engines": {
"node": ">=18"
},
"devDependencies": {
"@biomejs/biome": "^2.2.6",
"esbuild": "^0.25.10",
"tsd": "^0.33.0"
}
}