-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.6 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 2.6 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
{
"name": "@orbitdb/ordered-keyvalue-db",
"version": "1.4.2",
"description": "Ordered keyvalue database type for orbit-db.",
"author": "Julien Jean Malard-Adam",
"keywords": [
"orbitdb"
],
"license": "AGPL-3.0-or-later",
"publishConfig": {
"access": "public"
},
"main": "./dist/index.js",
"type": "module",
"types": "./dist/index.d.ts",
"exports": "./dist/index.js",
"scripts": {
"clean": "rimraf dist",
"compile": "pnpm clean && pnpm tspc -p tsconfig.json",
"compile:prod": "pnpm updateVersion && pnpm format && pnpm clean && pnpm tspc -p tsconfig.build.json",
"test": "pnpm test:node && pnpm test:browser",
"test:node": "pnpm compile && pnpm aegir test -t node --cov -- --exit",
"test:browser": "pnpm compile && pnpm aegir test -t browser --cov -- --exit",
"format": "pnpm prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\" && pnpm eslint",
"release": "pnpm test && pnpm compile:prod && (git commit -a -m 'version' || true) && pnpm publish",
"updateVersion": "pnpm genversion --es6 --semi src/version.ts"
},
"dependencies": {
"@orbitdb/core": "^3.0.2",
"helia": "^6.1.4",
"it-all": "^3.0.11"
},
"devDependencies": {
"@chainsafe/libp2p-noise": "^17.0.0",
"@chainsafe/libp2p-yamux": "^8.0.1",
"@eslint/js": "^10.0.1",
"@helia/block-brokers": "^5.2.4",
"@libp2p/circuit-relay-v2": "^4.2.2",
"@libp2p/gossipsub": "^15.0.19",
"@libp2p/identify": "^4.1.2",
"@libp2p/interface": "^3.2.2",
"@libp2p/webrtc": "^6.0.19",
"@libp2p/websockets": "^10.1.10",
"@orbitdb/core-types": "^1.2.4",
"@types/mocha": "^10.0.10",
"aegir": "^47.1.7",
"blockstore-core": "^6.1.3",
"blockstore-level": "^3.0.3",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"genversion": "^3.2.0",
"libp2p": "^3.2.2",
"mocha": "^11.7.5",
"prettier": "^3.8.3",
"rimraf": "^6.1.3",
"ts-patch": "^3.3.0",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.0",
"typescript-transform-paths": "^3.5.6",
"wherearewe": "^2.0.1"
},
"jest": {
"transform": {
"(.*).ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"preset": "ts-jest/presets/default-esm",
"moduleNameMapper": {
"^@/(.*).js$": "<rootDir>/src/$1",
"^@/(.*)$": "<rootDir>/src/$1"
},
"testMatch": [
"**/*.test.ts"
],
"testEnvironment": "node"
},
"pnpm": {
"onlyBuiltDependencies": [
"@ipshipyard/node-datachannel",
"classic-level",
"esbuild",
"node-datachannel",
"unrs-resolver"
]
}
}