mirror of
https://github.com/tiennm99/pikachu.git
synced 2026-05-19 19:26:55 +00:00
ffd7577a65
- Fix Z-pattern to use proper 2-turn path (H-V-H and V-H-V scanning) instead of single midpoint which only duplicated L-pattern behavior - Eliminate ~390 lines of duplicated pattern-matching code from PikachuGame.js by delegating to PikachuGameLogic via shared board ref - Fix removeCards to reset type=0 so pattern matching works after removal - Fix Jest config: remove invalid preset, add ESM support for Windows - Rename log.js to log.cjs for CommonJS compatibility with ESM project - Fix test expectations to account for pattern priority and border routing
49 lines
2.1 KiB
JSON
49 lines
2.1 KiB
JSON
{
|
|
"name": "template-nextjs",
|
|
"version": "1.2.0",
|
|
"description": "A Phaser 3 Next.js project template that demonstrates Next.js with React communication and uses Vite for bundling.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/phaserjs/template-nextjs.git"
|
|
},
|
|
"author": "Phaser Studio <support@phaser.io> (https://phaser.io/)",
|
|
"license": "MIT",
|
|
"licenseUrl": "http://www.opensource.org/licenses/mit-license.php",
|
|
"bugs": {
|
|
"url": "https://github.com/phaserjs/template-nextjs/issues"
|
|
},
|
|
"homepage": "https://github.com/phaserjs/template-nextjs#readme",
|
|
"keywords": [
|
|
"phaser",
|
|
"phaser3",
|
|
"next",
|
|
"nextjs",
|
|
"vite",
|
|
"javascript"
|
|
],
|
|
"scripts": {
|
|
"dev": "node log.cjs dev & next dev -p 8080",
|
|
"build": "node log.cjs build & next build",
|
|
"dev-nolog": "next dev -p 8080",
|
|
"build-nolog": "next build",
|
|
"test": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js",
|
|
"test:watch": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --watch",
|
|
"test:coverage": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --coverage",
|
|
"test:i": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js test/patterns/i-pattern.test.js",
|
|
"test:l": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js test/patterns/l-pattern.test.js",
|
|
"test:u": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js test/patterns/u-pattern.test.js",
|
|
"test:z": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js test/patterns/z-pattern.test.js",
|
|
"test:verbose": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --verbose",
|
|
"test:silent": "node --experimental-vm-modules ./node_modules/jest/bin/jest.js --silent"
|
|
},
|
|
"dependencies": {
|
|
"next": "15.3.1",
|
|
"phaser": "^3.90.0",
|
|
"react": "19.0.0",
|
|
"react-dom": "19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"jest": "^29.7.0"
|
|
},
|
|
"type": "module"
|
|
} |