Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.76 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.76 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
{
"name": "calamine-node",
"version": "0.2.0",
"description": "Asynchronous spreadsheet reading for Node.js and Bun, powered by Calamine and Node-API.",
"keywords": [
"async",
"bun",
"calamine",
"excel",
"napi-rs",
"spreadsheet",
"xls",
"xlsx"
],
"homepage": "https://github.com/Kunduin/calamine-node#readme",
"bugs": {
"url": "https://github.com/Kunduin/calamine-node/issues"
},
"license": "MIT",
"author": {
"name": "Kunduin",
"url": "https://github.com/Kunduin"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kunduin/calamine-node.git"
},
"files": [
"dist",
"native/*.cjs",
"native/*.d.cts",
"native/*.node",
"README.md",
"LICENSE",
"lib",
"docs/*.md",
"THIRD_PARTY_LICENSES.txt"
],
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"scripts": {
"build:native": "napi build --platform --release --output-dir native --js binding.cjs --dts binding.d.cts",
"build:ts": "tsc -p tsconfig.build.json",
"build": "pnpm build:native && pnpm build:ts",
"typecheck": "tsc --noEmit",
"test:compile": "tsc -p tsconfig.test.json",
"test:node": "node --test --test-reporter=spec build-test/test/*.test.js",
"test:bun": "bun test build-test/test/*.test.js",
"test:rust": "cargo test --locked",
"test:scripts": "node --test scripts/test/*.test.mjs",
"test": "pnpm test:compile && pnpm test:rust && pnpm test:node && pnpm test:bun && pnpm test:scripts",
"format": "oxfmt --write . && cargo fmt",
"format:check": "oxfmt --check . && cargo fmt -- --check",
"lint": "oxlint --deny-warnings && cargo clippy --all-targets --locked -- -D warnings",
"check": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm test",
"artifacts": "napi artifacts --output-dir native",
"version:native": "napi version",
"pack:check": "node scripts/check-package.mjs",
"prepack": "pnpm build",
"benchmark": "node scripts/benchmark.mjs",
"notices": "node scripts/generate-notices.mjs"
},
"devDependencies": {
"@napi-rs/cli": "3.10.4",
"@types/node": "26.6.1",
"oxfmt": "0.68.0",
"oxlint": "1.83.0",
"typescript": "7.0.2"
},
"napi": {
"binaryName": "calamine-node",
"targets": [
"x86_64-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"aarch64-unknown-linux-musl",
"x86_64-apple-darwin",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc"
]
},
"engines": {
"node": ">=22.13"
},
"packageManager": "pnpm@12.4.2"
}