{ "name": "@oceanprotocol/squid", "version": "0.1.25", "description": "JavaScript client library for Ocean Protocol", "main": "dist/cjs/squid.js", "module": "dist/esm/squid.js", "browser": "dist/umd/squid.min.js", "files": [ "dist/umd" ], "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 lint && npm run build:all && npm run doc", "build:all": "npm run build:es2015 && npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:umd:min", "build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015", "build:esm": "tsc --module es2015 --target es5 --outDir dist/esm", "build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs", "build:umd": "rollup dist/esm/squid.js --format umd --name squid --sourcemap --file dist/umd/squid.js", "build:umd:min": "cd dist/umd && uglifyjs --compress --mangle --comments -o squid.min.js -- squid.js && gzip squid.min.js -c > squid.min.js.gz", "build:watch": "tsc -w", "doc": "typedoc --mode modules --out ./doc/ ./src/", "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", "html" ], "sourceMap": true, "instrument": true }, "repository": { "type": "git", "url": "git+https://github.com/oceanprotocol/squid-js.git" }, "keywords": [], "author": "Ocean Protocol ", "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.3.25", "@oceanprotocol/secret-store-client": "0.0.12", "bignumber.js": "^8.0.1", "eth-crypto": "^1.2.7", "eth-ecies": "^1.0.3", "ethereumjs-util": "^6.0.0", "jsonwebtoken": "^8.4.0", "node-fetch": "^2.3.0", "uuid": "^3.3.2", "web3": "1.0.0-beta.36", "web3-utils": "1.0.0-beta.36", "whatwg-url": "^7.0.0" }, "devDependencies": { "@types/chai": "^4.1.7", "@types/mocha": "^5.2.5", "@types/node": "^10.12.10", "chai": "^4.2.0", "mocha": "^5.2.0", "nyc": "^13.1.0", "rollup": "^0.67.3", "source-map-support": "^0.5.9", "ts-node": "^7.0.1", "tslint": "^5.11.0", "typedoc": "^0.13.0", "typescript": "^3.1.6", "uglify-js": "^3.4.9" } }