2018-08-31 10:13:22 +02:00
|
|
|
{
|
2018-09-06 11:46:12 +02:00
|
|
|
"name": "@oceanprotocol/squid",
|
2019-01-10 18:10:57 +01:00
|
|
|
"version": "0.2.7",
|
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-12-19 10:33:43 +01:00
|
|
|
"report-coverage": "cat ./coverage/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
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",
|
2018-12-19 10:10:53 +01:00
|
|
|
"lcov",
|
2018-10-09 15:24:36 +02:00
|
|
|
"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": {
|
2019-01-09 11:20:22 +01:00
|
|
|
"@oceanprotocol/keeper-contracts": "^0.5.3",
|
2018-12-14 16:12:36 +01:00
|
|
|
"@oceanprotocol/secret-store-client": "~0.0.14",
|
2019-01-09 15:43:33 +01:00
|
|
|
"@types/node-fetch": "^2.1.4",
|
2018-11-02 09:07:00 +01:00
|
|
|
"bignumber.js": "^8.0.1",
|
2018-10-18 12:02:52 +02:00
|
|
|
"ethereumjs-util": "^6.0.0",
|
2018-11-14 11:53:33 +01:00
|
|
|
"node-fetch": "^2.3.0",
|
2018-10-26 13:37:09 +02:00
|
|
|
"uuid": "^3.3.2",
|
2018-12-19 09:00:35 +01:00
|
|
|
"web3": "1.0.0-beta.37",
|
2019-01-09 10:48:44 +01:00
|
|
|
"web3-eth-contract": "1.0.0-beta.37",
|
2018-12-19 09:00:35 +01:00
|
|
|
"web3-utils": "1.0.0-beta.37",
|
2018-11-07 09:53:43 +01:00
|
|
|
"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-12-19 09:00:35 +01:00
|
|
|
"@types/node": "^10.12.17",
|
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",
|
2019-01-09 11:20:22 +01:00
|
|
|
"rollup": "^1.1.0",
|
2018-10-09 15:24:36 +02:00
|
|
|
"source-map-support": "^0.5.9",
|
2019-01-07 13:26:25 +01:00
|
|
|
"truffle-hdwallet-provider": "^1.0.2",
|
2018-10-01 18:10:26 +02:00
|
|
|
"ts-node": "^7.0.1",
|
2018-12-19 09:00:35 +01:00
|
|
|
"tslint": "^5.12.0",
|
2019-01-03 07:11:57 +01:00
|
|
|
"typedoc": "^0.14.0",
|
2018-12-07 18:11:23 +01:00
|
|
|
"typescript": "^3.2.2",
|
2019-01-07 13:26:25 +01:00
|
|
|
"uglifyjs-webpack-plugin": "^2.1.1",
|
|
|
|
"webpack": "^4.28.3",
|
|
|
|
"webpack-cli": "^3.2.1",
|
|
|
|
"webpack-merge": "^4.2.1"
|
2018-08-31 10:13:22 +02:00
|
|
|
}
|
|
|
|
}
|