{
  "name": "meridio-api",
  "version": "0.4.5",
  "description": "",
  "main": "api/api.js",
  "engines": {
    "node": ">=8.0.0"
  },
  "directories": {
    "test": "test"
  },
  "scripts": {
    "api-dev": "npm run migrate && npm run seed && NODE_ENV=development node api/api.js",
    "api-production": "NODE_ENV=production node api/api.js",
    "api-staging": "NODE_ENV=staging node api/api.js",
    "api-test": "NODE_ENV=test node api/api.js",
    "apidoc": "apidoc -i api/v2/routes -o api/docs/",
    "copy-contracts": "cp -R ../meridio-contracts/contracts . && cp -R ../meridio-contracts/migrations . && cp ../meridio-contracts/truffle.js .  ",
    "clear-artifacts": "rm -rf ./build && rm -rf ./contracts && rm -rf ./migrations ",
    "containers:full": "npm run containers:full:rinkeby",
    "containers:full:rinkeby": "(cd docker && pwd && ./container-full-rinkeby-application.sh)",
    "containers:full:ropsten": "(cd docker && pwd && ./container-full-ropsten-application.sh)",
    "containers:full:ganache": " npm run clear-artifacts && npm run copy-contracts && (cd docker && pwd && ./container-full-ganache-application.sh)",
    "containers:full:resetdb": "npm run kill_containers && npm run containers:full",
    "containers:watch": "(cd docker && pwd && ./container-hot-reload.sh)",
    "kill_containers": "(docker stop $(docker ps -aq) && docker rm $(docker ps -a -q))",
    "lint": "eslint . --fix --config .eslintrc --ignore-path .gitignore",
    "migrate": "sequelize db:migrate --migrations-path api/v2/migrations",
    "reset_docker": "(docker stop $(docker ps -aq) && docker rm $(docker ps -a -q)) && docker rmi -f $(docker images -q)",
    "run:containers:full:rinkeby": "npm run run:containers:watch",
    "run:containers:full:ropsten": "npm run run:containers:watch",
    "run:containers:full:ganache": "rm -rf ./build && truffle migrate --network ganachecli --reset && nodemon --exec 'npm run api-dev' --watch api/",
    "run:containers:watch": "nodemon --exec 'npm run api-dev' --watch api/",
    "run:test:containers:watch": "nodemon --exec 'npm run test' --watch api/",
    "seed": "sequelize db:seed:all --seeders-path api/v2/seeders ",
    "start": "npm run migrate && node api/api.js",
    "start:seed": "npm run migrate && npm run seed && npm run apidoc && node api/api.js",
    "test": "NODE_ENV=test npm run migrate && NODE_ENV=test mocha --opts ./api/.mocha.opts/mocha.v2.opts",
    "test:clean": "NODE_ENV=test mocha --opts ./api/.mocha.opts/mocha.clean.opts",
    "test:ci": "NODE_ENV=test npm run migrate && npm run seed && NODE_ENV=test mocha --opts ./api/.mocha.opts/mocha.ci.opts",
    "test:containers": "(cd docker && pwd && ./container-tests.sh)",
    "test:containers:watch": "(cd docker && pwd && ./container-test-watch.sh)",
    "plan": "INTERNAL_SERVICE=0 plan",
    "deploy": "INTERNAL_SERVICE=0 deploy",
    "destroy": "INTERNAL_SERVICE=0 destroy",
    "cicd:deploy": "cicd:deploy",
    "cicd:destroy": "cicd:destroy",
    "cicd:plan": "cicd:plan",
    "cd-prd:plan": "cd-prd:plan",
    "cd-prd:deploy": "cd-prd:deploy",
    "cd-prd:destroy": "cd-prd:destroy",
    "cd-stg:plan": "cd-stg:plan",
    "cd-stg:deploy": "cd-stg:deploy",
    "cd-stg:destroy": "cd-stg:destroy",
    "cd-whitelabel:plan": "cd-whitelabel:plan",
    "cd-whitelabel:destroy": "cd-whitelabel:destroy",
    "cd-whitelabel:deploy": "cd-whitelabel:deploy",
    "cd-consensys:plan": "cd-consensys:plan",
    "cd-consensys:destroy": "cd-consensys:destroy",
    "cd-consensys:deploy": "cd-consensys:deploy"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ConsenSys/pangea-backend.git"
  },
  "author": "",
  "license": "UNLICENCED",
  "bugs": {
    "url": "https://github.com/ConsenSys/pangea-backend/issues"
  },
  "homepage": "https://github.com/ConsenSys/pangea-backend#readme",
  "devDependencies": {
    "apidoc": "^0.17.6",
    "chai": "^4.1.2",
    "chai-as-promised": "^7.1.1",
    "chai-datetime": "^1.5.0",
    "chai-http": "^3.0.0",
    "eslint": "^4.18.2",
    "eslint-config-airbnb-base": "^13.1.0",
    "eslint-config-google": "^0.9.1",
    "eslint-plugin-import": "^2.14.0",
    "eslint-plugin-mocha": "^5.0.0",
    "eslint-plugin-node": "^6.0.1",
    "factory-girl": "^5.0.2",
    "husky": "~1.3.1",
    "lint-staged": "~8.1.0",
    "mocha": "^5.0.4",
    "sinon": "^4.4.5",
    "sinon-express-mock": "^2.0.5"
  },
  "dependencies": {
    "@sendgrid/client": "^6.3.0",
    "accesscontrol": "^2.2.1",
    "apollo-server-express": "^2.4.8",
    "awilix": "^3.0.9",
    "aws-sdk": "^2.209.0",
    "aws-xray-sdk": "^2.1.0",
    "axios": "^0.18.0",
    "bcrypt-nodejs": "^0.0.3",
    "bignumber.js": "7.0.2",
    "bluebird": "^3.5.1",
    "body-parser": "^1.18.2",
    "bull": "^3.4.3",
    "coinbase": "^2.0.7",
    "cors": "^2.8.4",
    "dotenv": "^4.0.0",
    "express": "^4.16.3",
    "express-session": "^1.15.6",
    "express-validator": "^4.3.0",
    "fast-csv": "^2.4.1",
    "finale-rest": "^0.1.5",
    "getstream": "^3.19.0",
    "glob": "^7.1.3",
    "graphql": "^14.1.1",
    "graphql-type-json": "^0.2.4",
    "helmet": "^3.13.0",
    "jsonwebtoken": "^8.2.0",
    "mailgun-js": "^0.20.0",
    "morgan": "^1.9.1",
    "nodemon": "~1.18.7",
    "passport": "^0.4.0",
    "passport-jwt": "^4.0.0",
    "passport-local": "^1.0.0",
    "path": "^0.12.7",
    "pg": "^7.4.3",
    "raven": "^2.6.3",
    "sequelize": "~4.41.2",
    "sequelize-cli": "^4.0.0",
    "serve-favicon": "^2.4.5",
    "web3": "^1.0.0-beta.37",
    "websocket": "^1.0.28"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.js": [
      "eslint --fix",
      "git add"
    ]
  }
}
