forked from luckykaiyi/nodejieba
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.22 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.1.2",
"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/"
},
"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": "^7.0.0",
"node-gyp": "^10.0.1"
},
"devDependencies": {
"@types/node": "20.10.0",
"@vitest/coverage-v8": "0.34.6",
"esbuild": "0.19.8",
"node-pre-gyp-github": "1.4.4",
"rimraf": "5.0.5",
"rollup": "4.6.0",
"rollup-plugin-dts": "6.1.0",
"rollup-plugin-esbuild": "6.1.0",
"typescript": "5.3.2",
"vitest": "0.34.6"
},
"packageManager": "pnpm@8.11.0",
"engines": {
"node": "^18.0.0 || ^20.0.0"
},
"publishConfig": {
"access": "public"
}
}