-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
30 lines (30 loc) · 1.41 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
{
"name": "subtls-dev",
"version": "0.1.5",
"description": "Pure JS TLS 1.3 (deveopment repo)",
"main": "index.js",
"type": "module",
"scripts": {
"check": "tsc --noEmit",
"export": "npm run check && esbuild --define:chatty=0 src/export.ts --bundle --format=esm --target=es2020 --outfile=export/index.js --minify --line-limit=80",
"build": "npm run check && esbuild --define:chatty=1 src/index.ts --bundle --format=esm --target=es2020 --loader:.pem=text --outfile=docs/index.js",
"watch": "esbuild --define:chatty=1 src/index.ts --bundle --format=esm --target=es2020 --loader:.pem=text --outfile=docs/index.js --watch",
"serve": "servor docs index.html 6543",
"start": "npm-run-all --parallel --race watch serve",
"nodeChatty": "esbuild --define:chatty=1 src/node.ts --bundle --format=esm --target=es2022 --platform=node --external:ws --loader:.pem=text --outfile=nodeDist/index.js && node nodeDist/index.js",
"nodeQuiet": "esbuild --define:chatty=0 src/node.ts --bundle --format=esm --target=es2022 --platform=node --external:ws --loader:.pem=text --outfile=nodeDist/index.js && node nodeDist/index.js"
},
"author": "George MacKerron",
"license": "MIT",
"devDependencies": {
"esbuild": "^0.20.1",
"npm-run-all": "^4.1.5",
"servor": "^4.0.2",
"typescript": "^5.0.4"
},
"dependencies": {
"@types/node": "^20.4.1",
"@types/ws": "^8.5.4",
"ws": "^8.13.0"
}
}