@ksteinstudio/game-controller 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "@ksteinstudio/game-controller",
3
+ "version": "1.0.0",
4
+ "description": "Universal Game Controller Engine - render interactive UI layouts via JSON configuration in an Iframe-based SDK. Percentage-based positioning, multi-touch, zero dependencies.",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "module": "dist/index.mjs",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.js"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "sideEffects": false,
21
+ "scripts": {
22
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean",
23
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
24
+ "lint": "tsc --noEmit",
25
+ "prepublishOnly": "yarn build",
26
+ "test": "echo \"No tests configured yet\""
27
+ },
28
+ "keywords": [
29
+ "game-controller",
30
+ "virtual-gamepad",
31
+ "iframe",
32
+ "touch-controls",
33
+ "joystick",
34
+ "dpad",
35
+ "mobile-controls",
36
+ "html5-gamepad",
37
+ "postmessage",
38
+ "percentage-layout"
39
+ ],
40
+ "license": "MIT",
41
+ "author": "Ibrahim Karl Bileri",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "https://github.com/ksteinstudio/game-controller"
45
+ },
46
+ "homepage": "https://github.com/ksteinstudio/game-controller#readme",
47
+ "bugs": {
48
+ "url": "https://github.com/ksteinstudio/game-controller/issues"
49
+ },
50
+ "engines": {
51
+ "node": ">=16"
52
+ },
53
+ "devDependencies": {
54
+ "typescript": "^5.4.0",
55
+ "tsup": "^8.0.0"
56
+ }
57
+ }