mirror of https://codeberg.org/pzp/pzp-promise.git
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "pzp-promise",
|
|
"version": "0.0.1",
|
|
"description": "PZP promises are tokens that authorize others to gain something",
|
|
"homepage": "https://codeberg.org/pzp/pzp-promise",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git@codeberg.org:pzp/pzp-promise.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": {
|
|
"atomic-file-rw": "~0.3.0",
|
|
"b4a": "^1.6.4",
|
|
"bs58": "~5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/b4a": "^1.6.0",
|
|
"@types/node": "^20.2.5",
|
|
"c8": "^7.11.0",
|
|
"husky": "^4.3.0",
|
|
"pzp-caps": "^1.0.0",
|
|
"pzp-db": "^1.0.1",
|
|
"pzp-keypair": "^1.0.0",
|
|
"pzp-set": "^1.0.0",
|
|
"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 \"*.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"
|
|
}
|
|
}
|
|
}
|