-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.37 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 2.37 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
84
85
86
87
88
89
90
91
92
{
"name": "texforge",
"version": "0.1.3",
"description": "Forge textures for the GPU age. Convert PNG/JPG to KTX2 with blazing fast compression. 90% smaller files, hardware-accelerated loading for Phaser, Three.js, and Babylon.js.",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"bin": {
"texforge": "dist/cli/index.mjs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./package.json": "./package.json"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts --clean --shims && tsup src/cli/index.ts --format esm --out-dir dist/cli --dts --clean=false --shims",
"dev": "tsup src/index.ts src/cli/index.ts --format esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint src/**/*.ts",
"prepublishOnly": "npm run build",
"postinstall": "node scripts/install-toktx.js",
"check:toktx": "node -e \"require('child_process').execSync('toktx --version', {stdio:'inherit'})\""
},
"keywords": [
"ktx2",
"texture",
"compression",
"gpu",
"phaser",
"threejs",
"babylonjs",
"webgl",
"webgpu",
"basis",
"etc1s",
"uastc",
"performance",
"optimization",
"game-development",
"texture-atlas",
"image-compression"
],
"author": "Gursimran Singh <sgursimranmatharu@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/dhaniverse/texforge.git"
},
"bugs": {
"url": "https://github.com/dhaniverse/texforge/issues"
},
"homepage": "https://github.com/dhaniverse/texforge#readme",
"files": [
"dist",
"scripts",
"README.md",
"LICENSE"
],
"engines": {
"node": ">=18.0.0"
},
"peerDependencies": {
"phaser": "^3.70.0 || ^3.80.0 || ^3.88.0"
},
"peerDependenciesMeta": {
"phaser": {
"optional": true
}
},
"dependencies": {
"chalk": "^5.3.0",
"commander": "^12.0.0",
"ora": "^8.0.1",
"cli-progress": "^3.12.0",
"sharp": "^0.33.0"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/cli-progress": "^3.11.5",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.56.0",
"tsup": "^8.0.0",
"typescript": "^5.3.0",
"vitest": "^1.2.0"
}
}