-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 946 Bytes
/
package.json
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
{
"name": "bun-raylib",
"module": "index.ts",
"type": "module",
"version": "0.0.4",
"author": "minemobs",
"keywords": ["bun", "raylib"],
"description": "A wrapper for raylib (requires bun)",
"license": "MIT",
"homepage": "https://github.com/minemobs/bun-raylib",
"repository": {
"type": "git",
"url": "git+https://github.com/minemobs/bun-raylib.git"
},
"files": ["./dist", "./index.ts"],
"devDependencies": {
"bun-types": "^1.0.7"
},
"peerDependencies": {
"typescript": "^5.2.2"
},
"scripts": {
"compile": "gcc -c -Wall -Werror -fpic natives/raylibptr.c -Lraylib -o natives/raylibptr.o && gcc -shared -lraylib -o libraylibptr.so natives/raylibptr.o",
"preinstall": "bun run ./compile-raylib.ts && bun run compile",
"run": "bun compile && bun ./test/index.ts",
"build": "bun run build.ts",
"prepublishOnly": "bun run preinstall && bun run build",
"b": "bun run build"
}
}