-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
79 lines (79 loc) · 2.36 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
{
"name": "@orbitdb/ordered-keyvalue-db",
"version": "1.1.0",
"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 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": "^2.3.0",
"helia": "^5.1.0"
},
"devDependencies": {
"@chainsafe/libp2p-gossipsub": "^14.1.0",
"@chainsafe/libp2p-noise": "^16.0.0",
"@chainsafe/libp2p-yamux": "^7.0.1",
"@constl/orbit-db-types": "^2.0.2",
"@eslint/js": "^9.13.0",
"@helia/block-brokers": "^4.0.1",
"@libp2p/circuit-relay-v2": "^3.0.0",
"@libp2p/identify": "^3.0.9",
"@libp2p/webrtc": "^5.0.14",
"@libp2p/websockets": "^9.0.9",
"@types/mocha": "^10.0.9",
"aegir": "^44.1.4",
"blockstore-core": "^5.0.2",
"blockstore-level": "^2.0.1",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"genversion": "^3.2.0",
"libp2p": "^2.1.10",
"mocha": "^10.7.3",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"ts-patch": "^3.2.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.11.0",
"typescript-transform-paths": "^3.5.1",
"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"
}
}