-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 2.75 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 loc) · 2.75 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@bsdiff-rust/node",
"version": "0.0.4",
"description": "A high-performance Rust implementation of bsdiff and bspatch algorithms with Node.js bindings",
"main": "index.js",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Sphinm/bsdiff-rust.git"
},
"author": "min.su <sumin1500160640@gmail.com>",
"license": "MIT",
"keywords": [
"bsdiff",
"bspatch",
"binary-diff",
"binary-patch",
"rust",
"napi-rs",
"NAPI",
"N-API",
"compression",
"bzip2",
"bsdiff40",
"qbsdiff",
"delta-compression",
"node-addon",
"node-addon-api"
],
"files": [
"index.d.ts",
"index.js"
],
"napi": {
"binaryName": "node",
"targets": [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-musl",
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu"
]
},
"engines": {
"node": ">= 10"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"scripts": {
"artifacts": "napi artifacts",
"build": "napi build --platform --release",
"build:arm64": "napi build --platform --target aarch64-apple-darwin --release",
"build:debug": "napi build --platform",
"prepublishOnly": "napi prepublish -t npm",
"format": "run-p format:prettier format:rs format:toml",
"format:prettier": "prettier . -w",
"format:toml": "taplo format",
"format:rs": "cargo fmt",
"lint": "oxlint .",
"test": "mocha --require ts-node/register test/index.ts",
"test:compatibility": "node test/compatibility-test.js",
"version": "napi version",
"bench": "node --import @oxc-node/core/register benchmark/benchmark.ts"
},
"devDependencies": {
"@napi-rs/cli": "^3.0.3",
"@oxc-node/core": "^0.0.32",
"@taplo/cli": "^0.7.0",
"@types/mocha": "^10.0.6",
"@types/node": "^24.3.0",
"chalk": "^5.4.1",
"husky": "^9.1.7",
"lint-staged": "^16.1.2",
"mocha": "^10.2.0",
"npm-run-all2": "^8.0.4",
"oxlint": "^1.8.0",
"prettier": "^3.6.2",
"ts-node": "^10.9.2",
"tsx": "^4.7.1",
"typescript": "^5.8.3"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"oxlint --fix"
],
"*.@(js|ts|tsx|yml|yaml|md|json)": [
"prettier --write"
],
"*.toml": [
"taplo format"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"packageManager": "pnpm@9.15.9+sha512.68046141893c66fad01c079231128e9afb89ef87e2691d69e4d40eee228988295fd4682181bae55b58418c3a253bde65a505ec7c5f9403ece5cc3cd37dcf2531"
}