-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 3.06 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "@session.js/types",
"version": "1.0.9",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Viktor Shchelochkov <[email protected]> (https://hloth.dev)",
"repository": {
"type": "git",
"url": "git+https://github.com/sessionjs/types.git"
},
"bugs": {
"url": "https://github.com/sessionjs/types/issues"
},
"homepage": "https://github.com/sessionjs/types#readme",
"description": "A special package that holds TypeScript definitions and enums shared internally and for developing your own @session.js/client modular parts.",
"type": "module",
"files": [
"dist/**/*.js",
"dist/**/*.d.ts"
],
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./network": {
"import": "./dist/network/index.js",
"types": "./dist/network/index.d.ts"
},
"./network/request": {
"import": "./dist/network/request.js",
"types": "./dist/network/request.d.ts"
},
"./network/response": {
"import": "./dist/network/response.js",
"types": "./dist/network/response.d.ts"
},
"./storage": {
"import": "./dist/storage/index.js",
"types": "./dist/storage/index.d.ts"
},
"./signal-bindings": {
"import": "./dist/signal-bindings/index.js",
"types": "./dist/signal-bindings/index.d.ts"
},
"./disappearing-message": {
"import": "./dist/disappearing-message.js",
"types": "./dist/disappearing-message.d.ts"
},
"./enums": {
"import": "./dist/enums.js",
"types": "./dist/enums.d.ts"
},
"./envelope": {
"import": "./dist/envelope.js",
"types": "./dist/envelope.d.ts"
},
"./namespaces": {
"import": "./dist/namespaces.js",
"types": "./dist/namespaces.d.ts"
},
"./pubkey": {
"import": "./dist/pubkey.js",
"types": "./dist/pubkey.d.ts"
},
"./snode-retrieve": {
"import": "./dist/snode-retrieve.js",
"types": "./dist/snode-retrieve.d.ts"
},
"./snode-signature-result": {
"import": "./dist/snode-signature-result.js",
"types": "./dist/snode-signature-result.d.ts"
},
"./snode": {
"import": "./dist/snode.js",
"types": "./dist/snode.d.ts"
},
"./swarm": {
"import": "./dist/swarm.js",
"types": "./dist/swarm.d.ts"
}
},
"scripts": {
"build": "rm -rf dist && tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json --resolve-full-paths && cp src/signal-bindings/compiled.js dist/signal-bindings/compiled.js && cp src/signal-bindings/compiled.d.ts dist/signal-bindings/compiled.d.ts",
"protobuf": "pbjs --target static-module --wrap es6 --out src/signal-bindings/compiled.js src/signal-bindings/signalservice.proto && pbts --out src/signal-bindings/compiled.d.ts src/signal-bindings/compiled.js --force-long"
},
"peerDependencies": {
"typescript": "^5.0.0"
},
"dependencies": {
"lodash": "^4.17.21",
"protobufjs": "^7.3.2"
},
"devDependencies": {
"@types/lodash": "^4.17.7",
"protobufjs-cli": "^1.1.2",
"tsc-alias": "^1.8.10"
}
}