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 .",
|
2022-02-15 08:04:36 +01:00
|
|
|
"lint:fix": "eslint . --fix",
|
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": {
|
2022-02-15 08:04:36 +01:00
|
|
|
"@ava/babel": "^2.0.0",
|
|
|
|
"@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-proposal-object-rest-spread": "^7.16.7",
|
2021-03-09 07:14:38 +01:00
|
|
|
"@babel/plugin-syntax-async-generators": "^7.8.4",
|
2022-02-15 08:04:36 +01:00
|
|
|
"@babel/plugin-transform-async-to-generator": "^7.16.8",
|
|
|
|
"@babel/plugin-transform-object-assign": "^7.16.7",
|
|
|
|
"@babel/plugin-transform-regenerator": "^7.16.7",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.17.0",
|
|
|
|
"@babel/preset-env": "^7.16.11",
|
|
|
|
"@babel/register": "^7.17.0",
|
2021-03-09 07:14:38 +01:00
|
|
|
"ava": "^3.15.0",
|
|
|
|
"babel-loader": "^8.2.2",
|
2022-02-15 08:04:36 +01:00
|
|
|
"buffer": "^6.0.3",
|
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",
|
2022-02-15 08:04:36 +01:00
|
|
|
"documentation": "^13.2.5",
|
|
|
|
"eslint": "^8.9.0",
|
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
|
|
"eslint-plugin-import": "^2.25.4",
|
|
|
|
"husky": "^7.0.4",
|
|
|
|
"lint-staged": "^12.3.4",
|
2021-03-09 07:14:38 +01:00
|
|
|
"nyc": "^15.1.0",
|
2022-02-15 08:04:36 +01:00
|
|
|
"release-it": "^14.12.4",
|
|
|
|
"rewire": "^6.0.0",
|
2021-03-09 07:14:38 +01:00
|
|
|
"rimraf": "^3.0.2",
|
2022-02-15 08:04:36 +01:00
|
|
|
"sinon": "^13.0.1",
|
|
|
|
"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"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-02-15 14:06:19 +01:00
|
|
|
"@babel/runtime-corejs3": "^7.17.2",
|
2018-03-29 18:58:55 +02:00
|
|
|
"bs58": "^4.0.1",
|
2021-03-09 07:14:38 +01:00
|
|
|
"clone": "^2.1.2",
|
2022-02-15 14:06:19 +01:00
|
|
|
"core-js": "^3.21.0",
|
|
|
|
"crypto-conditions": "2.2.1",
|
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",
|
2022-02-15 14:06:19 +01:00
|
|
|
"query-string": "^7.1.1",
|
2021-03-09 07:14:38 +01:00
|
|
|
"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
|
|
|
}
|