UNPKG

ecies-geth

Version:

JavaScript Elliptic Curve Integrated Encryption Scheme (ECIES) Library - Based off Geth's implementation

62 lines 2.13 kB
{ "name": "ecies-geth", "version": "1.7.5", "description": "JavaScript Elliptic Curve Integrated Encryption Scheme (ECIES) Library - Based off Geth's implementation", "main": "dist/lib/src/typescript/index.js", "types": "index.d.ts", "scripts": { "compile": "eslint lib/**/*.ts && tsc", "fix": "eslint lib/**/*.ts --fix", "test-browser": "tsc && browserify ./dist/test/src/typescript/browser.spec.js -o dist/test/src/typescript/index.js --node && npx live-server --port=10001 --mount=/:test/src/typescript", "test-node": "tsc && mocha 'test/src/typescript/node.spec.ts' --require ts-node/register", "test": "tsc && mocha 'test/src/typescript/node.spec.ts' --require ts-node/register && browserify ./dist/test/src/typescript/browser.spec.js -o dist/test/src/typescript/index.js --node && live-server --port=10001 --mount=/:test/src/typescript", "fix-test": "eslint test/**/*.ts --fix" }, "repository": { "type": "git", "url": "git+https://github.com/cyrildever/ecies-geth.git" }, "keywords": [ "ecies", "aes-128-ctr", "crypto", "cryptography", "secp256k1", "elliptic", "curve", "ecdsa", "ecdh", "go-ethereum" ], "author": "Cyril Dever <cdever@pep-s.com>", "license": "MIT", "bugs": { "url": "https://github.com/cyrildever/ecies-geth/issues" }, "homepage": "https://github.com/cyrildever/ecies-geth#readme", "dependencies": { "elliptic": "^6.6.1", "secp256k1": "^5.0.1" }, "devDependencies": { "@types/chai-as-promised": "^7.1.8", "@eslint/eslintrc": "^3.3.0", "@eslint/js": "^9.22.0", "@types/chai": "^4.3.19", "@types/elliptic": "^6.4.18", "@types/mocha": "^10.0.10", "@types/node": "^22.13.10", "@types/secp256k1": "^4.0.6", "@typescript-eslint/eslint-plugin": "^8.26.1", "@typescript-eslint/parser": "^8.26.1", "browserify": "^17.0.1", "chai-as-promised": "^7.1.1", "chai": "^4.5.0", "eslint": "^9.22.0", "eslint-plugin-no-loops": "~0.4.0", "globals": "^16.0.0", "mocha": "^10.7.3", "ts-node": "^10.9.2", "typescript": "^5.8.2" } }