2017-04-26 15:58:19 +02:00
|
|
|
{
|
2017-06-06 16:29:28 +02:00
|
|
|
"name": "bigchaindb-driver",
|
2021-03-11 13:07:46 +01:00
|
|
|
"version": "4.2.2",
|
2017-06-06 16:29:28 +02:00
|
|
|
"description": "Node.js driver for BigchainDB",
|
2017-05-09 21:42:46 +02:00
|
|
|
"homepage": "https://www.bigchaindb.com/",
|
|
|
|
"bugs": "https://github.com/bigchaindb/js-bigchaindb-driver/issues",
|
2017-04-26 15:58:19 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2017-05-09 21:42:46 +02:00
|
|
|
"url": "git+https://github.com/bigchaindb/js-bigchaindb-driver.git"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
2017-06-06 16:30:23 +02:00
|
|
|
"license": "Apache-2.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"author": "BigchainDB",
|
2021-03-09 07:14:38 +01:00
|
|
|
"files": [
|
2021-03-10 16:15:20 +01:00
|
|
|
"dist",
|
|
|
|
"types"
|
2021-03-09 07:14:38 +01:00
|
|
|
],
|
2017-06-14 16:35:21 +02:00
|
|
|
"main": "./dist/node/index.js",
|
2017-06-23 09:51:38 +02:00
|
|
|
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
|
2021-03-10 08:48:34 +01:00
|
|
|
"types": "./types/index.d.ts",
|
2018-07-17 08:51:41 +02:00
|
|
|
"sideEffects": false,
|
2017-04-26 15:58:19 +02:00
|
|
|
"scripts": {
|
2021-03-09 14:19:10 +01:00
|
|
|
"lint": "eslint .",
|
2017-06-16 14:21:33 +02:00
|
|
|
"build": "npm run clean && npm run build:cjs && npm run build:dist",
|
2017-04-26 15:58:19 +02:00
|
|
|
"build:bundle": "webpack",
|
|
|
|
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
|
2018-07-18 15:37:13 +02:00
|
|
|
"build:dist": "cross-env NODE_ENV=production webpack",
|
2018-07-17 08:51:41 +02:00
|
|
|
"dev": "webpack -w",
|
2021-03-09 07:14:38 +01:00
|
|
|
"clean": "rimraf dist/bundle dist/browser dist/node",
|
|
|
|
"test": "npm run lint && nyc ava && npm run report-coverage",
|
2017-06-21 15:27:02 +02:00
|
|
|
"thanks": "cowsay Hi, thanks for your interest in BigchainDB. We appreciate your contribution!",
|
2021-03-09 12:20:24 +01:00
|
|
|
"release": "read -p 'GITHUB_TOKEN: ' GITHUB_TOKEN && export GITHUB_TOKEN=$GITHUB_TOKEN && release-it --src.tagName='v%s'",
|
|
|
|
"release-minor": "release-it minor --non-interactive",
|
|
|
|
"release-major": "release-it major --non-interactive",
|
2017-11-23 16:10:33 +01:00
|
|
|
"prepublishOnly": "npm run build",
|
2018-05-14 17:14:40 +02:00
|
|
|
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
|
2021-03-09 07:14:38 +01:00
|
|
|
"doc": "documentation build src/index.js -f md -o API.md -g --markdown-toc"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-03-09 07:14:38 +01:00
|
|
|
"@ava/babel": "^1.0.1",
|
|
|
|
"@babel/cli": "^7.13.0",
|
|
|
|
"@babel/core": "^7.13.8",
|
|
|
|
"@babel/eslint-parser": "^7.13.8",
|
|
|
|
"@babel/plugin-proposal-export-default-from": "^7.12.13",
|
|
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.13.8",
|
|
|
|
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
|
|
|
"@babel/plugin-transform-async-to-generator": "^7.13.0",
|
|
|
|
"@babel/plugin-transform-object-assign": "^7.12.13",
|
|
|
|
"@babel/plugin-transform-regenerator": "^7.12.13",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.13.9",
|
|
|
|
"@babel/preset-env": "^7.13.9",
|
|
|
|
"@babel/register": "^7.13.8",
|
|
|
|
"ava": "^3.15.0",
|
|
|
|
"babel-loader": "^8.2.2",
|
2021-03-09 12:20:24 +01:00
|
|
|
"codecov": "^3.8.1",
|
2021-03-09 07:14:38 +01:00
|
|
|
"cross-env": "^7.0.3",
|
|
|
|
"documentation": "^13.1.1",
|
|
|
|
"eslint": "^7.21.0",
|
|
|
|
"eslint-config-airbnb-base": "^14.2.1",
|
|
|
|
"eslint-plugin-import": "^2.22.1",
|
|
|
|
"husky": "^5.1.3",
|
|
|
|
"lint-staged": "^10.5.4",
|
|
|
|
"nyc": "^15.1.0",
|
|
|
|
"release-it": "^14.4.1",
|
|
|
|
"rewire": "^4.0.1",
|
|
|
|
"rimraf": "^3.0.2",
|
2019-04-25 17:25:18 +02:00
|
|
|
"sinon": "^7.3.2",
|
2021-03-09 07:14:38 +01:00
|
|
|
"terser-webpack-plugin": "^4.2.3",
|
|
|
|
"webpack": "^4.46.0",
|
|
|
|
"webpack-cli": "^4.5.0",
|
|
|
|
"webpack-concat-plugin": "^3.0.0",
|
|
|
|
"webpack-merge": "^5.7.3",
|
|
|
|
"webpack-sources": "^2.2.0"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-03-09 07:14:38 +01:00
|
|
|
"@babel/runtime-corejs3": "^7.13.9",
|
2018-07-05 12:52:39 +02:00
|
|
|
"browser-resolve": "^1.11.3",
|
2018-03-29 18:58:55 +02:00
|
|
|
"bs58": "^4.0.1",
|
2021-03-09 07:14:38 +01:00
|
|
|
"buffer": "^6.0.3",
|
|
|
|
"clone": "^2.1.2",
|
|
|
|
"core-js": "^3.9.1",
|
2021-03-11 13:04:17 +01:00
|
|
|
"crypto-conditions": "2.1.2",
|
2021-03-09 07:14:38 +01:00
|
|
|
"decamelize": "^5.0.0",
|
|
|
|
"es6-promise": "^4.2.8",
|
|
|
|
"fetch-ponyfill": "^7.1.0",
|
2018-08-05 09:37:40 +02:00
|
|
|
"js-sha3": "^0.8.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"json-stable-stringify": "^1.0.1",
|
2021-03-09 07:14:38 +01:00
|
|
|
"query-string": "^6.14.1",
|
|
|
|
"sprintf-js": "^1.1.2",
|
|
|
|
"tweetnacl": "^1.0.3"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"bigchaindb",
|
2017-05-09 21:42:46 +02:00
|
|
|
"driver",
|
|
|
|
"blockchain",
|
|
|
|
"decentralized",
|
|
|
|
"dapp"
|
2017-06-16 11:22:23 +02:00
|
|
|
],
|
2021-03-09 12:20:24 +01:00
|
|
|
"lint-staged": {
|
|
|
|
"*.js": [
|
|
|
|
"eslint"
|
|
|
|
]
|
|
|
|
},
|
2017-06-16 11:22:23 +02:00
|
|
|
"ava": {
|
2017-06-16 14:21:33 +02:00
|
|
|
"files": [
|
2021-03-09 07:14:38 +01:00
|
|
|
"test/**/*.js",
|
|
|
|
"!test/constants.js"
|
2017-06-16 14:21:33 +02:00
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"**/*.{js,jsx}",
|
|
|
|
"!node_modules/**/*",
|
|
|
|
"!dist/**/*"
|
|
|
|
],
|
|
|
|
"failFast": true,
|
|
|
|
"failWithoutAssertions": false,
|
|
|
|
"tap": true,
|
|
|
|
"powerAssert": false,
|
|
|
|
"require": [
|
2021-03-09 07:14:38 +01:00
|
|
|
"@babel/register"
|
2017-06-16 14:21:33 +02:00
|
|
|
],
|
2021-03-09 07:14:38 +01:00
|
|
|
"babel": true
|
2019-04-30 09:58:40 +02:00
|
|
|
},
|
|
|
|
"husky": {
|
|
|
|
"hooks": {
|
|
|
|
"pre-commit": "lint-staged"
|
|
|
|
}
|
2021-03-09 12:20:24 +01:00
|
|
|
},
|
|
|
|
"release-it": {
|
|
|
|
"github": {
|
|
|
|
"release": true
|
|
|
|
},
|
|
|
|
"git": {
|
|
|
|
"tagName": "v${version}"
|
|
|
|
},
|
|
|
|
"hooks": {
|
|
|
|
"before:init": [
|
|
|
|
"npm run test"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"npm": {
|
|
|
|
"publish": true
|
|
|
|
}
|
2017-06-16 11:22:23 +02:00
|
|
|
}
|
2018-07-05 12:52:39 +02:00
|
|
|
}
|