2018-08-31 10:13:22 +02:00
|
|
|
{
|
2018-09-06 11:46:12 +02:00
|
|
|
"name": "@oceanprotocol/squid",
|
2018-11-29 16:45:41 +01:00
|
|
|
"version": "0.2.0",
|
2018-09-07 14:38:42 +02:00
|
|
|
"description": "JavaScript client library for Ocean Protocol",
|
2018-11-26 15:55:09 +01:00
|
|
|
"main": "./dist/node/squid.js",
|
|
|
|
"browser": "./dist/browser/squid.cjs2.min.js",
|
2018-08-31 10:13:22 +02:00
|
|
|
"scripts": {
|
2018-10-10 11:46:02 +02:00
|
|
|
"test": "mocha",
|
2018-10-23 10:37:36 +02:00
|
|
|
"test:watch": "mocha -w --watch-extensions js,ts,json",
|
2018-10-10 11:46:02 +02:00
|
|
|
"test:cover": "nyc mocha",
|
2018-11-01 09:34:32 +01:00
|
|
|
"clean": "rm -rf ./dist/ ./doc/ ./coverage ./.nyc_output",
|
2018-11-01 13:24:41 +01:00
|
|
|
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
|
2018-10-23 10:37:36 +02:00
|
|
|
"start": "npm link @oceanprotocol/keeper-contracts @oceanprotocol/secret-store-client && npm run build:watch",
|
2018-11-26 15:55:09 +01:00
|
|
|
"build": "npm run clean && npm run build:tsc && npm run build:dist",
|
|
|
|
"build:tsc": "tsc",
|
|
|
|
"build:dist": "cross-env NODE_ENV=production webpack",
|
2018-10-10 13:35:24 +02:00
|
|
|
"build:watch": "tsc -w",
|
2018-11-01 14:19:46 +01:00
|
|
|
"doc": "typedoc --mode modules --out ./doc/ ./src/",
|
2018-11-05 10:01:58 +01:00
|
|
|
"run": "ts-node",
|
2018-09-06 17:44:17 +02: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"
|
2018-08-31 10:13:22 +02:00
|
|
|
},
|
2018-10-09 15:24:36 +02:00
|
|
|
"nyc": {
|
|
|
|
"include": [
|
|
|
|
"src/**/*.ts"
|
|
|
|
],
|
|
|
|
"extension": [
|
|
|
|
".ts"
|
|
|
|
],
|
|
|
|
"require": [
|
|
|
|
"ts-node/register"
|
|
|
|
],
|
|
|
|
"reporter": [
|
|
|
|
"text-summary",
|
|
|
|
"html"
|
|
|
|
],
|
|
|
|
"sourceMap": true,
|
|
|
|
"instrument": true
|
|
|
|
},
|
2018-08-31 10:13:22 +02:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-09-06 10:01:57 +02:00
|
|
|
"url": "git+https://github.com/oceanprotocol/squid-js.git"
|
2018-08-31 10:13:22 +02:00
|
|
|
},
|
|
|
|
"keywords": [],
|
2018-09-27 08:55:45 +02:00
|
|
|
"author": "Ocean Protocol <devops@oceanprotocol.com>",
|
2018-09-06 16:58:39 +02:00
|
|
|
"license": "Apache-2.0",
|
2018-08-31 10:13:22 +02:00
|
|
|
"bugs": {
|
2018-09-06 10:01:57 +02:00
|
|
|
"url": "https://github.com/oceanprotocol/squid-js/issues"
|
2018-08-31 10:13:22 +02:00
|
|
|
},
|
2018-09-06 10:01:57 +02:00
|
|
|
"homepage": "https://github.com/oceanprotocol/squid-js#readme",
|
2018-08-31 10:13:22 +02:00
|
|
|
"dependencies": {
|
2018-11-29 16:39:48 +01:00
|
|
|
"@oceanprotocol/keeper-contracts": "0.5.0",
|
2018-11-16 10:00:39 +01:00
|
|
|
"@oceanprotocol/secret-store-client": "0.0.12",
|
2018-11-02 09:07:00 +01:00
|
|
|
"bignumber.js": "^8.0.1",
|
2018-11-14 11:53:33 +01:00
|
|
|
"eth-crypto": "^1.2.7",
|
2018-10-01 18:10:26 +02:00
|
|
|
"eth-ecies": "^1.0.3",
|
2018-10-18 12:02:52 +02:00
|
|
|
"ethereumjs-util": "^6.0.0",
|
2018-11-14 11:53:33 +01:00
|
|
|
"jsonwebtoken": "^8.4.0",
|
|
|
|
"node-fetch": "^2.3.0",
|
2018-10-26 13:37:09 +02:00
|
|
|
"uuid": "^3.3.2",
|
2018-10-04 16:12:13 +02:00
|
|
|
"web3": "1.0.0-beta.36",
|
2018-11-07 09:53:43 +01:00
|
|
|
"web3-utils": "1.0.0-beta.36",
|
|
|
|
"whatwg-url": "^7.0.0"
|
2018-09-25 08:30:54 +02:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2018-10-29 17:50:06 +01:00
|
|
|
"@types/chai": "^4.1.7",
|
2018-10-01 18:10:26 +02:00
|
|
|
"@types/mocha": "^5.2.5",
|
2018-11-22 09:43:06 +01:00
|
|
|
"@types/node": "^10.12.10",
|
2018-10-01 18:10:26 +02:00
|
|
|
"chai": "^4.2.0",
|
2018-11-26 15:55:09 +01:00
|
|
|
"cross-env": "^5.2.0",
|
2018-10-01 18:10:26 +02:00
|
|
|
"mocha": "^5.2.0",
|
2018-10-18 12:02:52 +02:00
|
|
|
"nyc": "^13.1.0",
|
2018-11-21 16:46:03 +01:00
|
|
|
"rollup": "^0.67.3",
|
2018-10-09 15:24:36 +02:00
|
|
|
"source-map-support": "^0.5.9",
|
2018-11-29 09:16:01 +01:00
|
|
|
"truffle-hdwallet-provider": "^1.0.0-web3one.2",
|
2018-10-01 18:10:26 +02:00
|
|
|
"ts-node": "^7.0.1",
|
2018-09-25 09:14:01 +02:00
|
|
|
"tslint": "^5.11.0",
|
2018-10-18 12:02:52 +02:00
|
|
|
"typedoc": "^0.13.0",
|
2018-11-21 16:46:03 +01:00
|
|
|
"typescript": "^3.1.6",
|
2018-11-26 15:55:09 +01:00
|
|
|
"uglify-js": "^3.4.9",
|
|
|
|
"webpack": "^4.26.1",
|
|
|
|
"webpack-cli": "^3.1.2",
|
|
|
|
"webpack-concat-plugin": "^3.0.0",
|
|
|
|
"webpack-merge": "^4.1.4"
|
2018-08-31 10:13:22 +02:00
|
|
|
}
|
|
|
|
}
|