-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.97 KB
/
Copy pathpackage.json
File metadata and controls
63 lines (63 loc) · 1.97 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
{
"name": "@siafoundation/sia-storage",
"version": "0.0.13",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/SiaFoundation/sia-storage-js"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"wasm"
],
"exports": {
".": {
"node": {
"types": "./dist/index.node.d.ts",
"require": "./dist/index.node.cjs",
"import": "./dist/index.node.cjs"
},
"bun": {
"types": "./dist/index.node.d.ts",
"default": "./dist/index.node.cjs"
},
"browser": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./wasm": "./wasm/sia_storage_wasm.js",
"./wasm/*": "./wasm/*"
},
"scripts": {
"build": "bun run build-wasm && tsup && bun run scripts/build-node-types.ts",
"build-wasm": "bun run scripts/build-wasm.ts",
"setup": "bun run scripts/setup-rust.ts",
"setup-napi-test": "bun run scripts/setup-napi-test.ts",
"test": "bun test src/tests/install-integration.test.ts",
"test:browser": "bun test src/tests/vite-integration.test.ts src/tests/esbuild-integration.test.ts src/tests/webpack-integration.test.ts src/tests/rollup-integration.test.ts src/tests/nextjs-integration.test.ts",
"test:all": "bun test",
"prepublishOnly": "bun run build && bun test",
"publish-npm": "bun run scripts/publish.ts"
},
"optionalDependencies": {
"@siafoundation/sia-storage-darwin-arm64": "0.0.13",
"@siafoundation/sia-storage-darwin-x64": "0.0.13",
"@siafoundation/sia-storage-linux-x64-gnu": "0.0.13",
"@siafoundation/sia-storage-linux-arm64-gnu": "0.0.13",
"@siafoundation/sia-storage-win32-x64-msvc": "0.0.13"
},
"devDependencies": {
"@types/bun": "^1.3.12",
"@types/node": "^24.13.2",
"playwright": "^1.60.0",
"tsup": "^8.4.0",
"typescript": "~5.9.3"
}
}