-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.33 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": "hoshino",
"version": "2.1.0",
"description": "Fast string seaching powered by Rust",
"keywords": [
"string",
"pattern-search",
"pattern-match",
"string-search",
"string-match",
"aho-corasick"
],
"homepage": "https://github.com/xn-sakina/hoshino#README",
"repository": {
"type": "git",
"url": "https://github.com/xn-sakina/hoshino"
},
"license": "MIT",
"author": "fz6m",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"binding.js",
"postinstall.js"
],
"scripts": {
"prepare:target": "rustup target add wasm32-wasi-preview1-threads",
"artifacts": "napi artifacts",
"build": "napi build --platform --js binding.js --release -o .",
"build:dev": "napi build --platform --js binding.js -o .",
"build:wasm": "napi build --platform -o ./target/wasm --target wasm32-wasi-preview1-threads -r",
"build:wasm:dev": "napi build --platform -o ./target/wasm --target wasm32-wasi-preview1-threads",
"format:ts": "biome format --write example",
"format": "cargo fmt",
"prepublishOnly": "pnpm build",
"push": "vary push",
"release:only": "vary release:only",
"release": "vary np",
"release:root": "vary np --root",
"release:wasm": "vary np --wasm-napi",
"test": "vitest --run",
"vp": "vary vp",
"postinstall": "node postinstall.js"
},
"devDependencies": {
"@biomejs/biome": "^1.5.2",
"@changesets/cli": "^2.27.1",
"@napi-rs/cli": "3.0.0-alpha.36",
"@napi-rs/wasm-runtime": "^0.1.1",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.5",
"@xn-sakina/mental": "^4.2.1",
"@xn-sakina/vary": "^1.4.0",
"emnapi": "^0.45.0",
"hoshino": "workspace:*",
"lodash": "^4.17.21",
"tsx": "^4.7.0",
"typescript": "^5.3.3",
"vitest": "^1.2.1",
"zx": "^7.2.3"
},
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
},
"packageManager": "pnpm@8.14.0",
"napi": {
"binaryName": "hoshino",
"packageName": "@xn-sakina/hoshino",
"targets": [
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-musl"
]
}
}