create-gamenative-app 0.1.1 → 0.1.2
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/bin/create.js +1 -1
- package/package.json +47 -47
package/bin/create.js
CHANGED
package/package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "create-gamenative-app",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "Native TypeScript framework for desktop games — no game engine, just SDL + WebGL.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "dist/main.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "cross-env NODE_ENV=development tsx src/main.ts",
|
|
10
|
-
"build": "tsc",
|
|
11
|
-
"start": "node dist/main.js",
|
|
12
|
-
"build:exe": "npm run build && node scripts/copy-config.js && pkg . --output release/GameNative.exe",
|
|
13
|
-
"example": "npm run build && npm start",
|
|
14
|
-
"create": "node bin/create.js",
|
|
15
|
-
"create:npx": "npx create-gamenative-app@latest"
|
|
16
|
-
},
|
|
17
|
-
"bin": {
|
|
18
|
-
"create-gamenative-app": "./bin/create.js"
|
|
19
|
-
},
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"@kmamal/gl": "^9.1.0",
|
|
22
|
-
"@kmamal/sdl": "^0.11.13",
|
|
23
|
-
"pngjs": "^7.0.0"
|
|
24
|
-
},
|
|
25
|
-
"devDependencies": {
|
|
26
|
-
"@types/node": "^22.10.0",
|
|
27
|
-
"cross-env": "^7.0.3",
|
|
28
|
-
"inquirer": "^9.3.8",
|
|
29
|
-
"pkg": "^5.8.1",
|
|
30
|
-
"tsx": "^4.19.2",
|
|
31
|
-
"typescript": "^5.7.0"
|
|
32
|
-
},
|
|
33
|
-
"engines": {
|
|
34
|
-
"node": ">=18"
|
|
35
|
-
},
|
|
36
|
-
"pkg": {
|
|
37
|
-
"scripts": "dist/main.js",
|
|
38
|
-
"assets": [
|
|
39
|
-
"node_modules/@kmamal/sdl/**",
|
|
40
|
-
"node_modules/@kmamal/gl/**",
|
|
41
|
-
"dist/games/**"
|
|
42
|
-
],
|
|
43
|
-
"targets": [
|
|
44
|
-
"node18-win-x64"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "create-gamenative-app",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "Native TypeScript framework for desktop games — no game engine, just SDL + WebGL.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/main.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "cross-env NODE_ENV=development tsx src/main.ts",
|
|
10
|
+
"build": "tsc",
|
|
11
|
+
"start": "node dist/main.js",
|
|
12
|
+
"build:exe": "npm run build && node scripts/copy-config.js && pkg . --output release/GameNative.exe",
|
|
13
|
+
"example": "npm run build && npm start",
|
|
14
|
+
"create": "node bin/create.js",
|
|
15
|
+
"create:npx": "npx create-gamenative-app@latest"
|
|
16
|
+
},
|
|
17
|
+
"bin": {
|
|
18
|
+
"create-gamenative-app": "./bin/create.js"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@kmamal/gl": "^9.1.0",
|
|
22
|
+
"@kmamal/sdl": "^0.11.13",
|
|
23
|
+
"pngjs": "^7.0.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@types/node": "^22.10.0",
|
|
27
|
+
"cross-env": "^7.0.3",
|
|
28
|
+
"inquirer": "^9.3.8",
|
|
29
|
+
"pkg": "^5.8.1",
|
|
30
|
+
"tsx": "^4.19.2",
|
|
31
|
+
"typescript": "^5.7.0"
|
|
32
|
+
},
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=18"
|
|
35
|
+
},
|
|
36
|
+
"pkg": {
|
|
37
|
+
"scripts": "dist/main.js",
|
|
38
|
+
"assets": [
|
|
39
|
+
"node_modules/@kmamal/sdl/**",
|
|
40
|
+
"node_modules/@kmamal/gl/**",
|
|
41
|
+
"dist/games/**"
|
|
42
|
+
],
|
|
43
|
+
"targets": [
|
|
44
|
+
"node18-win-x64"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
}
|