UNPKG

@orbitdb/set-db

Version:

Set database type for orbit-db.

82 lines 2.52 kB
{ "name": "@orbitdb/set-db", "version": "1.1.3", "description": "Set 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", "dependencies": { "@orbitdb/core": "^2.4.3", "helia": "^5.2.1" }, "devDependencies": { "@chainsafe/libp2p-gossipsub": "^14.1.0", "@chainsafe/libp2p-noise": "^16.0.3", "@chainsafe/libp2p-yamux": "^7.0.1", "@eslint/js": "^9.20.0", "@helia/block-brokers": "^4.0.4", "@libp2p/circuit-relay-v2": "^3.2.0", "@libp2p/identify": "^3.0.20", "@libp2p/interface": "^2.10.4", "@libp2p/webrtc": "^5.2.0", "@libp2p/websockets": "^9.2.0", "@orbitdb/core-types": "^1.0.14", "@types/mocha": "^10.0.10", "@typescript-eslint/eslint-plugin": "^8.24.1", "@typescript-eslint/parser": "^8.24.1", "aegir": "^45.0.9", "blockstore-core": "^5.0.2", "blockstore-level": "^2.0.1", "eslint": "^9.20.1", "eslint-config-prettier": "^10.0.1", "genversion": "^3.2.0", "libp2p": "^2.7.0", "mocha": "^11.1.0", "prettier": "^3.5.1", "rimraf": "^6.0.1", "ts-patch": "^3.3.0", "typescript": "^5.7.3", "typescript-eslint": "^8.24.1", "typescript-transform-paths": "^3.5.3", "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" }, "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" } }