forked from yanyiwu/nodejieba
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
85 lines (85 loc) · 2.23 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"name": "nodejs-jieba",
"version": "0.2.1",
"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 <[email protected]>",
"contributors": [
"Yanyi Wu <[email protected]>",
"Mister-Hope <[email protected]>"
],
"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/"
},
"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",
"prepublishOnly": "pnpm clean && pnpm build",
"test": "vitest",
"test:benchmark": "vitest bench",
"test:coverage": "vitest --coverage"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"node-addon-api": "^8.2.1",
"node-gyp": "^10.2.0"
},
"devDependencies": {
"@types/node": "22.7.5",
"@vitest/coverage-v8": "2.1.2",
"esbuild": "0.24.0",
"node-pre-gyp-github": "2.0.0",
"rimraf": "6.0.1",
"rollup": "4.24.0",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-esbuild": "6.1.1",
"typescript": "5.6.3",
"vitest": "2.1.2"
},
"packageManager": "[email protected]",
"engines": {
"node": "^18.0.0 || ^20.0.0 || ^22.0.0"
},
"publishConfig": {
"access": "public"
}
}