UNPKG

crypto-key-composer

Version:

A library to decompose and compose crypto keys of different types and formats

91 lines (90 loc) 2.23 kB
{ "name": "crypto-key-composer", "version": "0.1.3", "description": "A library to decompose and compose crypto keys of different types and formats", "main": "lib/index.js", "module": "es/index.js", "homepage": "https://github.com/ipfs-shipyard/js-crypto-key-composer#readme", "author": "André Cruz <andre@moxy.studio>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ipfs-shipyard/js-crypto-key-composer.git" }, "keywords": [ "crypto", "parse", "transform", "compose", "decompose", "pem", "pkcs1", "pkcs8", "jwt", "jwe", "rsa", "ed25519", "secp256k1" ], "bugs": { "url": "https://github.com/ipfs-shipyard/js-crypto-key-composer/issues" }, "files": [ "lib", "es" ], "scripts": { "build:commonjs": "BABEL_ENV=commonjs babel src -d lib --delete-dir-on-start", "build:es": "BABEL_ENV=es babel src -d es --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" ] }, "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.1.0", "husky": "^2.1.0", "jest": "^24.5.0", "lint-staged": "^8.1.4", "standard-version": "^5.0.0" }, "dependencies": { "@lordvlad/asn1.js": "^5.1.1", "buffer": "^5.2.1", "clone-deep": "^4.0.1", "deep-for-each": "^3.0.0", "es6-error": "^4.1.1", "matcher": "^2.0.0", "node-forge": "^0.8.1" } }