{
  "name": "ip2region",
  "version": "2.3.0",
  "description": "ip/ipv6 to geo database, IP（支持IPv6）地址到区域运营商",
  "keywords": [
    "ip",
    "ipaddress-to-address",
    "ip-address",
    "ip-location",
    "ip-region",
    "ip-lookup",
    "ip-search",
    "ip-geo",
    "ipv6",
    "ipv6address-to-address",
    "ipv6-address",
    "ipv6-location",
    "ipv6-region",
    "ipv6-lookup",
    "ipv6-search",
    "ipv6-geo"
  ],
  "main": "dist/lib/index.js",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/yourtion/node-ip2region.git"
  },
  "bugs": {
    "url": "https://github.com/yourtion/node-ip2region/issues"
  },
  "files": [
    "dist/lib",
    "data/ip2region.db",
    "data/ipv6wry.db"
  ],
  "homepage": "https://github.com/yourtion/node-ip2region#readme",
  "scripts": {
    "dev": "export NODE_ENV=dev && jest --verbose --watch",
    "test": "jest --coverage",
    "tag": "git tag v`node -p 'require(\"./package\").version'`",
    "format": "prettier --write \"src/**/*.ts\"",
    "clean": "rm -rf dist",
    "compile": "npm run clean && tsc",
    "prepublishOnly": "npm run format && npm run compile && npm test && coveralls < coverage/lcov.info",
    "postpublish": "npm run tag && git push && git push --tags"
  },
  "author": "Yourtion <yourtion@gmail.com>",
  "license": "MIT",
  "peerDependencies": {
    "@types/node": "*"
  },
  "devDependencies": {
    "@types/jest": "^26.0.15",
    "@types/node": "^17.0.35",
    "coveralls": "^3.1.0",
    "jest": "^26.4.2",
    "prettier": "^2.2.1",
    "ts-jest": "^26.4.4",
    "ts-node": "^9.0.0",
    "typescript": "^4.0.3"
  },
  "jest": {
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "testRegex": "./src/test/test",
    "collectCoverageFrom": [
      "src/lib/**/*.ts"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 80,
        "functions": 95,
        "lines": 80,
        "statements": 80
      }
    },
    "moduleFileExtensions": [
      "ts",
      "js",
      "json"
    ]
  }
}
