mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
88 lines
2.9 KiB
JSON
88 lines
2.9 KiB
JSON
{
|
|
"name": "@oceanprotocol/squid",
|
|
"version": "0.2.6",
|
|
"description": "JavaScript client library for Ocean Protocol",
|
|
"main": "./dist/node/squid.js",
|
|
"browser": "./dist/browser/squid.cjs2.min.js",
|
|
"scripts": {
|
|
"test": "mocha",
|
|
"test:watch": "mocha -w --watch-extensions js,ts,json",
|
|
"test:cover": "nyc mocha",
|
|
"clean": "rm -rf ./dist/ ./doc/ ./coverage ./.nyc_output",
|
|
"lint": "tslint -c tslint.json 'src/**/*.ts' 'test/**/*.ts'",
|
|
"start": "npm link @oceanprotocol/keeper-contracts @oceanprotocol/secret-store-client && npm run build:watch",
|
|
"build": "npm run clean && npm run build:tsc && npm run build:dist",
|
|
"build:tsc": "tsc",
|
|
"build:dist": "cross-env NODE_ENV=production webpack",
|
|
"build:watch": "tsc -w",
|
|
"doc": "typedoc --mode modules --out ./doc/ ./src/",
|
|
"report-coverage": "cat ./coverage/lcov.info | codacy-coverage --token 71ef0d15f6f04ac29b31d704b28f866a",
|
|
"run": "ts-node",
|
|
"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"
|
|
},
|
|
"nyc": {
|
|
"include": [
|
|
"src/**/*.ts"
|
|
],
|
|
"extension": [
|
|
".ts"
|
|
],
|
|
"require": [
|
|
"ts-node/register"
|
|
],
|
|
"reporter": [
|
|
"text-summary",
|
|
"lcov",
|
|
"html"
|
|
],
|
|
"sourceMap": true,
|
|
"instrument": true
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/oceanprotocol/squid-js.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "Ocean Protocol <devops@oceanprotocol.com>",
|
|
"license": "Apache-2.0",
|
|
"bugs": {
|
|
"url": "https://github.com/oceanprotocol/squid-js/issues"
|
|
},
|
|
"homepage": "https://github.com/oceanprotocol/squid-js#readme",
|
|
"dependencies": {
|
|
"@oceanprotocol/keeper-contracts": "^0.5.3",
|
|
"@oceanprotocol/secret-store-client": "~0.0.14",
|
|
"bignumber.js": "^8.0.1",
|
|
"ethereumjs-util": "^6.0.0",
|
|
"node-fetch": "^2.3.0",
|
|
"uuid": "^3.3.2",
|
|
"web3": "1.0.0-beta.37",
|
|
"web3-eth-contract": "1.0.0-beta.37",
|
|
"web3-utils": "1.0.0-beta.37",
|
|
"whatwg-url": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.1.7",
|
|
"@types/mocha": "^5.2.5",
|
|
"@types/node": "^10.12.17",
|
|
"chai": "^4.2.0",
|
|
"cross-env": "^5.2.0",
|
|
"mocha": "^5.2.0",
|
|
"nyc": "^13.1.0",
|
|
"rollup": "^1.1.0",
|
|
"source-map-support": "^0.5.9",
|
|
"truffle-hdwallet-provider": "^1.0.2",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.12.0",
|
|
"typedoc": "^0.14.0",
|
|
"typescript": "^3.2.2",
|
|
"uglifyjs-webpack-plugin": "^2.1.1",
|
|
"webpack": "^4.28.3",
|
|
"webpack-cli": "^3.2.1",
|
|
"webpack-merge": "^4.2.1"
|
|
}
|
|
}
|