forked from libffi/libffi
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.17 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.17 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
{
"name": "@discere-os/libffi.wasm",
"version": "3.5.2",
"type": "module",
"packageManager": "pnpm@9.15.0",
"description": "Foreign Function Interface for WebAssembly with WASM32/WASM64 support and TypeScript integration",
"main": "dist/node/index.js",
"module": "dist/browser/index.js",
"types": "dist/lib/types.d.ts",
"exports": {
".": {
"browser": "./dist/browser/index.js",
"node": "./dist/node/index.js",
"types": "./dist/lib/types.d.ts"
},
"./wasm": {
"import": "./dist/wasm/libffi.js",
"types": "./dist/wasm/types.d.ts"
}
},
"scripts": {
"build": "tsc && npm run build:wasm",
"build:wasm": "./build-wasm.sh",
"build:docs": "mandoc -T markdown man/*.3",
"test": "vitest",
"test:watch": "vitest --watch",
"test:coverage": "vitest --coverage",
"test:ui": "vitest --ui",
"test:browser": "playwright test",
"type-check": "tsc --noEmit",
"demo": "node dist/demo.js",
"benchmark": "node dist/benchmark.js",
"clean": "rm -rf dist build node_modules/.vite target",
"prepublishOnly": "npm run build && npm run test"
},
"keywords": [
"libffi",
"ffi",
"foreign-function-interface",
"wasm",
"wasm32",
"wasm64",
"webassembly",
"dynamic-calls",
"closures",
"emscripten",
"typescript"
],
"author": "Superstruct Ltd, New Zealand",
"license": "MIT",
"devDependencies": {
"@types/node": "^22.0.0",
"@vitest/coverage-v8": "^3.0.0",
"@vitest/ui": "^3.0.0",
"@playwright/test": "^1.40.0",
"typescript": "^5.7.0",
"vitest": "^3.0.0"
},
"files": [
"dist/",
"src/wasm/",
"include/",
"man/",
"build-wasm.sh",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/discere-os/libffi.wasm.git"
},
"homepage": "https://github.com/discere-os/libffi.wasm",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"cdn": {
"primary": "https://cdn.discere.cloud/npm/@discere-os/libffi.wasm/",
"fallbacks": [
"https://cdn.jsdelivr.net/npm/@discere-os/libffi.wasm/",
"https://unpkg.com/@discere-os/libffi.wasm/"
]
}
}