UNPKG

2key-ratchet

Version:

2key-ratchet is an implementation of a Double Ratchet protocol and X3DH in TypeScript utilizing WebCrypto.

92 lines (91 loc) 2.42 kB
{ "name": "2key-ratchet", "version": "1.0.18", "description": "2key-ratchet is an implementation of a Double Ratchet protocol and X3DH in TypeScript utilizing WebCrypto.", "main": "dist/2key-ratchet.js", "module": "dist/2key-ratchet.lib.js", "types": "dist/types/index.d.ts", "scripts": { "test": "mocha", "prepare": "npm run build", "clear": "rimraf dist/*", "build": "npm run build:module && npm run build:types", "build:module": "rollup -c", "build:types": "tsc -p tsconfig.types.json", "rebuild": "npm run clear && npm run build", "lint": "tslint -p .", "lint:fix": "tslint --fix -p .", "prepub": "npm run lint && npm run build", "postpub": "git push && git push --tags origin master", "pub": "npm version patch && npm publish", "prepub:next": "npm run lint && npm run build", "pub:next": "npm version prerelease --preid=next && npm publish --tag next", "postpub:next": "git push", "sync": "git ac && git pull --rebase && git push", "coverage": "nyc npm test", "coveralls": "nyc report --reporter=text-lcov | coveralls" }, "repository": { "type": "git", "url": "git+https://github.com/PeculiarVentures/2key-ratchet.git" }, "keywords": [ "diffie-hellman", "secp256r1", "ecc", "encryption", "cryptography", "webcrypto", "session", "integrity", "messaging" ], "author": "PeculiarVentures", "contributors": [ "Miroshin Stepan<microshine@mail.ru>" ], "license": "https://github.com/PeculiarVentures/2key-ratchet/blob/master/LICENSE.md", "dependencies": { "pvtsutils": "^1.0.10", "tslib": "^1.13.0", "tsprotobuf": "^1.0.15" }, "devDependencies": { "@peculiar/webcrypto": "^1.1.1", "@types/chai": "^4.2.11", "@types/mocha": "^7.0.2", "@types/node": "^12.12.42", "chai": "^4.2.0", "coveralls": "^3.1.0", "mocha": "^7.2.0", "nyc": "^15.0.1", "rimraf": "^3.0.2", "rollup": "^2.10.9", "rollup-plugin-typescript2": "^0.26.0", "ts-node": "^8.10.1", "typescript": "^3.9.3" }, "nyc": { "extension": [ ".ts", ".tsx" ], "include": [ "src/**/*.ts" ], "exclude": [ "**/*.d.ts" ], "reporter": [ "text-summary", "html" ] }, "mocha": { "require": "ts-node/register", "extension": [ "ts" ], "spec": "test/**/*.ts" } }