view react_games/package.json @ 167:589bab390fb4

[ThirdParty] Added sqlite3 to the third_party.
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 16:28:45 -0800
parents fb9bcd3145cb
children
line wrap: on
line source

{
  "name": "tsx-playground",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "build-current": "esbuild src/current.tsx --bundle --outdir=public/current --splitting --format=esm --loader:.tsx=tsx --sourcemap --watch",
    "watch-current": "esbuild src/current.tsx --bundle --outfile=public/current/current.js --loader:.tsx=tsx --watch",

    "build-games": "esbuild src/Games.tsx --bundle --outdir=public/games --splitting --format=esm --loader:.tsx=tsx --sourcemap",
    "watch-games": "esbuild src/Games.tsx --bundle --outdir=public/games --splitting --format=esm --loader:.tsx=tsx --sourcemap --watch",

    "build-todo": "esbuild src/Todo.tsx --bundle --outfile=public/todo/todo.js --format=esm --loader:.tsx=tsx --sourcemap --watch",
    "watch-todo": "esbuild src/Todo.tsx --bundle --outfile=public/todo/todo.js --loader:.tsx=tsx --watch",

    "serve": "ts-node-dev --respawn --transpile-only --watch backend --ignore-watch node_modules backend/server.ts",
    "serve-prod": "ts-node-dev --respawn --transpile-only --ignore-watch node_modules backend/server.ts",

    "dev": "concurrently -k \"npm:watch-games\" \"npm:watch-current\" \"npm:watch-todo\" \"npm:serve\"",

    "build-all": "npm run build-games && npm run build-todo",

    "prod": "npm run build-all && npm run serve-prod"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "type": "commonjs",
  "dependencies": {
    "express": "^5.1.0",
    "react": "^19.1.1",
    "react-dom": "^19.1.1"
  },
  "devDependencies": {
    "@types/express": "^5.0.3",
    "@types/node": "^24.1.0",
    "@types/react": "^19.1.9",
    "@types/react-dom": "^19.1.7",
    "concurrently": "^9.2.0",
    "esbuild": "^0.25.8",
    "ts-node": "^10.9.2",
    "ts-node-dev": "^2.0.0",
    "typescript": "^5.9.2",
    "typescript-language-server": "^3.2.0"
  }
}