<commit_before>{
  "name": "bat-ledger",
  "version": "0.9.0",
  "description": "A BAT micropayments system for users and publishers.",
  "main": "index.js",
  "type": "main",
  "scripts": {
    "ava": "ava",
    "eyeshade-server": "nodemon eyeshade/server.js",
    "eyeshade-consumer": "nodemon eyeshade/consumer.js",
    "eyeshade-cronjob": "node eyeshade/cronjob.js",
    "eyeshade-producer": "node bin/migrate-mongo-to-kafka.js",
    "start": "echo use 'npm run eyeshade-web' or 'npm run eyeshade-consumer' or 'npm run eyeshade-cronjob'",
    "start-eyeshade": "NODE_PATH=. DEBUG=*,-mongo:*,mongo:queries SERVICE=eyeshade nodemon eyeshade/server.js",
    "start-eyeshade-consumer": "NODE_PATH=. DEBUG=*,-mongo:*,mongo:queries SERVICE=eyeshade nodemon eyeshade/consumer.js",
    "test": "nyc --reporter=html --reporter=text npm run test-all",
    "coverage": "nyc report --reporter=text-lcov | coveralls",
    "test-all": "npm run test-isup && npm run test-unit && npm run test-integration",
    "test-isup": "ava -v -s test/isup.integration.test.js",
    "docker-test": "docker-compose run --rm -v $(pwd)/test:/usr/src/app/test -v $(pwd)/eyeshade:/usr/src/app/eyeshade -v $(pwd)/bat-utils:/usr/src/app/bat-utils eyeshade-web npm run test",
    "lint": "npx standard",
    "lint-fix": "npm run lint -- --fix",
    "security": "npx standard --version && npm run lint && npm run moderate-audit",
    "moderate-audit": "npm audit --audit-level=moderate; echo $?",
    "test-integration": "ava -v -s test/*/*.integration.test.js",
    "test-settlements": "ava -v -s eyeshade/**/settlements.test.js",
    "test-unit": "ava -v -s bat-utils/**/*.test.js eyeshade/**/*.test.js",
    "docker-reset": "docker-compose down && docker rmi $(docker images -a -q) --force",
    "docker-build": "docker-compose build",
    "docker-seed-eyeshade": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web bash ./bin/seed.sh",
    "docker-up": "docker-compose -f docker-compose.yml up $npm_package_config_dockerservices",
    "docker-up-dev": "docker-compose -f docker-compose.yml up $npm_package_config_dockerservices $npm_package_config_dockermonitors",
    "docker-up-detached": "docker-compose up -d $npm_package_config_dockerservices",
    "docker-migrate-eyeshade-up": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web npm run migrate-up",
    "migrate-up": "./bin/migrate-up.sh",
    "docker-migrate-up": "npm run docker-migrate-eyeshade-up && npm run docker-seed-eyeshade",
    "docker-migrate-down": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web ./bin/migrate-down.sh",
    "docker-migrate-down-all": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web bash ./bin/migrate-down-all.sh",
    "docker-log-detached": "docker-compose logs",
    "postinstall": "test -e .git && { for file in `ls .git-hooks`; do ln -sf ../../.git-hooks/${file} .git/hooks/${file}; done } || true"
  },
  "config": {
    "dockermonitors": "prometheus grafana",
    "dockerservices": "eyeshade-web eyeshade-consumer"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/brave-intl/bat-ledger.git"
  },
  "author": "<NAME> <<EMAIL>>",
  "license": "MPL-2.0",
  "bugs": {
    "url": "https://github.com/brave-intl/bat-ledger/issues"
  },
  "homepage": "https://github.com/brave-intl/bat-ledger",
  "dependencies": {
    "@hapi/boom": "^10.0.0",
    "@hapi/hapi": "^20.2.2",
    "@hapi/inert": "^6.0.5",
    "@hapi/wreck": "^18.0.0",
    "@sentry/node": "^7.2.0",
    "@uphold/uphold-sdk-javascript": "^2.4.0",
    "avro-js": "1.9.1",
    "bat-utils": "file:./bat-utils",
    "bignumber.js": "^4.1.0",
    "bitcoinjs-lib": "^3.2.0",
    "bluebird": "^3.7.2",
    "bs58check": "^2.0.2",
    "bson": "^1.1.6",
    "country-list": "2.2.0",
    "cron-parser": "2.4.1",
    "currency-codes": "1.1.2",
    "dotenv": "^8.2.0",
    "ethereum-address": "0.0.4",
    "exposition": "^1.2.0",
    "gridfs-stream": "1.1.1",
    "hapi-auth-bearer-token": "^8.0.0",
    "hapi-require-https": "^5.0.0",
    "http-request-signature": "0.0.3",
    "joi": "^17.3.0",
    "kafkajs": "^2.0.2",
    "moment": "^2.29.2",
    "mongodb": "^3.5.4",
    "monk": "^7.1.2",
    "netmask": "^2.0.1",
    "newrelic": "^8.14.1",
    "nyc": "^15.1.0",
    "pg": "^8.7.3",
    "pg-format": "^1.0.4",
    "prom-client": "11.5.3",
    "proxy-agent": "^5.0.0",
    "queue-microtask": "github:brave-intl/queue-microtask#master",
    "rate-limiter-flexible": "^1.3.2",
    "redis": "^3.1.2",
    "sdebug": "^1.0.0",
    "strip-ansi": "^6.0.0",
    "tldjs": "2.2.0",
    "underscore": "^1.13.1",
    "uuid": "^8.3.2"
  },
  "engines": {
    "node": "16.16.0",
    "npm": "8.15.1"
  },
  "devDependencies": {
    "ava": "^4.3.1",
    "coveralls": "^3.0.6",
    "nodemon": "^2.0.18",
    "parse-prometheus-text-format": "^1.1.1",
    "standard": "~14.0.1",
    "supertest": "^6.2.3"
  },
  "standard": {
    "ignore": [
      "config.js",
      "bat-utils/config/config.*"
    ]
  },
  "nyc": {
    "per-file": true,
    "all": true,
    "watermarks": {
      "lines": [
        90,
        100
      ],
      "functions": [
        90,
        100
      ],
      "branches": [
        90,
        100
      ],
      "statements": [
        90,
        100
      ]
    },
    "include": [
      "eyeshade/**/*.js",
      "bat-utils/**/*.js"
    ],
    "exclude": [
      "bin/**/*",
      "eyeshade/bin/**/*.js"
    ],
    "reporter": [
      "lcov",
      "text-summary"
    ]
  }
}
<commit_msg>Use nodemon only in dev (#1087)<commit_after>{
  "name": "bat-ledger",
  "version": "0.9.0",
  "description": "A BAT micropayments system for users and publishers.",
  "main": "index.js",
  "type": "main",
  "scripts": {
    "ava": "ava",
    "eyeshade-server": "node eyeshade/server.js",
    "eyeshade-server-dev": "nodemon eyeshade/server.js",
    "eyeshade-consumer": "node eyeshade/consumer.js",
    "eyeshade-consumer-dev": "nodemon eyeshade/consumer.js",
    "eyeshade-cronjob": "node eyeshade/cronjob.js",
    "eyeshade-producer": "node bin/migrate-mongo-to-kafka.js",
    "start": "echo use 'npm run eyeshade-web' or 'npm run eyeshade-consumer' or 'npm run eyeshade-cronjob'",
    "start-eyeshade": "NODE_PATH=. DEBUG=*,-mongo:*,mongo:queries SERVICE=eyeshade nodemon eyeshade/server.js",
    "start-eyeshade-consumer": "NODE_PATH=. DEBUG=*,-mongo:*,mongo:queries SERVICE=eyeshade nodemon eyeshade/consumer.js",
    "test": "nyc --reporter=html --reporter=text npm run test-all",
    "coverage": "nyc report --reporter=text-lcov | coveralls",
    "test-all": "npm run test-isup && npm run test-unit && npm run test-integration",
    "test-isup": "ava -v -s test/isup.integration.test.js",
    "docker-test": "docker-compose run --rm -v $(pwd)/test:/usr/src/app/test -v $(pwd)/eyeshade:/usr/src/app/eyeshade -v $(pwd)/bat-utils:/usr/src/app/bat-utils eyeshade-web npm run test",
    "lint": "npx standard",
    "lint-fix": "npm run lint -- --fix",
    "security": "npx standard --version && npm run lint && npm run moderate-audit",
    "moderate-audit": "npm audit --audit-level=moderate; echo $?",
    "test-integration": "ava -v -s test/*/*.integration.test.js",
    "test-settlements": "ava -v -s eyeshade/**/settlements.test.js",
    "test-unit": "ava -v -s bat-utils/**/*.test.js eyeshade/**/*.test.js",
    "docker-reset": "docker-compose down && docker rmi $(docker images -a -q) --force",
    "docker-build": "docker-compose build",
    "docker-seed-eyeshade": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web bash ./bin/seed.sh",
    "docker-up": "docker-compose -f docker-compose.yml up $npm_package_config_dockerservices",
    "docker-up-dev": "docker-compose -f docker-compose.yml up $npm_package_config_dockerservices $npm_package_config_dockermonitors",
    "docker-up-detached": "docker-compose up -d $npm_package_config_dockerservices",
    "docker-migrate-eyeshade-up": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web npm run migrate-up",
    "migrate-up": "./bin/migrate-up.sh",
    "docker-migrate-up": "npm run docker-migrate-eyeshade-up && npm run docker-seed-eyeshade",
    "docker-migrate-down": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web ./bin/migrate-down.sh",
    "docker-migrate-down-all": "docker-compose -f docker-compose.yml run --rm -w /usr/src/app/eyeshade eyeshade-web bash ./bin/migrate-down-all.sh",
    "docker-log-detached": "docker-compose logs",
    "postinstall": "test -e .git && { for file in `ls .git-hooks`; do ln -sf ../../.git-hooks/${file} .git/hooks/${file}; done } || true"
  },
  "config": {
    "dockermonitors": "prometheus grafana",
    "dockerservices": "eyeshade-web eyeshade-consumer"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/brave-intl/bat-ledger.git"
  },
  "author": "<NAME> <<EMAIL>>",
  "license": "MPL-2.0",
  "bugs": {
    "url": "https://github.com/brave-intl/bat-ledger/issues"
  },
  "homepage": "https://github.com/brave-intl/bat-ledger",
  "dependencies": {
    "@hapi/boom": "^10.0.0",
    "@hapi/hapi": "^20.2.2",
    "@hapi/inert": "^6.0.5",
    "@hapi/wreck": "^18.0.0",
    "@sentry/node": "^7.2.0",
    "@uphold/uphold-sdk-javascript": "^2.4.0",
    "avro-js": "1.9.1",
    "bat-utils": "file:./bat-utils",
    "bignumber.js": "^4.1.0",
    "bitcoinjs-lib": "^3.2.0",
    "bluebird": "^3.7.2",
    "bs58check": "^2.0.2",
    "bson": "^1.1.6",
    "country-list": "2.2.0",
    "cron-parser": "2.4.1",
    "currency-codes": "1.1.2",
    "dotenv": "^8.2.0",
    "ethereum-address": "0.0.4",
    "exposition": "^1.2.0",
    "gridfs-stream": "1.1.1",
    "hapi-auth-bearer-token": "^8.0.0",
    "hapi-require-https": "^5.0.0",
    "http-request-signature": "0.0.3",
    "joi": "^17.3.0",
    "kafkajs": "^2.0.2",
    "moment": "^2.29.2",
    "mongodb": "^3.5.4",
    "monk": "^7.1.2",
    "netmask": "^2.0.1",
    "newrelic": "^8.14.1",
    "nyc": "^15.1.0",
    "pg": "^8.7.3",
    "pg-format": "^1.0.4",
    "prom-client": "11.5.3",
    "proxy-agent": "^5.0.0",
    "queue-microtask": "github:brave-intl/queue-microtask#master",
    "rate-limiter-flexible": "^1.3.2",
    "redis": "^3.1.2",
    "sdebug": "^1.0.0",
    "strip-ansi": "^6.0.0",
    "tldjs": "2.2.0",
    "underscore": "^1.13.1",
    "uuid": "^8.3.2"
  },
  "engines": {
    "node": "16.16.0",
    "npm": "8.15.1"
  },
  "devDependencies": {
    "ava": "^4.3.1",
    "coveralls": "^3.0.6",
    "nodemon": "^2.0.18",
    "parse-prometheus-text-format": "^1.1.1",
    "standard": "~14.0.1",
    "supertest": "^6.2.3"
  },
  "standard": {
    "ignore": [
      "config.js",
      "bat-utils/config/config.*"
    ]
  },
  "nyc": {
    "per-file": true,
    "all": true,
    "watermarks": {
      "lines": [
        90,
        100
      ],
      "functions": [
        90,
        100
      ],
      "branches": [
        90,
        100
      ],
      "statements": [
        90,
        100
      ]
    },
    "include": [
      "eyeshade/**/*.js",
      "bat-utils/**/*.js"
    ],
    "exclude": [
      "bin/**/*",
      "eyeshade/bin/**/*.js"
    ],
    "reporter": [
      "lcov",
      "text-summary"
    ]
  }
}

{'fraction_non_alphanumeric': 0.23359929078014185, 'fraction_numerical': 0.03368794326241135, 'mean_word_length': 2.730489417989418, 'pattern_counts': {'":': 236, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '48642', 'n_tokens_mistral': 4953, 'n_tokens_neox': 4652, 'n_words': 811}