UNPKG

human-crypto-keys

Version:

Generate and import human-friendly cryptographic keys using mnemonics or seeds

93 lines (92 loc) 2.31 kB
{ "name": "human-crypto-keys", "version": "0.1.4", "description": "Generate and import human-friendly cryptographic keys using mnemonics or seeds", "main": "lib/index.js", "module": "es/index.js", "homepage": "https://github.com/ipfs-shipyard/js-human-crypto-keys#readme", "author": "André Cruz <andre@moxy.studio>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ipfs-shipyard/js-human-crypto-keys.git" }, "keywords": [ "crypto", "human", "import", "store", "recover", "deterministic", "key", "mnemonic", "qr-code", "bip39", "bip0039", "prng", "seed" ], "bugs": { "url": "https://github.com/ipfs-shipyard/js-human-crypto-keys/issues" }, "files": [ "lib", "es" ], "scripts": { "build:commonjs": "BABEL_ENV=commonjs babel src -d lib --ignore \"**/__tests__\" --delete-dir-on-start", "build:es": "BABEL_ENV=es babel src -d es --ignore \"**/__tests__\" --delete-dir-on-start", "build": "npm run build:commonjs && npm run build:es", "test": "jest --coverage", "lint": "eslint --ignore-path .gitignore .", "prerelease": "npm t && npm run lint && npm run build", "release": "standard-version" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "standard-version": { "scripts": { "posttag": "git push --follow-tags origin master" } }, "lint-staged": { "*.js": [ "eslint --fix", "git add" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "jest": { "testRegex": "/__tests__/.*\\.test\\.js$" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.3.4", "@commitlint/config-conventional": "^7.5.0", "babel-jest": "^24.5.0", "babel-preset-moxy": "^3.0.4", "commitlint": "^7.5.2", "eslint": "^5.13.0", "eslint-config-moxy": "^7.0.1", "husky": "^2.1.0", "jest": "^24.1.0", "lint-staged": "^8.1.4", "standard-version": "^6.0.1" }, "dependencies": { "bip39": "^3.0.2", "crypto-key-composer": "^0.1.0", "hash.js": "^1.1.7", "hmac-drbg": "^1.0.1", "node-forge": "^0.8.2", "pify": "^4.0.1" } }