UNPKG

@melonproject/protocol

Version:

Technology Regulated and Operated Investment Funds

134 lines (133 loc) 4.63 kB
{ "name": "@melonproject/protocol", "version": "1.0.12", "description": "Technology Regulated and Operated Investment Funds", "main": "lib/index.umd.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "author": "Melonport AG <team@melonport.com>", "license": "GPL-3.0", "homepage": "https://github.com/melonproject/protocol#readme", "repository": { "type": "git", "url": "git+https://github.com/melonproject/protocol.git" }, "bugs": { "url": "https://github.com/melonproject/protocol/issues" }, "keywords": [ "Ethereum", "Protocol", "Melon", "Solidity", "Smart Contracts" ], "files": [ "bin/", "lib/", "out/", "deployments/" ], "bin": { "melon": "./bin/melon.js" }, "scripts": { "allchecks": "yarn clean && yarn build && yarn compile && yarn lint && yarn deploy:dev && yarn test && yarn test:system:devchain", "build": "tsc -p tsconfig.json && tscpaths -p tsconfig.json -s ./src -o ./lib > /dev/null", "bundle": "rollup -c", "clean": "rimraf lib && rimraf out && rimraf logs/*.log", "clean:logs": "rimraf logs/*.log", "compile": "node bin/melon.js compile", "deploy": "node bin/melon.js deploy", "deploy:dev": "yarn deploy -P 0xd3fdff38aaf7be159fc1c12c66982fea997df08ca5b91b399e437370d3681721 -T testing && yarn deploy -P 0xd3fdff38aaf7be159fc1c12c66982fea997df08ca5b91b399e437370d3681721 -T kyberPrice", "deploy:kovan": "node bin/melon.js deploy -c ./deployments/configs/kovan.json", "deploy:mainnet": "node bin/melon.js deploy -c ./deployments/configs/mainnet.json", "dev": "tsc-watch -p tsconfig.json --onSuccess \"sh -c 'tscpaths -p tsconfig.json -s ./src -o ./lib > /dev/null && yarn bundle'\"", "devchain": "ganache-cli --gasLimit 0x7a1200 --defaultBalanceEther 10000000000000 -m 'exhibit now news planet fame thank swear reform tilt accident bitter axis' --networkId 4", "format": "prettier --write src/**/*.ts", "lint:prettier": "yarn prettier --list-different src/**/*.ts", "lint:solium": "solium --dir src/contracts", "lint:tslint": "tsc --noEmit && tslint src/**/*.ts", "lint": "yarn lint:tslint && yarn lint:prettier", "postbuild": "yarn bundle", "prebuild": "rimraf lib", "publish:alpha": "yarn publish --tag alpha", "snyk": "snyk test", "pretest": "rimraf logs/test-*.log", "test": "JSON_RPC_ENDPOINT=ws://localhost:8545 yarn jest --runInBand --forceExit", "test:integration:legacy": "CHAIN_ENV=development ava legacy/tests/integration/fundTrading.js", "test:system": "yarn pretest && yarn jest --config ./src/tests/system/jest.config.js --runInBand --forceExit", "test:system:devchain": "PRIVATE_KEY=0xd3fdff38aaf7be159fc1c12c66982fea997df08ca5b91b399e437370d3681721 GAS_PRICE=0 yarn test:system testing" }, "devDependencies": { "@0x/types": "^1.3.0", "@babel/core": "^7.1.6", "@babel/polyfill": "^7.0.0", "@babel/preset-env": "^7.1.6", "@babel/register": "^7.0.0", "@parity/api": "^3.0.1", "@types/ethereum-protocol": "^1.0.0", "@types/jest": "^23.3.9", "@types/node": "^10.12.10", "ava": "^1.0.1", "bignumber.js": "^4.1.0", "debug": "^4.0.1", "ganache-cli": "^6.4.1", "glob": "^7.1.3", "husky": "^1.1.2", "jest": "^24.1.0", "lint-staged": "^7.3.0", "prettier": "^1.14.3", "prettier-eslint": "^8.2.2", "rimraf": "^2.6.2", "rollup": "^0.67.0", "rollup-plugin-sourcemaps": "^0.4.2", "snyk": "^1.110.2", "solc": "^0.4.25", "solidity-cli": "^1.0.3", "solium": "^1.1.0", "ts-jest": "^23.10.5", "tsc-watch": "^1.0.31", "tscpaths": "^0.0.6", "tslint": "^5.11.0", "tslint-config-airbnb": "^5.11.0", "tslint-config-prettier": "^1.15.0", "typescript": "^3.1.1", "winston": "^3.1.0" }, "dependencies": { "@0x/contract-wrappers": "^4.1.1", "@0x/order-utils": "^3.0.4", "@melonproject/token-math": "0.1.5", "axios": "^0.18.0", "commander": "^2.19.0", "ethereum-types": "^1.1.4", "ramda": "^0.25.0", "request-promise": "^4.2.2", "web3": "^1.0.0-beta.37", "web3-eth": "1.0.0-beta.37", "web3-eth-abi": "1.0.0-beta.37", "web3-eth-accounts": "^1.0.0-beta.37", "web3-utils": "1.0.0-beta.37", "yup": "^0.26.6", "zen-observable-ts": "^0.8.10" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "yarn lint" } }, "lint-staged": { "*.ts": [ "yarn format", "git add" ] }, "ava": { "require": [ "@babel/register", "@babel/polyfill" ] } }