tactica 0.0.1

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,77 @@
1
+ {
2
+ "name": "tactica",
3
+ "version": "0.0.1",
4
+ "type": "module",
5
+ "description": "A mobile-first, browser-based 2D game engine built with TypeScript. Zero external runtime dependencies, pure Web APIs.",
6
+ "keywords": [
7
+ "game-engine",
8
+ "2d",
9
+ "canvas",
10
+ "mobile",
11
+ "touch",
12
+ "typescript",
13
+ "gamedev",
14
+ "browser-game",
15
+ "pwa",
16
+ "mobile-first",
17
+ "game-development",
18
+ "html5-game",
19
+ "webgl-free",
20
+ "zero-dependencies"
21
+ ],
22
+ "author": "Mike S",
23
+ "license": "MIT",
24
+ "homepage": "https://github.com/mikesaintsg/tactica#readme",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "https://github.com/mikesaintsg/tactica.git"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/mikesaintsg/tactica/issues"
31
+ },
32
+ "engines": {
33
+ "node": ">=18.0.0"
34
+ },
35
+ "exports": {
36
+ ".": {
37
+ "types": "./dist/index.d.ts",
38
+ "import": "./dist/index.js"
39
+ }
40
+ },
41
+ "main": "./dist/index.js",
42
+ "types": "./dist/index.d.ts",
43
+ "files": [
44
+ "dist",
45
+ "README.md",
46
+ "LICENSE"
47
+ ],
48
+ "sideEffects": false,
49
+ "scripts": {
50
+ "dev": "vite --config configs/vite.showcase.config.ts",
51
+ "build": "npm run clean:dist && npm run check && vite build",
52
+ "build:showcase": "vite build --config configs/vite.showcase.config.ts",
53
+ "check": "npm run decache && tsc --noEmit",
54
+ "check:showcase": "npm run decache && tsc --noEmit -p configs/tsconfig.showcase.json",
55
+ "test": "npm run decache && vitest run --no-cache",
56
+ "format": "eslint . --fix",
57
+ "show": "npm run build:showcase && npm run copy:showcase && npm run clean:showcase",
58
+ "clean:dist": "node -e \"try{require('fs').rmSync('dist',{recursive:true,force:true})}catch(e){}\"",
59
+ "clean:showcase": "node -e \"try{require('fs').rmSync('dist/showcase',{recursive:true,force:true})}catch(e){}\"",
60
+ "copy:showcase": "node -e \"try{require('fs').cpSync('dist/showcase/index.html','showcase.html',{force:true});console.log('Created: showcase.html')}catch(e){throw e}\"",
61
+ "decache": "node -e \"const fs=require('fs');['.eslintcache','node_modules/.vite','node_modules/.vitest','node_modules/.cache'].forEach(p=>{try{fs.rmSync(p,{recursive:true,force:true})}catch{}})\"",
62
+ "prepublishOnly": "npm run test && npm run build"
63
+ },
64
+ "devDependencies": {
65
+ "@types/node": "^25.0.5",
66
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
67
+ "@typescript-eslint/parser": "^8.52.0",
68
+ "@vitest/browser-playwright": "^4.0.16",
69
+ "eslint": "^9.39.2",
70
+ "jiti": "^2.6.1",
71
+ "typescript": "^5.9.3",
72
+ "vite": "^7.3.1",
73
+ "vite-plugin-dts": "^4.5.4",
74
+ "vite-plugin-singlefile": "^2.3.0",
75
+ "vitest": "^4.0.16"
76
+ }
77
+ }