1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-12-27 07:07:50 +01:00

fix: update dependencies and test config

Signed-off-by: getlarge <ed@getlarge.eu>
This commit is contained in:
getlarge 2021-03-09 07:14:38 +01:00
parent 6dbafa8fad
commit 551180bceb
No known key found for this signature in database
GPG Key ID: E4E13243600F9566

View File

@ -10,6 +10,9 @@
},
"license": "Apache-2.0",
"author": "BigchainDB",
"files": [
"dist"
],
"main": "./dist/node/index.js",
"browser": "./dist/browser/bigchaindb-driver.cjs2.min.js",
"sideEffects": false,
@ -20,15 +23,15 @@
"build:cjs": "cross-env BABEL_ENV=cjs babel ./src -d dist/node",
"build:dist": "cross-env NODE_ENV=production webpack",
"dev": "webpack -w",
"clean": "rimraf dist/bundle dist/node",
"test": "npm run lint && nyc ava test/ && npm run thanks && npm run report-coverage",
"clean": "rimraf dist/bundle dist/browser dist/node",
"test": "npm run lint && nyc ava && npm run report-coverage",
"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-minor": "./node_modules/release-it/bin/release-it.js 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": "release-it --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": "release-it major --git.tagName='v${version}' --github.release --npm.publish --non-interactive",
"prepublishOnly": "npm run build",
"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": {
"*.js": [
@ -36,56 +39,56 @@
]
},
"devDependencies": {
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-loader": "^7.1.5",
"babel-plugin-add-module-exports": "^0.3.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-es2015-no-commonjs": "0.0.2",
"babel-runtime": "^6.26.0",
"cross-env": "^5.2.0",
"documentation": "^10.1.0",
"eslint": "^5.16.0",
"eslint-config-ascribe": "^3.0.5",
"eslint-plugin-import": "^2.13.0",
"husky": "^2.1.0",
"lint-staged": "^8.0.0",
"nyc": "^14.0.0",
"release-it": "^12.6.3",
"rimraf": "^2.6.2",
"@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",
"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",
"sinon": "^7.3.2",
"webpack": "^4.28.4",
"webpack-cli": "^3.0.8",
"webpack-concat-plugin": "^3.0.0"
"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"
},
"dependencies": {
"@babel/runtime-corejs3": "^7.13.9",
"browser-resolve": "^1.11.3",
"bs58": "^4.0.1",
"buffer": "^5.1.0",
"clone": "^2.1.1",
"core-js": "^2.6.5",
"crypto-conditions": "^2.0.1",
"decamelize": "^3.2.0",
"es6-promise": "^4.2.4",
"fetch-ponyfill": "^6.0.1",
"isomorphic-fetch": "^2.2.1",
"buffer": "^6.0.3",
"clone": "^2.1.2",
"core-js": "^3.9.1",
"crypto-conditions": "^2.0.3",
"decamelize": "^5.0.0",
"es6-promise": "^4.2.8",
"fetch-ponyfill": "^7.1.0",
"js-sha3": "^0.8.0",
"js-utility-belt": "^1.5.0",
"json-stable-stringify": "^1.0.1",
"query-string": "^6.0.0",
"rewire": "^4.0.1",
"sprintf-js": "^1.1.1",
"tweetnacl": "^1.0.0",
"uglifyjs-webpack-plugin": "^2.1.2",
"webpack-merge": "^4.1.3",
"webpack-sources": "^1.1.0"
"query-string": "^6.14.1",
"sprintf-js": "^1.1.2",
"tweetnacl": "^1.0.3"
},
"keywords": [
"bigchaindb",
@ -96,7 +99,8 @@
],
"ava": {
"files": [
"test/*.js"
"test/**/*.js",
"!test/constants.js"
],
"source": [
"**/*.{js,jsx}",
@ -108,9 +112,9 @@
"tap": true,
"powerAssert": false,
"require": [
"babel-register"
"@babel/register"
],
"babel": "inherit"
"babel": true
},
"husky": {
"hooks": {