-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.75 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.75 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
{
"author": "Stephen Niedzielski <stephen@oidoid.com> (https://oidoid.com)",
"bin": {
"void": "dist/src/cli/index.js"
},
"bugs": "https://github.com/oidoid/void/issues",
"dependencies": {
"@biomejs/biome": "2.3.15",
"esbuild": "0.27.3",
"jsdom": "28.0.0",
"mem-font": "11.0.0-10"
},
"description": "basic 2D game library.",
"devDependencies": {
"@oidoid/config": "0.0.10",
"@types/jsdom": "27.0.0",
"@types/node": "24.4.0",
"typescript": "6.0.0-beta"
},
"engines": {
"node": ">=24.0"
},
"exports": {
".": {
"dev": "./src/engine/index.ts",
"default": "./dist/src/engine/index.js"
},
"./test": {
"dev": "./src/test/index.ts",
"default": "./dist/src/test/index.js"
}
},
"files": [
"dist/",
"!dist/meta.json",
"!dist/public/**/*.png",
"!**/tsconfig.tsbuildinfo",
"schema/"
],
"homepage": "https://github.com/oidoid/void",
"keywords": [
"game engine",
"webgl"
],
"license": "AGPL-3.0-only",
"name": "@oidoid/void",
"publishConfig": {
"access": "public"
},
"published": "20260107",
"repository": {
"type": "git",
"url": "git+https://github.com/oidoid/void.git"
},
"scripts": {
"build": "tsc --build && chmod +x dist/src/cli/index.js && npm run build:demo:favicon && npm run build:demo -- --minify --one-file && npm run build:tv:favicon && npm run build:tv -- --minify --one-file",
"build:demo:favicon": "for s in 1 2 3 4 12; do f=dist/public/demo/favicon/favicon$(($s * 16)); aseprite src/demo/assets/favicon.aseprite --batch --color-mode=indexed --scale=$s --save-as=$f.png && cwebp -exact -lossless -mt -quiet -z 9 $f.png -o $f.webp; done",
"build:demo": "src/cli/index.ts --config=src/demo/void.json",
"build:tv:favicon": "for s in 1 2 3 4 12; do f=dist/public/tv/favicon/favicon$(($s * 16)); aseprite src/tv/assets/favicon.aseprite --batch --color-mode=indexed --scale=$s --save-as=$f.png && cwebp -exact -lossless -mt -quiet -z 9 $f.png -o $f.webp; done",
"build:tv": "src/cli/index.ts --config=src/tv/void.json",
"clean": "rm -rf dist/",
"preversion": "[ -z \"$(git status -z)\" ]",
"prepublishOnly": "! git symbolic-ref --quiet HEAD || git push --follow-tags origin \"$(git branch --show-current)\"",
"start": "tsc --build --preserveWatchOutput --watch& npm run build:demo:favicon && npm run build:demo -- --watch& npm run build:tv:favicon && npm run build:tv -- --watch=5678& wait",
"test": "lint && npm run test:unit && npm run build",
"test:unit": "sh -c 'node --experimental-test-coverage --test ${@:-$(find src/ schema/ -name \\*.test.ts -printf %p\\ )}' --",
"version": "npm pkg set published=$(date +%Y%m%d) && npm run clean && npm test"
},
"type": "module",
"version": "0.1.10"
}