Skip to content

Commit d5bb165

Browse files
committed
1.0.8 预构建
1 parent 994a512 commit d5bb165

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

package.json

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-word-detection",
3-
"version": "1.0.7",
3+
"version": "1.0.8",
44
"description": "sensitive word detection 敏感词(违禁词)检测与替换",
55
"main": "./src/index.js",
66
"types": "./src/index.d.ts",
@@ -9,17 +9,28 @@
99
"url": "git@github.com:xiaobaidadada/node-word-detection.git"
1010
},
1111
"scripts": {
12-
"install": "prebuild-install --verbose || node-gyp rebuild --release ",
12+
"install": "prebuild-install --verbose || npm run build",
13+
"build": "npm i node-addon-api@7.0.0 --save-dev && node-gyp-build",
1314
"cc-rebuild": " node-gyp rebuild",
1415
"cc-configure": "node-gyp configure",
15-
"go": "node-gyp configure build --debug "
16+
"go": "node-gyp configure build --debug ",
17+
"prebuildify": "prebuildify --napi"
1618
},
17-
"keywords": ["sensitive","word","敏感词","filter","sensitive word","字典查找","违禁词"],
19+
"keywords": [
20+
"sensitive",
21+
"word",
22+
"敏感词",
23+
"filter",
24+
"sensitive word",
25+
"字典查找",
26+
"违禁词"
27+
],
1828
"author": "xiaobaidadada",
1929
"license": "Apache-2.0",
2030
"dependencies": {
21-
"prebuild-install": "^7.1.2",
22-
"bindings": "^1.5.0"
31+
"bindings": "^1.5.0",
32+
"node-gyp-build": "^4.2.3",
33+
"prebuild-install": "^7.1.2"
2334
},
2435
"files": [
2536
"binding.gyp",
@@ -28,7 +39,7 @@
2839
],
2940
"devDependencies": {
3041
"node-addon-api": "^7.0.0",
31-
"node-gyp": "^10.2.0",
32-
"prebuild": "^13.0.1"
42+
"prebuild": "^13.0.1",
43+
"prebuildify": "5.0.0"
3344
}
3445
}

prebuilds/linux-x64/node.napi.node

74.6 KB
Binary file not shown.

prebuilds/win32-x64/node.napi.node

147 KB
Binary file not shown.

0 commit comments

Comments
 (0)