Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 2.84 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 2.84 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@bsv/authsocket-client",
"version": "2.1.9",
"sideEffects": false,
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
},
"description": "Mutually Authenticated Web Sockets Client",
"type": "module",
"main": "./dist/mod.cjs",
"module": "./dist/mod.js",
"types": "./dist/mod.d.ts",
"files": [
"dist",
"README.md",
"LICENSE.txt",
"THIRD_PARTY_NOTICES.md",
"LICENSES"
],
"exports": {
".": {
"import": {
"types": "./dist/mod.d.ts",
"default": "./dist/mod.js"
},
"require": {
"types": "./dist/mod.d.cts",
"default": "./dist/mod.cjs"
}
},
"./package.json": "./package.json"
},
"scripts": {
"build": "pnpm build:ts && pnpm build:umd",
"build:ts": "tsdown mod.ts --format cjs,esm --dts --sourcemap --clean --out-dir dist --platform browser --tsconfig tsconfig.base.json --unbundle",
"build:umd": "webpack --config webpack.config.js",
"dev": "pnpm build:ts --watch",
"doc": "ts2md",
"format:check": "pnpm --workspace-root exec prettier --check \"packages/messaging/authsocket-client/**/*.{js,json,ts}\"",
"lint": "oxlint mod.ts src --deny-warnings",
"pack:check": "node ../../../scripts/check-package-artifact.mjs . --exports AuthSocketClient,SocketClientTransport",
"prepublishOnly": "pnpm build",
"test": "jest",
"test:browser": "pnpm build && node ../../../scripts/check-browser-package.mjs .",
"test:coverage": "jest --coverage",
"test:property": "jest --runInBand --runTestsByPath src/__tests__/eventPayload.property.test.ts",
"test:watch": "jest --watch",
"typecheck": "tsc --project tsconfig.typecheck.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bsv-blockchain/ts-stack.git",
"directory": "packages/messaging/authsocket-client"
},
"keywords": [
"BSV",
"Blockchain",
"Authentication",
"Websockets",
"Sockets"
],
"author": "BSV Association",
"license": "SEE LICENSE IN LICENSE.txt",
"bugs": {
"url": "https://github.com/bsv-blockchain/ts-stack/issues"
},
"homepage": "https://github.com/bsv-blockchain/ts-stack/tree/main/packages/messaging/authsocket-client#readme",
"dependencies": {
"socket.io-client": "^4.8.3"
},
"devDependencies": {
"@bsv/sdk": "workspace:^",
"@types/jest": "^30.0.0",
"@types/node": "^26.6.1",
"@typescript/native": "npm:typescript@7.0.2",
"fast-check": "^4.9.0",
"jest": "^30.5.1",
"oxlint": "^1.83.0",
"ts-jest": "^29.4.12",
"ts2md": "^0.2.8",
"tsdown": "0.23.0",
"typescript": "npm:@typescript/typescript6@6.0.2",
"webpack": "^5.111.0",
"webpack-cli": "^7.2.3"
},
"peerDependencies": {
"@bsv/sdk": "^2.4.1 || ^3.0.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"@bsv/sdk": {
"optional": false
}
}
}