Webhook signing and validation utilities. (Javascript port of bitnix-payload for PHP)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

42 lines
1.1 KiB

{
"name": "@bitnix/payload",
"version": "0.0.1",
"description": "Webhook signing and validation utilities",
"author": {
"name": "bitnix",
"email": "bitnix@riseup.net"
},
"repository": {
"type": "git",
"url": "https://unite.openworlds.info/bitnix/bitnix-payload-js"
},
"keywords": [
"webhooks",
"http",
"payload",
"signing",
"validation"
],
"license": "AGPL-3.0",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"files": [
"lib/"
],
"scripts": {
"test": "npx env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' npx mocha -r ts-node/register 'test/**/*.ts'",
"test-coverage": "npx env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' npx nyc mocha -r ts-node/register 'test/**/*.ts'",
"build": "npx tsc -p tsconfig.json && tsc -p tsconfig-cjs.json",
"prepublishOnly": "npm run test && npm run build"
},
"devDependencies": {
"@types/chai": "^4.2.18",
"@types/mocha": "^8.2.2",
"@types/node": "^15.12.1",
"chai": "^4.3.4",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
}
}