squid-js/package.json

103 lines
3.8 KiB
JSON
Raw Normal View History

2018-08-31 10:13:22 +02:00
{
"name": "@oceanprotocol/squid",
2019-06-12 13:14:26 +02:00
"version": "0.5.15",
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",
2019-02-15 14:44:48 +01:00
"typings": "./dist/node/squid.d.ts",
2018-11-26 15:55:09 +01:00
"browser": "./dist/browser/squid.cjs2.min.js",
2018-08-31 10:13:22 +02:00
"scripts": {
2019-05-08 12:07:45 +02:00
"test": "mocha",
"test:watch": "mocha -w --watch-extensions js,ts,json",
"test:cover": "nyc --report-dir coverage/unit mocha",
"integration": "mocha --opts integration/mocha.opts",
"integration:nile": "export NETWORK_NAME=nile; mocha --opts integration/mocha.opts",
"integration:duero": "export NETWORK_NAME=duero; mocha --opts integration/mocha.opts",
2019-02-10 20:03:38 +01:00
"integration:watch": "mocha -w --watch-extensions js,ts,json --opts integration/mocha.opts",
"integration:cover": "nyc --report-dir coverage/integration mocha --opts integration/mocha.opts",
2019-04-16 14:57:40 +02:00
"clean": "rm -rf ./dist/ ./doc/ ./.nyc_output",
2019-03-14 21:28:51 +01:00
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts' 'integration/**/*.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 --sourceMap",
2018-11-26 15:55:09 +01:00
"build:dist": "cross-env NODE_ENV=production webpack",
"build:watch": "tsc -w",
2019-05-15 12:57:52 +02:00
"doc": "typedoc --mode modules --out ./doc/ ./src/",
2019-03-18 15:02:34 +01:00
"merge-coverages": "npx lcov-result-merger \"coverage/*/lcov.info\" coverage/lcov.info",
2019-04-16 14:57:40 +02:00
"report-coverage": "npm run report-coverage:unit && npm run report-coverage:integration",
"report-coverage:unit": "cat coverage/unit/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
"report-coverage:integration": "cat coverage/integration/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>",
"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",
2019-04-23 00:24:53 +02:00
"peerDependencies": {
"web3": "1.0.0-beta.37"
},
2018-08-31 10:13:22 +02:00
"dependencies": {
"@oceanprotocol/keeper-contracts": "^0.9.7",
2019-04-10 02:45:20 +02:00
"bignumber.js": "^8.1.1",
"deprecated-decorator": "^0.1.6",
2019-06-05 17:17:16 +02:00
"node-fetch": "^2.6.0",
2019-06-14 12:07:35 +02:00
"pjson": "^1.0.9",
"save-file": "^2.3.1",
2018-10-26 13:37:09 +02:00
"uuid": "^3.3.2",
"web3": "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",
2019-02-04 16:26:56 +01:00
"@types/chai-spies": "^1.0.0",
2019-06-05 17:17:16 +02:00
"@types/mocha": "^5.2.7",
2019-06-06 12:27:29 +02:00
"@types/node": "^12.0.5",
"@types/node-fetch": "^2.3.5",
"chai": "^4.2.0",
2019-02-04 16:26:56 +01:00
"chai-spies": "^1.0.0",
2018-11-26 15:55:09 +01:00
"cross-env": "^5.2.0",
2019-03-18 15:02:34 +01:00
"lcov-result-merger": "^3.1.0",
2019-06-05 17:17:16 +02:00
"mocha": "^6.1.4",
2019-05-08 02:53:59 +02:00
"mock-local-storage": "^1.1.8",
2019-06-05 17:17:16 +02:00
"nyc": "^14.1.1",
2019-05-07 13:08:26 +02:00
"source-map-support": "^0.5.12",
2019-06-05 17:17:16 +02:00
"truffle-hdwallet-provider": "^1.0.10",
"ts-node": "^8.2.0",
"tslint": "^5.17.0",
2019-04-10 02:45:20 +02:00
"typedoc": "^0.14.2",
"typescript": "^3.4.3",
2019-06-05 17:17:16 +02:00
"uglifyjs-webpack-plugin": "^2.1.3",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.2",
"webpack-merge": "^4.2.1"
2018-08-31 10:13:22 +02:00
}
}