mirror of https://codeberg.org/pzp/pzp-hub.git
69 lines
1.6 KiB
JSON
69 lines
1.6 KiB
JSON
{
|
|
"name": "pzp-hub",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"description": "PZP hub server",
|
|
"author": "Andre Staltz <contact@staltz.com>",
|
|
"license": "MIT",
|
|
"homepage": "https://codeberg.org/pzp/pzp-hub/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@codeberg.org:pzp/pzp-hub.git"
|
|
},
|
|
"main": "index.js",
|
|
"files": [
|
|
"*.js",
|
|
"lib/*.js"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.js"
|
|
}
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/static": "6.12.0",
|
|
"@fastify/view": "8.2.0",
|
|
"atomic-file-rw": "~0.3.0",
|
|
"bs58": "5.0.0",
|
|
"debug": "4.3.4",
|
|
"ejs": "3.1.9",
|
|
"fastify": "4.25.2",
|
|
"pzp-caps": "^1.0.0",
|
|
"pzp-keypair": "^1.0.0",
|
|
"pzp-net": "^1.0.1",
|
|
"pino": "8.17.2",
|
|
"pull-cat": "1.1.11",
|
|
"pull-notify": "0.1.2",
|
|
"pull-stream": "3.7.0",
|
|
"secret-stack": "8.1.0",
|
|
"secret-handshake-ext": "0.0.11",
|
|
"ssb-conn": "6.0.4",
|
|
"unified": "10.1.2",
|
|
"remark-parse": "10.0.2",
|
|
"remark-rehype": "10.1.0",
|
|
"rehype-stringify": "9.0.3"
|
|
},
|
|
"devDependencies": {
|
|
"c8": "7",
|
|
"prettier": "^2.6.2",
|
|
"pretty-quick": "^3.1.3"
|
|
},
|
|
"scripts": {
|
|
"setup": "npm install --omit=dev",
|
|
"start": "DEBUG=*,-avvio,-shse node lib/index.js",
|
|
"test": "node --test",
|
|
"format-code": "prettier --write \"(lib|test)/**/*.(c)?js\"",
|
|
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.(c)?js\"",
|
|
"coverage": "c8 --reporter=lcov npm run test"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run format-code-staged"
|
|
}
|
|
}
|
|
}
|