-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.14 KB
/
package.json
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
79
80
81
{
"name": "@cto.af/http-headers",
"version": "0.1.0",
"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": "5.0.5",
"@peggyjs/coverage": "1.3.2",
"abnf": "4.2.0",
"c8": "10.1.2",
"eslint-plugin-jsdoc": "50.6.0",
"eslint-plugin-markdown": "5.1.0",
"peggy": "4.2.0",
"terser": "5.36.0",
"typescript": "5.7.2",
"typescript-eslint": "8.16.0"
},
"packageManager": "pnpm@9.14.4",
"pnpm": {
"overrides": {
"@eslint/plugin-kit": "^0.2.3"
}
},
"engines": {
"node": ">=18.8"
}
}