{
  "name": "nodejs-jieba",
  "version": "0.3.0",
  "description": "chinese word segmentation for node",
  "keywords": [
    "chinese",
    "segment",
    "cppjieba",
    "jieba",
    "中文分词",
    "结巴分词"
  ],
  "repository": {
    "type": "git",
    "url": "http://github.com/Mister-Hope/nodejs-jieba.git"
  },
  "license": "MIT",
  "author": "Mister-Hope <mister-hope@outlook.com>",
  "contributors": [
    "Yanyi Wu <i@yanyiwu.com>",
    "Mister-Hope <mister-hope@outlook.com>"
  ],
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "require": "./dist/index.cjs",
      "import": "./dist/index.mjs",
      "default": "./dist/index.mjs"
    }
  },
  "main": "./dist/index.cjs",
  "module": "./dist/index.mjs",
  "typings": "./dist/index.d.ts",
  "files": [
    "deps",
    "dist",
    "dict",
    "lib",
    "binding.gyp"
  ],
  "binary": {
    "module_name": "jieba",
    "module_path": "./build/Release/",
    "remote_path": "v{version}",
    "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
    "host": "https://github.com/Mister-Hope/nodejs-jieba/releases/download/"
  },
  "dependencies": {
    "@mapbox/node-pre-gyp": "2.0.0-rc.0",
    "node-addon-api": "^8.3.0",
    "node-gyp": "^11.0.0"
  },
  "devDependencies": {
    "@types/node": "22.10.10",
    "@vitest/coverage-v8": "3.0.4",
    "node-pre-gyp-github": "2.0.0",
    "rimraf": "6.0.1",
    "rollup": "4.32.0",
    "rollup-plugin-dts": "6.1.1",
    "rollup-plugin-esbuild": "6.1.1",
    "typescript": "5.7.3",
    "vitest": "3.0.4"
  },
  "engines": {
    "node": "^18.0.0 || ^20.0.0 || ^22.0.0"
  },
  "publishConfig": {
    "access": "public"
  },
  "scripts": {
    "binary:build": "node-gyp configure && node-pre-gyp build",
    "binary:pack": "node-pre-gyp package",
    "binary:rebuild": "node-pre-gyp rebuild",
    "binary:release": "node-pre-gyp-github publish --release",
    "build": "rollup -c rollup.config.ts --configPlugin esbuild",
    "clean": "rimraf build/ dist/",
    "install": "node-pre-gyp install --fallback-to-build",
    "test": "vitest",
    "test:benchmark": "vitest bench",
    "test:coverage": "vitest --coverage"
  }
}