pzp-dict/package.json

58 lines
1.4 KiB
JSON

{
"name": "pzp-dict",
"version": "1.0.0",
"description": "Dictionary data structure over append-only logs with pruning",
"author": "Andre Staltz <contact@staltz.com>",
"license": "MIT",
"homepage": "https://codeberg.org/pzp/pzp-dict",
"repository": {
"type": "git",
"url": "git@codeberg.org:pzp/pzp-dict.git"
},
"main": "index.js",
"files": [
"*.js",
"lib/*.js",
"lib/*.d.ts"
],
"exports": {
".": {
"require": "./lib/index.js"
}
},
"type": "commonjs",
"engines": {
"node": ">=16"
},
"dependencies": {
"pull-stream": "^3.7.0"
},
"devDependencies": {
"@types/pull-stream": "^3.6.7",
"bs58": "^5.0.0",
"c8": "7",
"pzp-caps": "^1.0.0",
"pzp-db": "^1.0.3",
"pzp-keypair": "^1.0.0",
"rimraf": "^4.4.0",
"secret-handshake-ext": "0.0.10",
"secret-stack": "~8.1.0",
"ssb-box": "^1.0.1",
"typescript": "^5.1.3"
},
"scripts": {
"clean-check": "tsc --build --clean",
"prepublishOnly": "npm run clean-check && tsc --build",
"postpublish": "npm run clean-check",
"test": "npm run clean-check && node --test",
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
"coverage": "c8 --reporter=lcov npm run test"
},
"husky": {
"hooks": {
"pre-commit": "npm run format-code-staged"
}
}
}