1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-22 09:46:58 +01:00

fix: update dependencies and test config

This commit is contained in:
getlarge 2021-03-09 07:14:38 +01:00
parent 6dbafa8fad
commit f0df142efb
No known key found for this signature in database
GPG Key ID: E4E13243600F9566

View File

@ -10,6 +10,9 @@
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"author": "BigchainDB", "author": "BigchainDB",
"files": [
"dist"
],
"main": "./dist/node/index.js", "main": "./dist/node/index.js",
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js", "browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
"sideEffects": false, "sideEffects": false,
@ -20,15 +23,15 @@
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node", "build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
"build:dist": "cross-env NODE_ENV=production webpack", "build:dist": "cross-env NODE_ENV=production webpack",
"dev": "webpack -w", "dev": "webpack -w",
"clean": "rimraf dist/bundle dist/node", "clean": "rimraf dist/bundle dist/browser dist/node",
"test": "npm run lint && nyc ava test/ && npm run thanks && npm run report-coverage", "test": "npm run lint && nyc ava && npm run report-coverage",
"thanks": "cowsay Hi, thanks for your interest in BigchainDB. We appreciate your contribution!", "thanks": "cowsay Hi, thanks for your interest in BigchainDB. We appreciate your contribution!",
"release": "./node_modules/release-it/bin/release-it.js --git.tagName='v${version}' --github.release --npm.publish --non-interactive", "release": "release-it --git.tagName='v${version}' --github.release --npm.publish --non-interactive",
"release-minor": "./node_modules/release-it/bin/release-it.js minor --git.tagName='v${version}' --github.release --npm.publish --non-interactive", "release-minor": "release-it minor --git.tagName='v${version}' --github.release --npm.publish --non-interactive",
"release-major": "./node_modules/release-it/bin/release-it.js major --git.tagName='v${version}' --github.release --npm.publish --non-interactive", "release-major": "release-it major --git.tagName='v${version}' --github.release --npm.publish --non-interactive",
"prepublishOnly": "npm run build", "prepublishOnly": "npm run build",
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov", "report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov",
"doc": "node ./node_modules/documentation/bin/documentation.js build src/index.js -f md -o API.md -g --markdown-toc" "doc": "documentation build src/index.js -f md -o API.md -g --markdown-toc"
}, },
"lint-staged": { "lint-staged": {
"*.js": [ "*.js": [
@ -36,56 +39,56 @@
] ]
}, },
"devDependencies": { "devDependencies": {
"ava": "^0.25.0", "@ava/babel": "^1.0.1",
"babel-cli": "^6.26.0", "@babel/cli": "^7.13.0",
"babel-core": "^6.26.3", "@babel/core": "^7.13.8",
"babel-eslint": "^9.0.0", "@babel/eslint-parser": "^7.13.8",
"babel-loader": "^7.1.5", "@babel/plugin-proposal-export-default-from": "^7.12.13",
"babel-plugin-add-module-exports": "^0.3.1", "@babel/plugin-proposal-object-rest-spread": "^7.13.8",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0", "@babel/plugin-syntax-async-generators": "^7.8.4",
"babel-plugin-transform-export-extensions": "^6.22.0", "@babel/plugin-transform-async-to-generator": "^7.13.0",
"babel-plugin-transform-object-assign": "^6.22.0", "@babel/plugin-transform-object-assign": "^7.12.13",
"babel-plugin-transform-object-rest-spread": "^6.26.0", "@babel/plugin-transform-regenerator": "^7.12.13",
"babel-plugin-transform-runtime": "^6.23.0", "@babel/plugin-transform-runtime": "^7.13.9",
"babel-preset-env": "^1.7.0", "@babel/preset-env": "^7.13.9",
"babel-preset-es2015-no-commonjs": "0.0.2", "@babel/register": "^7.13.8",
"babel-runtime": "^6.26.0", "ava": "^3.15.0",
"cross-env": "^5.2.0", "babel-loader": "^8.2.2",
"documentation": "^10.1.0", "cross-env": "^7.0.3",
"eslint": "^5.16.0", "documentation": "^13.1.1",
"eslint-config-ascribe": "^3.0.5", "eslint": "^7.21.0",
"eslint-plugin-import": "^2.13.0", "eslint-config-airbnb-base": "^14.2.1",
"husky": "^2.1.0", "eslint-plugin-import": "^2.22.1",
"lint-staged": "^8.0.0", "husky": "^5.1.3",
"nyc": "^14.0.0", "lint-staged": "^10.5.4",
"release-it": "^12.6.3", "nyc": "^15.1.0",
"rimraf": "^2.6.2", "release-it": "^14.4.1",
"rewire": "^4.0.1",
"rimraf": "^3.0.2",
"sinon": "^7.3.2", "sinon": "^7.3.2",
"webpack": "^4.28.4", "terser-webpack-plugin": "^4.2.3",
"webpack-cli": "^3.0.8", "webpack": "^4.46.0",
"webpack-concat-plugin": "^3.0.0" "webpack-cli": "^4.5.0",
"webpack-concat-plugin": "^3.0.0",
"webpack-merge": "^5.7.3",
"webpack-sources": "^2.2.0"
}, },
"dependencies": { "dependencies": {
"@babel/runtime-corejs3": "^7.13.9",
"browser-resolve": "^1.11.3", "browser-resolve": "^1.11.3",
"bs58": "^4.0.1", "bs58": "^4.0.1",
"buffer": "^5.1.0", "buffer": "^6.0.3",
"clone": "^2.1.1", "clone": "^2.1.2",
"core-js": "^2.6.5", "core-js": "^3.9.1",
"crypto-conditions": "^2.0.1", "crypto-conditions": "^2.0.3",
"decamelize": "^3.2.0", "decamelize": "^5.0.0",
"es6-promise": "^4.2.4", "es6-promise": "^4.2.8",
"fetch-ponyfill": "^6.0.1", "fetch-ponyfill": "^7.1.0",
"isomorphic-fetch": "^2.2.1",
"js-sha3": "^0.8.0", "js-sha3": "^0.8.0",
"js-utility-belt": "^1.5.0",
"json-stable-stringify": "^1.0.1", "json-stable-stringify": "^1.0.1",
"query-string": "^6.0.0", "query-string": "^6.14.1",
"rewire": "^4.0.1", "sprintf-js": "^1.1.2",
"sprintf-js": "^1.1.1", "tweetnacl": "^1.0.3"
"tweetnacl": "^1.0.0",
"uglifyjs-webpack-plugin": "^2.1.2",
"webpack-merge": "^4.1.3",
"webpack-sources": "^1.1.0"
}, },
"keywords": [ "keywords": [
"bigchaindb", "bigchaindb",
@ -96,7 +99,8 @@
], ],
"ava": { "ava": {
"files": [ "files": [
"test/*.js" "test/**/*.js",
"!test/constants.js"
], ],
"source": [ "source": [
"**/*.{js,jsx}", "**/*.{js,jsx}",
@ -108,9 +112,9 @@
"tap": true, "tap": true,
"powerAssert": false, "powerAssert": false,
"require": [ "require": [
"babel-register" "@babel/register"
], ],
"babel": "inherit" "babel": true
}, },
"husky": { "husky": {
"hooks": { "hooks": {