-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 3.89 KB
/
package.json
File metadata and controls
113 lines (113 loc) · 3.89 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "shogun-core",
"version": "6.9.9",
"type": "module",
"description": "SHOGUN CORE - Core library for Shogun Ecosystem",
"main": "./dist/src/index.js",
"module": "./dist/src/index.js",
"types": "./dist/types/src/index.d.ts",
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"import": "./dist/src/index.js",
"require": "./dist-cjs/index.js",
"browser": "./dist/browser/shogun-core.js",
"default": "./dist/src/index.js",
"node": "./dist/src/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "yarn format && yarn run build:esm && yarn run build:cjs && yarn run build:browser",
"build:esm": "tsc && node scripts/add-js-extensions.mjs",
"build:cjs": "tsc --project tsconfig.cjs.json && node scripts/make-cjs.mjs",
"build:browser": "webpack --config webpack.config.cjs",
"dev": "tsc --watch",
"format": "prettier --write \"src/**/*.ts\"",
"docs": "typedoc --options typedoc.json",
"prebuild": "rimraf dist dist-cjs",
"web3:example": "ts-node src/examples/web3-example.ts",
"nostr:example": "ts-node src/examples/nostr-example.ts",
"auth:test": "yarn tsx src/examples/auth-test.ts",
"crypto:working": "yarn tsx src/examples/crypto-working-test.ts",
"signal:test": "yarn tsx src/examples/signal-protocol-test.ts",
"double-ratchet:test": "yarn tsx src/examples/double-ratchet-test.ts",
"random:test": "yarn tsx src/examples/random-generation-test.ts",
"mls-sframe:test": "yarn tsx src/examples/mls-sframe-test.ts",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --ci --coverage --watchAll=false",
"test:integration": "jest --config src/__tests__/integration/jest.integration.config.js",
"test:integration:watch": "jest --config src/__tests__/integration/jest.integration.config.js --watch",
"crypto-identities:example": "yarn tsx src/examples/crypto-identity-example.ts",
"crypto-identities:simple": "yarn tsx src/examples/simple-crypto-identity-example.ts"
},
"keywords": [
"gun",
"ethereum",
"wallet",
"crypto",
"gunDB"
],
"author": "Scobru",
"license": "MIT",
"dependencies": {
"@hpke/chacha20poly1305": "^1.7.1",
"@hpke/hybridkem-x-wing": "^0.6.1",
"@hpke/ml-kem": "^0.2.1",
"@noble/ciphers": "2.0.1",
"@noble/curves": "^1.9.1",
"@noble/hashes": "^1.5.0",
"@noble/post-quantum": "^0.5.2",
"@scure/bip39": "^1.5.0",
"assert": "^2.1.0",
"buffer": "^6.0.3",
"constants-browserify": "^1.0.0",
"crypto-browserify": "^3.12.0",
"elliptic": "^6.6.1",
"ethers": "^6.13.5",
"global": "^4.4.0",
"gun": "git+https://github.com/scobru/gun",
"lodash.merge": "^4.6.2",
"nostr-tools": "^2.15.0",
"openpgp": "^6.2.2",
"stream-browserify": "^3.0.0",
"ts-mls": "^1.3.2",
"uuid": "^11.1.0",
"vm-browserify": "^1.1.2"
},
"devDependencies": {
"@babel/core": "^7.24.3",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-transform-modules-commonjs": "^7.24.1",
"@babel/preset-env": "^7.24.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.11.24",
"@types/ws": "^8.18.1",
"babel-loader": "^9.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"prettier": "^3.5.3",
"prettier-config-standard": "^7.0.0",
"process": "^0.11.10",
"rimraf": "^5.0.5",
"rollup-plugin-polyfill-node": "^0.8.0",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.3.2",
"ts-loader": "^9.5.1",
"tsx": "^4.20.6",
"typedoc": "^0.27.9",
"typescript": "^5.3.3",
"util": "^0.12.5",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=18"
}
}