crypto-conditions
Version:
Implementation of crypto-conditions in JavaScript
140 lines (139 loc) • 4.07 kB
JSON
{
"name": "crypto-conditions",
"version": "2.2.1",
"description": "Implementation of crypto-conditions in JavaScript",
"main": "./dist/node/index.js",
"browser": "./dist/browser/CryptoConditions.cjs2.min.js",
"types": "./types/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist",
"schemas",
"types"
],
"dependencies": {
"asn1.js": "5.4.1",
"tweetnacl": "^1.0.3"
},
"optionalDependencies": {
"ed25519": "0.0.5"
},
"devDependencies": {
"@babel/cli": "^7.17.0",
"@babel/core": "^7.17.2",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-export-default-from": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/register": "^7.17.0",
"@babel/runtime-corejs3": "^7.17.2",
"babel-loader": "^8.2.2",
"buffer": "^6.0.3",
"chai": "^4.3.3",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"crypto-browserify": "^3.12.0",
"cz-conventional-changelog": "^3.3.0",
"do-you-even-bench": "^1.0.5",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"husky": "^7.0.4",
"interledger-jsdoc-template": "^2.0.0",
"jsdoc": "^3.6.6",
"karma": "^6.3.16",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-sourcemap-loader": "^0.3.8",
"karma-webpack": "^5.0.0",
"lint-staged": "^12.3.4",
"md-toc-filter": "^0.9.0",
"mocha": "^9.2.0",
"mustache": "^4.2.0",
"nyc": "^15.1.0",
"path-browserify": "^1.0.1",
"process": "^0.11.10",
"puppeteer": "^13.3.0",
"querystring-es3": "^0.2.1",
"release-it": "^14.12.4",
"rimraf": "^3.0.2",
"sinon": "^6.1.5",
"stream-browserify": "^3.0.0",
"terser-webpack-plugin": "^5.3.1",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"webpack-merge": "^5.8.0",
"webpack-sources": "^3.2.3"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint-staged": "lint-staged",
"build": "npm run clean && npm run build:cjs && npm run build:dist",
"build:web": "webpack --mode production --config webpack.config.js",
"prepublish": "npm run build:web",
"build:bundle": "webpack",
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
"build:dist": "cross-env NODE_ENV=production webpack",
"clean": "rimraf dist/bundle dist/browser dist/node",
"test:specs": "NODE_ENV=unit nyc mocha --require @babel/register",
"test:browser": "karma start --single-run",
"test": "npm run test:specs && npm run test:browser",
"docs:jsdoc": "jsdoc -R README.md -c jsdoc.json src/*",
"docs:toc": "md-toc-filter docs/README.template.md > README.md",
"docs": "npm run docs:toc",
"prepublishOnly": "npm run build",
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --src.tagName='v%s'",
"release-minor": "release-it minor --src.tagName='v%s' --non-interactive",
"release-major": "release-it major --src.tagName='v%s' --non-interactive"
},
"repository": {
"type": "git",
"url": "git@github.com:bigchaindb/js-crypto-conditions"
},
"keywords": [
"cryptographic",
"condition",
"fulfillment",
"interledger",
"payment",
"assured",
"escrow"
],
"author": "Ripple <info@ripple.com>",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/bigchaindb/js-crypto-conditions/issues"
},
"homepage": "https://github.com/bigchaindb/js-crypto-conditions",
"lint-staged": {
"*.js": [
"eslint"
]
},
"release-it": {
"github": {
"release": true
},
"git": {
"tagName": "v${version}"
},
"hooks": {
"before:init": [
"npm run test:specs"
]
},
"npm": {
"publish": true
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}