mirror of https://codeberg.org/pzp/pzp-promise.git
58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "ppppp-promise",
|
|
"version": "0.0.1",
|
|
"description": "PPPPP promises are tokens that authorize others to gain something",
|
|
"homepage": "https://github.com/staltz/ppppp-promise",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/staltz/ppppp-promise.git"
|
|
},
|
|
"author": "Andre 'Staltz' Medeiros <contact@staltz.com>",
|
|
"license": "MIT",
|
|
"type": "commonjs",
|
|
"main": "lib/index.js",
|
|
"files": [
|
|
"lib/**/*"
|
|
],
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.js"
|
|
}
|
|
},
|
|
"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",
|
|
"ppppp-caps": "github:staltz/ppppp-caps",
|
|
"ppppp-db": "github:staltz/ppppp-db",
|
|
"ppppp-keypair": "github:staltz/ppppp-keypair",
|
|
"prettier": "^2.6.2",
|
|
"pretty-quick": "^3.1.3",
|
|
"rimraf": "^5.0.1",
|
|
"secret-handshake-ext": "~0.0.8",
|
|
"secret-stack": "~7.1.0",
|
|
"typescript": "^5.0.2"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "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"
|
|
}
|
|
}
|
|
}
|