pzp-sdk/package.json

67 lines
1.7 KiB
JSON

{
"name": "pzp-sdk",
"version": "0.0.1",
"description": "JS module for helping you get started with PZP development",
"author": "Andre Staltz <contact@staltz.com>",
"license": "MIT",
"homepage": "https://codeberg.org/pzp/pzp-sdk",
"repository": {
"type": "git",
"url": "git@codeberg.org:pzp/pzp-sdk.git"
},
"type": "commonjs",
"main": "lib/index.js",
"files": [
"lib/**/*",
"declarations/**/*"
],
"exports": {
".": {
"require": "./lib/index.js"
}
},
"engines": {
"node": ">=18"
},
"dependencies": {
"pzp-caps": "^1.0.0",
"pzp-conductor": "^1.0.2",
"pzp-db": "^1.0.2",
"pzp-dict": "^1.0.0",
"pzp-gc": "^1.0.0",
"pzp-goals": "^1.0.0",
"pzp-hub-client": "^1.0.0",
"pzp-invite": "^1.0.0",
"pzp-keypair": "^1.0.0",
"pzp-net": "^1.0.1",
"pzp-promise": "^1.0.0",
"pzp-set": "^1.0.0",
"pzp-sync": "^1.0.0",
"secret-handshake-ext": "0.0.11",
"secret-stack": "~8.1.0"
},
"devDependencies": {
"@types/node": "^20.2.5",
"c8": "^7.11.0",
"husky": "^4.3.0",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^5.0.7",
"typescript": "^5.4.5"
},
"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 \"*.js\" \"(test|lib)/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",
"coverage": "c8 --reporter=lcov npm run test"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}