{
  "_args": [
    [
      "@tencent/polaris@0.3.28",
      "/data/orange-ci/workspace"
    ]
  ],
  "_from": "@tencent/polaris@0.3.28",
  "_id": "@tencent/polaris@0.3.28",
  "_inBundle": false,
  "_integrity": "sha512-GXheBE3EYVHjU01Qt90qIBzaXe7o9RKJLIsqbPEr4iMUoQp6wKgPNRG8JPZELNXZmDVXbsYrBcBlpUcWk4bvwg==",
  "_location": "/@tencent/polaris",
  "_phantomChildren": {
    "follow-redirects": "1.13.3"
  },
  "_requested": {
    "type": "version",
    "registry": true,
    "raw": "@tencent/polaris@0.3.28",
    "name": "@tencent/polaris",
    "escapedName": "@tencent%2fpolaris",
    "scope": "@tencent",
    "rawSpec": "0.3.28",
    "saveSpec": null,
    "fetchSpec": "0.3.28"
  },
  "_requiredBy": [
    "/@tencent/aegis-node-sdk"
  ],
  "_resolved": "https://mirrors.tencent.com/npm/@tencent/polaris/-/@tencent/polaris-0.3.28.tgz",
  "_spec": "0.3.28",
  "_where": "/data/orange-ci/workspace",
  "author": {
    "name": "superzheng",
    "email": "superzheng@tencent.com"
  },
  "ava": {
    "extensions": [
      "ts"
    ],
    "require": [
      "ts-node/register"
    ],
    "files": [
      "test/**/*.test.ts"
    ],
    "ignoredByWatcher": [
      "!src/**/*.ts"
    ]
  },
  "bugs": {
    "url": "https://git.woa.com/polaris/polaris-nodejs/issues"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "subject-case": [
        0
      ]
    }
  },
  "dependencies": {
    "@grpc/grpc-js": "^1.2.3",
    "@grpc/proto-loader": "^0.5.5",
    "@types/hashring": "^3.2.1",
    "axios": "^0.21.1",
    "debug": "^4.3.1",
    "hashring": "^3.2.0",
    "protobufjs": "^6.10.2",
    "semver": "^7.3.4",
    "uuid": "^8.3.2"
  },
  "description": "Polaris（北极星）名字服务 SDK",
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@commitlint/config-conventional": "^11.0.0",
    "@tencent/eslint-config-halo": "^8.4.0",
    "@types/debug": "^4.1.5",
    "@types/node": "^14.14.22",
    "@types/semver": "^7.3.3",
    "@types/sinon": "^9.0.10",
    "@types/uuid": "^8.3.0",
    "ava": "^3.15.0",
    "cross-env": "^7.0.3",
    "eslint": "^7.18.0",
    "husky": "^4.3.8",
    "nyc": "^15.1.0",
    "shx": "^0.3.2",
    "sinon": "^9.2.3",
    "tmp-promise": "^3.0.2",
    "ts-node": "^9.1.1",
    "typescript": "^4.1.3"
  },
  "files": [
    "dist"
  ],
  "funding": "wxwork://message?username=superzheng",
  "homepage": "https://git.woa.com/polaris/polaris-nodejs",
  "husky": {
    "hooks": {
      "commit-msg": "commitlint -e .git/COMMIT_EDITMSG",
      "pre-push": "npm run check"
    }
  },
  "keywords": [
    "polaris"
  ],
  "license": "MIT",
  "main": "dist/index.js",
  "name": "@tencent/polaris",
  "nyc": {
    "extension": [
      ".ts"
    ],
    "include": [
      "src/**/*.ts"
    ],
    "exclude": [
      "**/*.d.ts"
    ],
    "reporter": [
      "lcov",
      "text",
      "text-summary"
    ]
  },
  "repository": {
    "type": "git",
    "url": "http://git.code.oa.com/polaris/polaris-nodejs.git"
  },
  "scripts": {
    "build": "npm run lint && npm run clean && npm run build:src && npm run build:scripts && npm run pb:ts && npm run pb:dist:base && npm run pb:dist:grpc",
    "build:scripts": "tsc -p tsconfig.scripts.json",
    "build:src": "tsc -p tsconfig.json",
    "check": "npm run build",
    "clean": "shx rm -rf .nyc-output coverage dist",
    "coverage": "cross-env NODE_ENV=test nyc ava",
    "lines": "bash -c \"find . -name \\*.ts | grep -v -E tools\\|test\\|node_modules\\|.d.ts | xargs cat | wc -l\"",
    "lint": "eslint --max-warnings=0 \"@(src|test|tools)/**/*.@(js|ts)\"",
    "pb:dist:base": "shx cp -r src/plugins/naming/polaris-server/discover-pb src/plugins/naming/polaris-server/monitor-pb src/plugins/naming/polaris-server/ratelimit-pb dist/plugins/naming/polaris-server/",
    "pb:dist:grpc": "shx cp -r src/plugins/naming/polaris-server/connector/grpc/pb dist/plugins/naming/polaris-server/connector/grpc/pb",
    "pb:ts": "ts-node ./tools/pb2ts.ts src/plugins/naming/polaris-server/discover-pb src/plugins/naming/polaris-server/monitor-pb src/plugins/naming/polaris-server/ratelimit-pb",
    "postinstall": "node -e \"try{require('./dist/scripts/postinstall')}catch(e){}\"",
    "test": "cross-env NODE_ENV=test ava"
  },
  "types": "dist/index.d.ts",
  "version": "0.3.28"
}
