pzp-hub/package.json

59 lines
1.3 KiB
JSON

{
"name": "ppppp-hub",
"version": "0.0.1",
"description": "PPPPP hub server",
"author": "Andre Staltz <contact@staltz.com>",
"license": "MIT",
"homepage": "https://github.com/staltz/ppppp-hub",
"repository": {
"type": "git",
"url": "git@github.com:staltz/ppppp-hub.git"
},
"main": "index.js",
"files": [
"*.js",
"lib/*.js"
],
"exports": {
".": {
"require": "./lib/index.js"
}
},
"type": "module",
"engines": {
"node": ">=16"
},
"dependencies": {
"@fastify/static": "6.10.2",
"@fastify/view": "7.4.1",
"debug": "4.3.4",
"ejs": "3.1.9",
"fastify": "4.17.0",
"pino": "8.14.1",
"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",
"tap-arc": "^0.3.5",
"tape": "^5.6.3"
},
"scripts": {
"setup": "npm install --omit=dev",
"start": "DEBUG=*,-avvio node lib/index.js",
"test": "tape test/*.js | tap-arc --bail",
"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"
}
}
}