comparison react_games/package.json @ 37:fb9bcd3145cb

[ReactGames] Few games I made using react just to practice few things.
author MrJuneJune <me@mrjunejune.com>
date Mon, 01 Dec 2025 20:22:47 -0800
parents
children
comparison
equal deleted inserted replaced
36:84672efec192 37:fb9bcd3145cb
1 {
2 "name": "tsx-playground",
3 "version": "1.0.0",
4 "description": "",
5 "main": "index.js",
6 "scripts": {
7 "build-current": "esbuild src/current.tsx --bundle --outdir=public/current --splitting --format=esm --loader:.tsx=tsx --sourcemap --watch",
8 "watch-current": "esbuild src/current.tsx --bundle --outfile=public/current/current.js --loader:.tsx=tsx --watch",
9
10 "build-games": "esbuild src/Games.tsx --bundle --outdir=public/games --splitting --format=esm --loader:.tsx=tsx --sourcemap",
11 "watch-games": "esbuild src/Games.tsx --bundle --outdir=public/games --splitting --format=esm --loader:.tsx=tsx --sourcemap --watch",
12
13 "build-todo": "esbuild src/Todo.tsx --bundle --outfile=public/todo/todo.js --format=esm --loader:.tsx=tsx --sourcemap --watch",
14 "watch-todo": "esbuild src/Todo.tsx --bundle --outfile=public/todo/todo.js --loader:.tsx=tsx --watch",
15
16 "serve": "ts-node-dev --respawn --transpile-only --watch backend --ignore-watch node_modules backend/server.ts",
17 "serve-prod": "ts-node-dev --respawn --transpile-only --ignore-watch node_modules backend/server.ts",
18
19 "dev": "concurrently -k \"npm:watch-games\" \"npm:watch-current\" \"npm:watch-todo\" \"npm:serve\"",
20
21 "build-all": "npm run build-games && npm run build-todo",
22
23 "prod": "npm run build-all && npm run serve-prod"
24 },
25 "keywords": [],
26 "author": "",
27 "license": "ISC",
28 "type": "commonjs",
29 "dependencies": {
30 "express": "^5.1.0",
31 "react": "^19.1.1",
32 "react-dom": "^19.1.1"
33 },
34 "devDependencies": {
35 "@types/express": "^5.0.3",
36 "@types/node": "^24.1.0",
37 "@types/react": "^19.1.9",
38 "@types/react-dom": "^19.1.7",
39 "concurrently": "^9.2.0",
40 "esbuild": "^0.25.8",
41 "ts-node": "^10.9.2",
42 "ts-node-dev": "^2.0.0",
43 "typescript": "^5.9.2",
44 "typescript-language-server": "^3.2.0"
45 }
46 }