pzp-invite/package.json

58 lines
1.5 KiB
JSON

{
"name": "ppppp-invite",
"version": "0.0.1",
"description": "PPPPP invite code generator and parser",
"homepage": "https://github.com/staltz/ppppp-invite",
"repository": {
"type": "git",
"url": "git://github.com/staltz/ppppp-invite.git"
},
"author": "Andre 'Staltz' Medeiros <contact@staltz.com>",
"license": "MIT",
"type": "commonjs",
"main": "lib/index.js",
"files": [
"lib/**/*"
],
"exports": {
".": {
"require": "./lib/index.js"
}
},
"engines": {
"node": ">=16"
},
"dependencies": {
"multiserver-address": "~1.0.1",
"promisify-tuple": "1.2.0"
},
"devDependencies": {
"@types/node": "^20.2.5",
"c8": "^7.11.0",
"husky": "^4.3.0",
"ppppp-caps": "github:staltz/ppppp-caps",
"ppppp-keypair": "github:staltz/ppppp-keypair",
"ppppp-promise": "github:staltz/ppppp-promise",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.1",
"secret-handshake-ext": "0.0.11",
"secret-stack": "~8.1.0",
"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 \"(test|lib)/**/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(test|lib)/**/*.js\"",
"coverage": "c8 --reporter=lcov npm run test"
},
"husky": {
"hooks": {
"pre-commit": "npm run format-code-staged"
}
}
}