2017-04-26 15:58:19 +02:00
|
|
|
{
|
2017-06-06 16:29:28 +02:00
|
|
|
"name": "bigchaindb-driver",
|
2018-07-05 14:18:32 +02:00
|
|
|
"version": "4.1.0",
|
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-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",
|
|
|
|
"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",
|
2018-06-23 18:33:15 +02:00
|
|
|
"babel-eslint": "^8.2.5",
|
2018-03-29 18:58:55 +02:00
|
|
|
"babel-loader": "^7.1.4",
|
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",
|
|
|
|
"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",
|
2018-06-13 15:54:29 +02:00
|
|
|
"cross-env": "^5.2.0",
|
2018-06-04 21:01:24 +02:00
|
|
|
"documentation": "^8.0.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",
|
2018-03-29 18:58:55 +02:00
|
|
|
"husky": "^0.14.3",
|
2018-05-21 09:39:40 +02:00
|
|
|
"lint-staged": "^7.1.2",
|
2018-06-02 00:19:32 +02:00
|
|
|
"nyc": "^12.0.1",
|
2018-07-05 12:52:39 +02:00
|
|
|
"release-it": "^7.4.7",
|
2018-03-29 18:58:55 +02:00
|
|
|
"rimraf": "^2.6.2",
|
2018-07-05 12:52:39 +02:00
|
|
|
"sinon": "^6.1.0",
|
2018-07-04 22:27:40 +02:00
|
|
|
"webpack": "^4.15.0",
|
2018-07-05 12:52:39 +02:00
|
|
|
"webpack-cli": "^3.0.8"
|
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",
|
2018-07-05 12:52:39 +02:00
|
|
|
"core-js": "^2.5.7",
|
|
|
|
"crypto-conditions": "^2.0.1",
|
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-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-07-05 12:52:39 +02:00
|
|
|
}
|