2025-08-05 23:51:42 +08:00

52 lines
1.3 KiB
JSON

{
"name": "nodejieba",
"description": "chinese word segmentation for node",
"version": "2.6.0",
"author": "Yanyi Wu <i@yanyiwu.com>",
"maintainers": [
"Yanyi Wu <i@yanyiwu.com>"
],
"main": "./index.js",
"typings": "types/index.d.ts",
"engines": {
"node": ">= 10.20.0"
},
"repository": {
"type": "git",
"url": "http://github.com/yanyiwu/nodejieba.git"
},
"keywords": [
"chinese",
"segment",
"cppjieba",
"jieba",
"中文分词",
"结巴分词"
],
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.4",
"node-addon-api": "^3.0.2"
},
"devDependencies": {
"coveralls": "~2.11.6",
"istanbul": "~0.4.1",
"mocha": "~2.4.5",
"node-pre-gyp-github": "^1.4.3",
"should": "~8.3.1",
"typescript": "^3.0.1"
},
"scripts": {
"test": "node test/demo.js && node test/load_dict_demo.js && mocha --timeout 10s -R spec test/test.js && mocha --timeout 10s -R spec test/load_dict_test.js",
"install": "node-pre-gyp install --fallback-to-build",
"rebuild": "node-pre-gyp rebuild"
},
"binary": {
"module_name": "nodejieba",
"module_path": "./build/Release/",
"host": "https://github.com/yanyiwu/nodejieba/releases/download/",
"remote_path": "v{version}",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz"
},
"license": "MIT"
}