2017-04-26 15:58:19 +02:00
|
|
|
{
|
2017-06-06 16:29:28 +02:00
|
|
|
"name": "bigchaindb-driver",
|
2019-04-25 17:25:18 +02:00
|
|
|
"version": "4.1.1",
|
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",
|
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",
|
2018-07-17 08:51:41 +02:00
|
|
|
"sideEffects": false,
|
2017-04-26 15:58:19 +02:00
|
|
|
"scripts": {
|
2018-06-25 11:42:17 +02:00
|
|
|
"lint": "eslint ./{src,test,examples}/**/*.js",
|
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",
|
2017-04-26 15:58:19 +02:00
|
|
|
"clean": "rimraf dist/bundle dist/node",
|
2017-06-21 13:50:41 +02:00
|
|
|
"test": "npm run lint && nyc ava test/ && npm run thanks && 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!",
|
2017-11-23 16:10:33 +01:00
|
|
|
"release": "./node_modules/release-it/bin/release-it.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
|
|
|
"release-minor": "./node_modules/release-it/bin/release-it.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
|
|
|
"release-major": "./node_modules/release-it/bin/release-it.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
|
|
|
"prepublishOnly": "npm run build",
|
2017-06-20 15:44:07 +02:00
|
|
|
"precommit": "lint-staged",
|
2018-05-14 17:14:40 +02:00
|
|
|
"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"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
2017-06-20 15:44:07 +02:00
|
|
|
"lint-staged": {
|
2017-06-21 13:17:00 +02:00
|
|
|
"*.js": [
|
|
|
|
"eslint"
|
|
|
|
]
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-01-26 16:10:48 +01:00
|
|
|
"ava": "^0.25.0",
|
2018-03-29 18:58:55 +02:00
|
|
|
"babel-cli": "^6.26.0",
|
2019-04-25 17:25:18 +02:00
|
|
|
"babel-core": "^6.26.3",
|
2018-08-28 05:25:24 +02:00
|
|
|
"babel-eslint": "^9.0.0",
|
2019-04-25 17:25:18 +02:00
|
|
|
"babel-loader": "^7.1.5",
|
2018-07-02 23:17:14 +02:00
|
|
|
"babel-plugin-add-module-exports": "^0.3.1",
|
2018-03-29 18:58:55 +02:00
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|
|
|
|
"babel-plugin-transform-object-assign": "^6.22.0",
|
2018-03-29 18:58:55 +02:00
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
2018-07-19 08:08:34 +02:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2019-04-25 17:25:18 +02:00
|
|
|
"babel-preset-env": "^1.7.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"babel-preset-es2015-no-commonjs": "0.0.2",
|
2018-03-29 18:58:55 +02:00
|
|
|
"babel-runtime": "^6.26.0",
|
2018-06-13 15:54:29 +02:00
|
|
|
"cross-env": "^5.2.0",
|
2019-04-25 17:25:18 +02:00
|
|
|
"documentation": "^10.1.0",
|
2018-07-05 12:52:39 +02:00
|
|
|
"eslint": "^5.0.1",
|
2018-03-29 18:58:55 +02:00
|
|
|
"eslint-config-ascribe": "^3.0.5",
|
2018-07-05 12:52:39 +02:00
|
|
|
"eslint-plugin-import": "^2.13.0",
|
2019-04-25 17:25:18 +02:00
|
|
|
"husky": "^2.1.0",
|
|
|
|
"lint-staged": "^8.0.0",
|
|
|
|
"nyc": "^14.0.0",
|
|
|
|
"release-it": "^10.4.4",
|
2018-03-29 18:58:55 +02:00
|
|
|
"rimraf": "^2.6.2",
|
2019-04-25 17:25:18 +02:00
|
|
|
"sinon": "^7.3.2",
|
|
|
|
"webpack": "^4.28.4",
|
2018-07-17 08:51:41 +02:00
|
|
|
"webpack-cli": "^3.0.8",
|
|
|
|
"webpack-concat-plugin": "^3.0.0"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
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",
|
|
|
|
"buffer": "^5.1.0",
|
|
|
|
"clone": "^2.1.1",
|
2019-05-20 22:44:53 +02:00
|
|
|
"core-js": "^3.1.1",
|
2018-07-05 12:52:39 +02:00
|
|
|
"crypto-conditions": "^2.0.1",
|
2019-04-25 17:25:18 +02:00
|
|
|
"decamelize": "^3.2.0",
|
2018-03-29 18:58:55 +02:00
|
|
|
"es6-promise": "^4.2.4",
|
|
|
|
"fetch-ponyfill": "^6.0.1",
|
2017-04-26 15:58:19 +02:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
2018-08-05 09:37:40 +02:00
|
|
|
"js-sha3": "^0.8.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"js-utility-belt": "^1.5.0",
|
|
|
|
"json-stable-stringify": "^1.0.1",
|
2018-03-29 18:58:55 +02:00
|
|
|
"query-string": "^6.0.0",
|
2018-07-19 16:24:10 +02:00
|
|
|
"rewire": "^4.0.1",
|
2018-03-29 18:58:55 +02:00
|
|
|
"sprintf-js": "^1.1.1",
|
2018-07-17 08:51:41 +02:00
|
|
|
"tweetnacl": "^1.0.0",
|
2019-04-25 17:25:18 +02:00
|
|
|
"uglifyjs-webpack-plugin": "^2.1.2",
|
2018-07-17 08:51:41 +02:00
|
|
|
"webpack-merge": "^4.1.3",
|
|
|
|
"webpack-sources": "^1.1.0"
|
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
|
|
|
],
|
|
|
|
"ava": {
|
2017-06-16 14:21:33 +02:00
|
|
|
"files": [
|
|
|
|
"test/*.js"
|
|
|
|
],
|
|
|
|
"source": [
|
|
|
|
"**/*.{js,jsx}",
|
|
|
|
"!node_modules/**/*",
|
|
|
|
"!dist/**/*"
|
|
|
|
],
|
|
|
|
"failFast": true,
|
|
|
|
"failWithoutAssertions": false,
|
|
|
|
"tap": true,
|
|
|
|
"powerAssert": false,
|
|
|
|
"require": [
|
|
|
|
"babel-register"
|
|
|
|
],
|
|
|
|
"babel": "inherit"
|
2017-06-16 11:22:23 +02:00
|
|
|
}
|
2018-07-05 12:52:39 +02:00
|
|
|
}
|