2017-04-26 15:58:19 +02:00
|
|
|
{
|
2017-06-06 16:29:28 +02:00
|
|
|
"name": "bigchaindb-driver",
|
2017-07-05 18:16:17 +02:00
|
|
|
"version": "0.3.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": {
|
|
|
|
"lint": "eslint ./",
|
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",
|
|
|
|
"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-06-06 16:32:43 +02:00
|
|
|
"release": "./node_modules/release-it/bin/release.js --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
|
|
|
"release-minor": "./node_modules/release-it/bin/release.js minor --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
2017-06-08 12:21:31 +02:00
|
|
|
"release-major": "./node_modules/release-it/bin/release.js major --src.tagName='v%s' --github.release --npm.publish --non-interactive",
|
2017-06-19 18:08:00 +02:00
|
|
|
"prepublishOnly": "npm update && npm run build",
|
2017-06-20 15:44:07 +02:00
|
|
|
"precommit": "lint-staged",
|
2017-06-21 13:17:00 +02:00
|
|
|
"report-coverage": "nyc report --reporter=lcov > coverage.lcov && codecov"
|
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": {
|
2017-08-15 10:29:17 +02:00
|
|
|
"ava": "^0.22.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"babel-cli": "^6.22.2",
|
2017-09-12 19:31:08 +02:00
|
|
|
"babel-eslint": "^8.0.0",
|
2017-06-08 11:31:07 +02:00
|
|
|
"babel-loader": "^7.0.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"babel-plugin-add-module-exports": "^0.2.1",
|
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.23.0",
|
|
|
|
"babel-plugin-transform-export-extensions": "^6.22.0",
|
|
|
|
"babel-plugin-transform-object-assign": "^6.22.0",
|
|
|
|
"babel-plugin-transform-object-rest-spread": "^6.23.0",
|
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
|
|
"babel-preset-es2015-no-commonjs": "0.0.2",
|
|
|
|
"babel-preset-latest": "^6.22.0",
|
|
|
|
"babel-runtime": "^6.22.0",
|
2017-06-08 11:31:07 +02:00
|
|
|
"cross-env": "^5.0.1",
|
2017-06-26 04:39:24 +02:00
|
|
|
"eslint": "^4.1.1",
|
2017-06-20 10:59:25 +02:00
|
|
|
"eslint-config-ascribe": "^3.0.4",
|
2017-04-26 15:58:19 +02:00
|
|
|
"eslint-plugin-import": "^2.2.0",
|
2017-06-22 20:24:43 +02:00
|
|
|
"husky": "^0.14.0",
|
2017-06-20 15:44:07 +02:00
|
|
|
"lint-staged": "^4.0.0",
|
2017-06-21 13:17:00 +02:00
|
|
|
"nyc": "^11.0.2",
|
2017-06-06 16:32:43 +02:00
|
|
|
"release-it": "^2.7.3",
|
2017-04-26 15:58:19 +02:00
|
|
|
"rimraf": "^2.5.4",
|
2017-08-03 16:45:28 +02:00
|
|
|
"sinon": "^3.0.0",
|
2017-06-19 19:20:13 +02:00
|
|
|
"webpack": "^3.0.0"
|
2017-04-26 15:58:19 +02:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2017-06-16 14:21:33 +02:00
|
|
|
"browser-resolve": "^1.11.2",
|
2017-04-26 15:58:19 +02:00
|
|
|
"bs58": "^4.0.0",
|
|
|
|
"buffer": "^5.0.2",
|
|
|
|
"clone": "^2.1.0",
|
|
|
|
"core-js": "^2.4.1",
|
|
|
|
"decamelize": "^1.2.0",
|
|
|
|
"es6-promise": "^4.0.5",
|
|
|
|
"fetch-ponyfill": "^4.0.0",
|
2017-06-20 10:45:12 +02:00
|
|
|
"five-bells-condition": "^5.0.1",
|
2017-04-26 15:58:19 +02:00
|
|
|
"isomorphic-fetch": "^2.2.1",
|
2017-07-06 09:49:22 +02:00
|
|
|
"js-sha3": "^0.6.1",
|
2017-04-26 15:58:19 +02:00
|
|
|
"js-utility-belt": "^1.5.0",
|
|
|
|
"json-stable-stringify": "^1.0.1",
|
2017-07-23 00:45:50 +02:00
|
|
|
"query-string": "^5.0.0",
|
2017-04-26 15:58:19 +02:00
|
|
|
"sprintf-js": "^1.0.3",
|
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
|
|
|
}
|
2017-04-26 15:58:19 +02:00
|
|
|
}
|