2017-04-26 15:58:19 +02:00
|
|
|
{
|
2017-06-06 16:29:28 +02:00
|
|
|
"name": "bigchaindb-driver",
|
2018-05-14 18:08:52 +02:00
|
|
|
"version": "4.0.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",
|
2017-04-26 15:58:19 +02:00
|
|
|
"scripts": {
|
2018-05-14 17:14:40 +02:00
|
|
|
"lint": "eslint ./{src,test,examples}",
|
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",
|
|
|
|
"build:dist": "cross-env NODE_ENV=production webpack -p",
|
2018-05-14 17:14:40 +02:00
|
|
|
"dev": "webpack -p -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",
|
|
|
|
"babel-eslint": "^8.2.2",
|
|
|
|
"babel-loader": "^7.1.4",
|
2017-04-26 15:58:19 +02:00
|
|
|
"babel-plugin-add-module-exports": "^0.2.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",
|
|
|
|
"babel-plugin-transform-runtime": "^6.22.0",
|
|
|
|
"babel-preset-env": "^1.6.1",
|
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",
|
|
|
|
"cross-env": "^5.1.4",
|
2018-05-22 07:05:48 +02:00
|
|
|
"documentation": "^7.0.0",
|
2018-03-29 18:58:55 +02:00
|
|
|
"eslint": "^4.19.1",
|
|
|
|
"eslint-config-ascribe": "^3.0.5",
|
|
|
|
"eslint-plugin-import": "^2.9.0",
|
|
|
|
"husky": "^0.14.3",
|
2018-02-21 13:23:11 +01:00
|
|
|
"lint-staged": "^7.0.0",
|
2018-03-29 18:58:55 +02:00
|
|
|
"nyc": "^11.6.0",
|
|
|
|
"release-it": "^7.2.1",
|
|
|
|
"rimraf": "^2.6.2",
|
2018-05-14 17:14:40 +02:00
|
|
|
"sinon": "^5.0.0",
|
|
|
|
"webpack": "^4.8.3",
|
2018-03-29 18:58:55 +02:00
|
|
|
"webpack-cli": "^2.0.13"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-06-16 14:21:33 +02:00
|
|
|
"browser-resolve": "^1.11.2",
|
2018-03-29 18:58:55 +02:00
|
|
|
"bs58": "^4.0.1",
|
|
|
|
"buffer": "^5.1.0",
|
|
|
|
"clone": "^2.1.1",
|
|
|
|
"core-js": "^2.5.4",
|
2018-01-08 20:17:06 +01:00
|
|
|
"decamelize": "^2.0.0",
|
2018-03-29 18:58:55 +02:00
|
|
|
"es6-promise": "^4.2.4",
|
|
|
|
"fetch-ponyfill": "^6.0.1",
|
2017-11-27 14:56:11 +01:00
|
|
|
"crypto-conditions": "^2.0.1",
|
2017-04-26 15:58:19 +02:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
2017-12-01 14:08:39 +01:00
|
|
|
"js-sha3": "^0.7.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",
|
|
|
|
"sprintf-js": "^1.1.1",
|
2017-09-13 20:34:46 +02:00
|
|
|
"tweetnacl": "^1.0.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-05-14 18:08:52 +02:00
|
|
|
}
|