@ocap/statedb-memory
Version:
OCAP statedb adapter that uses memory as backend statedb, just for test purpose
70 lines (69 loc) • 1.83 kB
JavaScript
//#region package.json
var name = "@ocap/statedb-memory";
var package_default = {
name,
description: "OCAP statedb adapter that uses memory as backend statedb, just for test purpose",
version: "1.20.2",
author: "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)",
bugs: {
"url": "https://github.com/ArcBlock/blockchain/issues",
"email": "shijun@arcblock.io"
},
publishConfig: { "access": "public" },
contributors: ["wangshijun <shijun@arcblock.io> (https://www.arcblock.io)"],
devDependencies: { "@types/lokijs": "^1.5.14" },
homepage: "https://github.com/ArcBlock/blockchain/tree/master/statedb/memory",
keywords: [
"ocap",
"statedb",
"memory"
],
license: "Apache-2.0",
type: "module",
main: "./lib/index.cjs",
module: "./esm/index.mjs",
types: "./esm/index.d.mts",
exports: {
".": {
"types": "./esm/index.d.mts",
"import": "./esm/index.mjs",
"default": "./lib/index.cjs"
},
"./lib/*.js": {
"types": "./esm/*.d.mts",
"import": "./esm/*.mjs",
"default": "./lib/*.cjs"
},
"./lib/*": {
"types": "./esm/*.d.mts",
"import": "./esm/*.mjs",
"default": "./lib/*.cjs"
}
},
files: ["lib", "esm"],
repository: {
"type": "git",
"url": "https://github.com/ArcBlock/blockchain/tree/master/statedb/memory"
},
scripts: {
"build": "tsdown",
"prebuild": "rm -rf lib esm",
"lint": "biome check",
"lint:fix": "biome check --write",
"test": "bun test",
"coverage": "npm run test -- --coverage",
"clean": "rm -rf lib esm"
},
gitHead: "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
dependencies: {
"@ocap/state": "workspace:*",
"@ocap/statedb": "workspace:*",
"@ocap/types": "workspace:*",
"@ocap/util": "workspace:*",
"debug": "^4.4.3",
"lodash": "^4.17.23",
"lokijs": "^1.5.12"
}
};
//#endregion
export { package_default as default, name };