UNPKG

@cmdcode/musig2

Version:

Create digital signatures based on the Musig2 protocol.

98 lines (97 loc) 2.55 kB
{ "name": "@cmdcode/musig2", "description": "Create digital signatures based on the Musig2 protocol.", "author": "Christopher Scott", "license": "CC-BY-1.0", "keywords": [ "musig", "multisig", "crypto", "utils", "library" ], "version": "2.4.3", "type": "module", "main": "./dist/main.cjs", "unpkg": "./dist/browser.js", "types": "./dist/types/index.d.ts", "exports": { ".": { "import": { "types": "./dist/types/index.d.ts", "default": "./dist/index.js" } }, "./assert": { "import": "./dist/assert.js", "types": "./dist/context.d.ts" }, "./context": { "import": "./dist/.js", "types": "./dist/context.d.ts", "default": "./dist/context.js" }, "./keys": { "import": "./dist/keys.js", "types": "./dist/keys.d.ts" }, "./sign": { "import": "./dist/sign.js", "types": "./dist/sign.d.ts" }, "./util": { "import": "./dist/util.js", "types": "./dist/util.d.ts" }, "./verify": { "import": "./dist/verify.js", "types": "./dist/verify.d.ts" } }, "repository": { "type": "git", "url": "https://github.com/cmdruid/musig.git" }, "publishConfig": { "registry": "https://registry.npmjs.org", "access": "public" }, "files": [ "README.md", "LICENSE", "dist" ], "scripts": { "build": "rm -rf ./dist && yarn tsc", "bundle": "yarn rollup -c rollup.config.ts --configPlugin typescript", "lint": "eslint . --ext .ts", "release": "yarn test && yarn lint && yarn build && yarn bundle", "scratch": "tsx --tsconfig test/tsconfig.json test/scratch.ts", "test": "tsx --tsconfig test/tsconfig.json test/tape.ts" }, "dependencies": { "@cmdcode/buff": "^2.2.5", "@cmdcode/crypto-tools": "^2.7.6" }, "devDependencies": { "@noble/curves": "^1.3.0", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-node-resolve": "^15.2.3", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", "@types/node": "^20.11.10", "@types/tape": "^5.6.4", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "eslint": "^8.56.0", "eslint-config-standard-with-typescript": "^43.0.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.1.1", "rollup": "^4.9.6", "tape": "^5.7.4", "tslib": "^2.6.2", "tsx": "^4.7.0", "typescript": "^5.3.3" } }