-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 2.14 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 2.14 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
69
70
71
72
73
74
75
76
77
78
{
"name": "@cto.af/http-headers",
"version": "1.0.4",
"decription": "Parse HTTP headers from RFC 9110 (and others) using the full ABNF",
"main": "lib/index.js",
"type": "module",
"keywords": [
"http",
"header",
"rfc",
"9110",
"parser",
"peggy",
"peg",
"abnf",
"rfc3986",
"rfc4647",
"rfc5322",
"rfc5646",
"rfc6265",
"rfc6797",
"rfc7639",
"rfc7838",
"rfc8288",
"rfc8942",
"rfc9111",
"content-security-policy",
"set-cookie",
"permissions-policy",
"referrer-policy",
"network-error-logging",
"draft-reschke-http-jfv",
"reporting-endpoints",
"server-timing"
],
"author": "Joe Hildebrand <joe-github@cursive.net>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cto-af/http-headers.git"
},
"homepage": "https://github.com/cto-af/http-headers#readme",
"bugs": {
"url": "https://github.com/cto-af/http-headers/issues"
},
"files": [
"lib"
],
"scripts": {
"clean": "rm -rf coverage lib",
"lint": "eslint .",
"pretest": "npm run parser:verbose",
"test": "c8 node --test",
"posttest": "npm run parser && NO_GENERATE=1 node --test",
"abnf": "abnf_gen -c src/original.abnf abnf/*.abnf -s Headers -s Headers-Loose",
"parser": "peggy -c peggy.config.js && mkdir -p lib && cat src/types.d.ts src/index.d.ts > lib/index.d.ts && terser src/index.js --config-file terser.json -o lib/index.js",
"parser:verbose": "peggy -c peggy.config.js && mkdir -p lib && cat src/types.d.ts src/index.d.ts > lib/index.d.ts && cp src/index.js lib/index.js",
"build": "npm run test && npm run lint && npm pack --dry-run"
},
"devDependencies": {
"@cto.af/eslint-config": "^6.2.5",
"@eslint/markdown": "^7.5.1",
"@peggyjs/coverage": "^2.0.5",
"abnf": "^5.0.4",
"eslint": "^10.0.3",
"eslint-plugin-jsdoc": "^62.8.0",
"eslint-plugin-markdown": "^5.1.0",
"peggy": "^5.1.0",
"superc8": "^12.3.1",
"terser": "^5.46.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1"
},
"packageManager": "pnpm@10.32.1",
"engines": {
"node": ">=20"
}
}