Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.41 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 2.41 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
{
"name": "objc-js",
"private": false,
"access": "public",
"type": "module",
"os": [
"darwin"
],
"repository": {
"type": "git",
"url": "git+https://github.com/iamEvanYT/objc-js.git"
},
"homepage": "https://github.com/iamEvanYT/objc-js#readme",
"author": "iamEvan",
"imports": {
"#nobjc_native": "./build/Release/nobjc_native.node"
},
"exports": {
".": "./dist/index.js",
"./native": "./build/Release/nobjc_native.node"
},
"files": [
"dist/",
"prebuilds/",
"binding.gyp",
"src/native"
],
"scripts": {
"install": "node-gyp-build",
"build-native": "node-gyp build",
"build-scripts": "tsc --project scripts/tsconfig.json",
"build-source": "tsc --project src/ts/tsconfig.json",
"prebuild": "node-gyp clean && node-gyp configure",
"build": "npm run build-native && npm run build-scripts && npm run build-source",
"pretest": "npm run build",
"test": "bun run test:bun",
"test:bun": "bun test",
"test:node": "npx vitest run",
"test:native": "bun test tests/test-native-code.test.ts",
"test:js": "bun test tests/test-js-code.test.ts",
"test:string-lifetime": "bun test tests/test-string-lifetime.test.ts",
"test:object-arguments": "bun test tests/test-object-arguments.test.ts",
"test:protocol-implementation": "bun test tests/test-protocol-implementation.test.ts",
"test:run-loop": "bun test tests/test-run-loop.test.ts",
"bench": "bun run build && bun run benchmarks/bench.ts",
"make-clangd-config": "node ./scripts/make-clangd-config.js",
"format": "prettier --write \"**/*.{ts,js,json,md}\"",
"preinstall-disabled": "npm run build-scripts && npm run make-clangd-config",
"prebuild:arm64": "prebuildify --napi --strip --arch arm64 -r node --tagArmv",
"prebuild:x64": "prebuildify --napi --strip --arch x64 -r node",
"prebuild:all": "bun run prebuild:arm64 && bun run prebuild:x64"
},
"version": "1.6.0",
"description": "Objective-C bridge for Node.js",
"main": "dist/index.js",
"dependencies": {
"node-addon-api": "^8.9.2",
"node-gyp-build": "^4.8.4"
},
"devDependencies": {
"@types/bun": "latest",
"@types/node": "^20.19.43",
"node-gyp": "^12.4.0",
"prebuildify": "^6.0.1",
"prettier": "^3.9.10",
"typescript": "^5.9.3",
"vitest": "^4.1.11"
},
"gypfile": true,
"patchedDependencies": {
"prebuildify@6.0.1": "patches/prebuildify@6.0.1.patch"
}
}