-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
51 lines (51 loc) · 2.18 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
{
"name": "subtls",
"version": "0.4.6",
"description": "Proof-of-concept TLS 1.3 in pure JS using SubtleCrypto",
"type": "module",
"files": [
"index.js",
"index.d.ts",
"README.md",
"LICENSE"
],
"scripts": {
"== these are for bytebybyte.dev development ==": "",
"updateCertsDB": "curl 'https://curl.se/ca/cacert.pem' | ./dumpCerts.mjs",
"build": "esbuild --define:chatty=1 src/index.ts --bundle --format=esm --target=es2020 --external:fs/promises --external:crypto --loader:.pem=text --outfile=docs/index.js",
"_watch": "esbuild --define:chatty=1 src/index.ts --bundle --format=esm --target=es2020 --external:fs/promises --external:crypto --loader:.pem=text --outfile=docs/index.js --watch",
"_serve": "serve docs -p 6543 --no-clipboard",
"start": "npm-run-all --parallel --race _watch _serve",
"== these run an https GET in Node.js ==": "",
"nodeChatty": "esbuild --define:chatty=1 src/node.ts --bundle --format=esm --target=es2022 --platform=node --external:ws --loader:.pem=text | node --input-type=module",
"nodeQuiet": "esbuild --define:chatty=0 src/node.ts --bundle --format=esm --target=es2022 --platform=node --external:ws --loader:.pem=text | node --input-type=module",
"== these are for npm package export ==": "",
"_exportTypes": "tsc && npx @microsoft/api-extractor run --local && sed -i.orig -r -e '/^export [{] *[}]$/d' declarations/_extracted.d.ts && (echo '/// <reference types=\"node\" />'; echo; cat declarations/_extracted.d.ts) > index.d.ts",
"export": "npm run exportTypes && esbuild --define:chatty=0 src/export.ts --bundle --format=esm --target=es2020 --external:crypto --outfile=index.js --line-limit=110"
},
"author": "George MacKerron",
"license": "MIT",
"repository": {
"url": "git+https://github.com/jawj/subtls.git"
},
"dependencies": {
"@types/node": "^22.10.2"
},
"devDependencies": {
"@microsoft/api-extractor": "^7.48.1",
"@types/ws": "^8.5.4",
"esbuild": "^0.24.0",
"npm-run-all": "^4.1.5",
"serve": "^14.2.4",
"typescript": "^5.0.4",
"ws": "^8.13.0"
},
"keywords": [
"TLS",
"SSL",
"startTls",
"SubtleCrypto",
"TLS1.3",
"TypeScript"
]
}