-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 1.99 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 1.99 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "encoding-sniffer",
"version": "1.0.2",
"description": "Implementation of the HTML encoding sniffer algo, with stream support",
"bugs": {
"url": "https://github.com/fb55/encoding-sniffer/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/fb55/encoding-sniffer.git"
},
"funding": {
"type": "github",
"url": "https://github.com/fb55/encoding-sniffer?sponsor=1"
},
"license": "MIT",
"author": "Felix Boehm <me@feedic.com>",
"sideEffects": false,
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./sniffer": {
"types": "./dist/sniffer.d.ts",
"default": "./dist/sniffer.js"
}
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
"!**/*.spec.ts"
],
"scripts": {
"build": "tsc",
"build:docs": "typedoc --hideGenerator src/index.ts",
"format": "npm run format:es && npm run format:biome",
"format:biome": "biome check --write .",
"format:es": "npm run lint:es -- --fix",
"lint": "npm run lint:es && npm run lint:ts && npm run lint:biome",
"lint:biome": "biome check .",
"lint:es": "eslint .",
"lint:ts": "tsc --noEmit -p tsconfig.eslint.json",
"prepublishOnly": "npm run build",
"test": "npm run test:vi && npm run lint",
"test:vi": "vitest run"
},
"dependencies": {
"@exodus/bytes": "^1.15.0"
},
"devDependencies": {
"@biomejs/biome": "^2.4.12",
"@feedic/eslint-config": "^0.3.1",
"@types/node": "^25.6.0",
"eslint": "^10.2.0",
"eslint-config-biome": "^2.1.3",
"globals": "^17.5.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.58.2",
"vitest": "^4.1.4"
},
"engines": {
"node": ">=20.19.0"
}
}