mirror of https://codeberg.org/pzp/pzp-db.git
84 lines
2.1 KiB
JSON
84 lines
2.1 KiB
JSON
{
|
|
"name": "pzp-db",
|
|
"version": "1.0.4",
|
|
"description": "Default PZP database",
|
|
"homepage": "https://codeberg.org/pzp/pzp-db",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@codeberg.org:pzp/pzp-db.git"
|
|
},
|
|
"author": "Andre Staltz <contact@staltz.com>",
|
|
"license": "MIT",
|
|
"type": "commonjs",
|
|
"main": "lib/index.js",
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"types": "types/index.d.ts",
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.js"
|
|
},
|
|
"./msg-v4": {
|
|
"require": "./lib/msg-v4/index.js"
|
|
},
|
|
"./db-tangle": {
|
|
"require": "./lib/db-tangle.js"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@alloc/quick-lru": "^5.2.0",
|
|
"atomic-file-rw": "~0.3.0",
|
|
"b4a": "~1.6.4",
|
|
"blake3": "~2.1.7",
|
|
"bs58": "~5.0.0",
|
|
"debug": "^4.3.0",
|
|
"is-buffer-zero": "^1.0.0",
|
|
"json-canon": "~1.0.0",
|
|
"lodash.debounce": "~4.0.8",
|
|
"multicb": "~1.2.2",
|
|
"mutexify": "~1.4.0",
|
|
"obz": "~1.1.0",
|
|
"polyraf": "^1.1.0",
|
|
"pzp-keypair": "^1.0.0",
|
|
"promisify-4loc": "~1.0.0",
|
|
"promisify-tuple": "~1.2.0",
|
|
"pull-stream": "^3.7.0",
|
|
"push-stream": "~11.2.0",
|
|
"set.prototype.union": "~1.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/b4a": "^1.6.0",
|
|
"@types/pull-stream": "^3.6.7",
|
|
"c8": "^7.11.0",
|
|
"flumecodec": "~0.0.1",
|
|
"husky": "^4.3.0",
|
|
"pzp-caps": "^1.0.0",
|
|
"prettier": "^2.6.2",
|
|
"pretty-quick": "^3.1.3",
|
|
"rimraf": "^4.4.0",
|
|
"secret-handshake-ext": "0.0.10",
|
|
"secret-stack": "8.0.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",
|
|
"test-verbose": "VERBOSE=1 npm run 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"
|
|
}
|
|
}
|
|
}
|