AugurProject/augur-core

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "augur-core",
  "version": "1.1.0",
  "description": "Core augur contracts and deployment process",
  "author": "The Augur Developers <team@augur.net>",
  "repository": "http://github.com/AugurProject/augur-core",
  "main": "output/index.js",
  "types": "output/index.d.ts",
  "module": "output/index.js",
  "browser": "output/browser.js",
  "license": "GPL-3.0",
  "directories": {
    "src": "source",
    "test": "test"
  },
  "scripts": {
    "lint": "npx solium --dir source --reporter=gcc",
    "build:source": "npx tsc",
    "build:contracts": "npm run build:flattener && . venv/bin/activate && node output/deployment/compileContracts.js",
    "build:interfaces": "node output/tools/generateContractInterfaces.js",
    "build:flattener": "source/tools/installSolidityFlattener",
    "build": "npm run build:source && npm run lint && npm run build:contracts && npm run build:interfaces",
    "preversion": "npm run build",
    "version": "git add source/libraries/ContractInterfaces.ts",
    "release": "npm version prerelease && npm publish",
    "test:unit": "pytest -vv",
    "test:unit:all": "pytest tests -vv",
    "test:integration": "npx mocha output/tests-integration/**/*.js --no-timeouts --require source-map-support/register",
    "test:integration:docker": "npx mocha output/tests-integration/**/*.js --no-timeouts --require source-map-support/register --exit",
    "deploy:net": "bash ./source/support/deploy/run.sh direct",
    "deploy:aura": "npm run deploy:net -- aura",
    "deploy:clique": "npm run deploy:net -- clique",
    "deploy:rinkeby": "npm run deploy:net -- rinkeby",
    "deploy:ropsten": "npm run deploy:net -- ropsten",
    "deploy:foundation": "npm run deploy:net -- foundation",
    "deploy": "npm run deploy:net -- aura clique rinkeby",
    "artifacts": "bash support/artifacts/run.sh",
    "docker:build": "npm run docker:build:python2-and-3 && docker build --cache-from augurproject/augur-core:latest --tag augurproject/augur-core:latest -f ./source/support/Dockerfile .",
    "docker:build:python2-and-3": "docker build --tag augurproject/python2-and-3:latest -f ./source/support/python2-and-3/Dockerfile .",
    "docker:push": "docker push augurproject/augur-core:latest",
    "docker:run:npm": "docker run --rm augurproject/augur-core:latest",
    "docker:run:shell": "docker run --rm -it --entrypoint=bash augurproject/augur-core:latest",
    "docker:run:test:integration:geth": "docker-compose -f ./source/support/test/integration/docker-compose-geth.yml up --abort-on-container-exit --force-recreate",
    "docker:run:test:integration:parity": "docker-compose -f ./source/support/test/integration/docker-compose-parity.yml up --abort-on-container-exit --force-recreate",
    "docker:run:test:unit": "npm run docker:run:npm -- run test:unit",
    "docker:run:test:unit:all": "npm run docker:run:npm -- run test:unit:all",
    "docker:run:test:security:mythril": "docker run -v `pwd`:/augur-core --workdir /augur-core/source/contracts cryptomental/augur-mythril-ci python /scripts/processor.py",
    "docker:run:test:security:maian": "docker-compose -f ./source/support/test/integration/docker-compose-geth.yml up --abort-on-container-exit --force-recreate && docker cp integration_geth-integration-tests_1:/app/output/contracts/ contracts/ && docker run -v `pwd`/contracts:/app/output/contracts/ cryptomental/maian-augur-ci python /scripts/test_runner.py",
    "docker:run:test:security:smt": "docker build --tag augurproject/augur-core-smt:latest -f ./source/support/test/smt/Dockerfile .",
    "docker:run:test:security:oyente": "docker build --tag augurproject/augur-core-oyente:latest -f ./source/support/test/oyente/Dockerfile .",
    "docker:run:test:geth": "npm run docker:run:test:unit:all && npm run docker:run:test:integration:geth",
    "docker:run:test:parity": "npm run docker:run:test:unit:all && npm run docker:run:test:integration:parity",
    "docker:run:deploy:net": "bash support/deploy/run.sh docker",
    "docker:run:deploy:rinkeby": "npm run docker:run:deploy:net -- rinkeby",
    "docker:run:deploy:ropsten": "npm run docker:run:deploy:net -- ropsten",
    "docker:run:deploy:foundation": "npm run docker:run:deploy:net -- foundation",
    "docker:run:deploy": "npm run docker:run:deploy:net -- aura clique rinkeby",
    "docker:npm": "npm run docker:build && npm run docker:run:npm",
    "docker:shell": "npm run docker:build && npm run docker:run:shell",
    "docker:test": "npm run docker:build && npm run docker:run:test:geth",
    "docker:test:geth": "npm run docker:build && npm run docker:run:test:geth",
    "docker:test:parity": "npm run docker:build && npm run docker:run:test:parity",
    "docker:test:unit": "npm run docker:build && npm run docker:run:test:unit",
    "docker:test:unit:all": "npm run docker:build && npm run docker:run:test:unit:all",
    "docker:deploy:net": "npm run docker:build && npm run docker:run:deploy:net",
    "docker:deploy:aura": "npm run docker:deploy:net -- aura",
    "docker:deploy:clique": "npm run docker:deploy:net -- clique",
    "docker:deploy:rinkeby": "npm run docker:deploy:net -- rinkeby",
    "docker:deploy:ropsten": "npm run docker:deploy:net -- ropsten",
    "docker:deploy:foundation": "npm run docker:deploy:net -- foundation",
    "docker:deploy": "npm run docker:deploy:net -- aura clique rinkeby"
  },
  "dependencies": {
    "@types/get-port": "3.2.0",
    "@types/mkdirp": "0.5.1",
    "@types/node": "9.6.7",
    "@types/yargs": "11.0.0",
    "async-file": "2.0.2",
    "async-mkdirp": "1.2.0",
    "async-parallel": "1.2.3",
    "binascii": "0.0.1",
    "bn.js": "4.11.8",
    "copy-dir": "0.3.0",
    "crypto-promise": "2.0.0",
    "ethereumjs-testrpc": "6.0.3",
    "ethjs-abi": "0.2.1",
    "ethjs-account": "0.1.4",
    "ethjs-contract": "0.1.9",
    "ethjs-provider-http": "0.1.6",
    "ethjs-query": "0.3.1",
    "ethjs-rpc": "0.1.8",
    "ethjs-signer": "0.1.1",
    "fs-readfile-promise": "3.0.0",
    "get-port": "3.2.0",
    "path": "0.12.7",
    "recursive-readdir": "2.2.1",
    "replace": "1.0.0",
    "rimraf": "2.6.2",
    "solidity-coverage": "0.5.4",
    "yargs": "11.0.0"
  },
  "devDependencies": {
    "@types/chai": "4.0.4",
    "@types/chai-as-promised": "7.1.0",
    "@types/mocha": "5.1.0",
    "chai": "4.1.2",
    "chai-as-promised": "7.1.1",
    "cross-env": "5.1.3",
    "mocha": "5.1.1",
    "solc": "0.4.20",
    "solium": "1.1.7",
    "source-map-support": "0.5.0",
    "ts-node": "3.3.0",
    "typescript": "2.6.1"
  }
}