UNPKG

@khazh/tic-tac-toe-react

Version:

A customizable Tic Tac Toe game component for React with AI opponent, configurable board size, and win conditions

62 lines (61 loc) 1.48 kB
{ "name": "@khazh/tic-tac-toe-react", "version": "1.0.3", "description": "A customizable Tic Tac Toe game component for React with AI opponent, configurable board size, and win conditions", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist", "README.md" ], "scripts": { "dev": "vite", "build": "tsc -b && vite build", "build:dev": "tsc -p tsconfig.dev.json", "build:lib": "tsc -p tsconfig.build.json", "lint": "eslint .", "preview": "vite preview", "prepublishOnly": "npm run build:lib" }, "publishConfig": { "access": "public" }, "keywords": [ "react", "tic-tac-toe", "game", "component", "ai", "typescript", "board-game" ], "author": "Khanh Pham", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/khanhpham/tic-tac-toe-react.git" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "dependencies": { "react": "^18.2.0", "react-dom": "^18.2.0" }, "devDependencies": { "@eslint/js": "^9.30.1", "@types/react": "^19.1.8", "@types/react-dom": "^19.1.6", "@vitejs/plugin-react": "^4.6.0", "eslint": "^9.31.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "globals": "^16.3.0", "prettier": "^3.6.2", "typescript": "^5.8.3", "typescript-eslint": "^8.35.1", "vite": "^4.5.0" } }