UNPKG

tmemory

Version:

A terminal-based Memory card game built with React Ink. Features multiple grid sizes, AI opponent, and high scores.

112 lines (111 loc) 2.61 kB
{ "name": "tmemory", "version": "0.4.1", "description": "A terminal-based Memory card game built with React Ink. Features multiple grid sizes, AI opponent, and high scores.", "author": "gfargo <ghfargo@gmail.com>", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/gfargo/tmemory.git" }, "bugs": { "url": "https://github.com/gfargo/tmemory/issues" }, "homepage": "https://github.com/gfargo/tmemory#readme", "keywords": [ "game", "card-game", "memory", "concentration", "ink", "ink-playing-cards", "playing-cards", "terminal-game", "memory-game", "card-matching" ], "bin": "dist/cli.js", "type": "module", "engines": { "node": ">=16" }, "scripts": { "prestart": "npm run build", "start": "node dist/cli.js", "build": "tsc", "dev": "tsc --watch", "release": "release-it", "lint": "prettier --check . && xo", "lint:fix": "prettier --write . && xo --fix", "pretest": "npm run build", "test": "ava", "test:fix": "npm run lint:fix && ava --update-snapshots" }, "files": [ "dist" ], "dependencies": { "cli-table3": "^0.6.5", "conf": "^13.1.0", "ink": "^5.1.0", "ink-big-text": "^2.0.0", "ink-gradient": "^3.0.0", "ink-link": "^4.1.0", "ink-playing-cards": "^0.7.3", "ink-text-input": "^6.0.0", "meow": "^11.0.0", "react": "^18.2.0" }, "devDependencies": { "@ava/typescript": "^5.0.0", "@types/node": "^22.8.2", "@types/react": "^18.0.32", "ava": "^6.2.0", "chalk": "^5.2.0", "eslint-config-xo-react": "^0.27.0", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "ink-testing-library": "^4.0.0", "prettier": "^2.8.7", "release-it": "^17.10.0", "ts-node": "^10.9.1", "typescript": "^5.0.3", "xo": "^0.59.3" }, "ava": { "typescript": { "extensions": [ "ts", "tsx" ], "rewritePaths": { "src/": "dist/" }, "compile": false }, "require": [ "ts-node/register" ] }, "xo": { "extends": "xo-react", "prettier": true, "rules": { "react/prop-types": "off", "react/no-array-index-key": "off", "unicorn/filename-case": "off", "@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/naming-convention": [ "error", { "selector": "variable", "format": [ "camelCase", "PascalCase", "UPPER_CASE" ] } ] } } }