Files
tiennm99 9b377ecd00 chore: migrate from npm to pnpm
Replace package-lock.json with pnpm-lock.yaml, add packageManager field,
update GitHub Actions workflow to use pnpm/action-setup@v4, and convert
README instructional npm commands to pnpm equivalents.
2026-05-13 10:20:18 +07:00

53 lines
2.2 KiB
JSON

{
"name": "template-nextjs",
"version": "1.2.0",
"packageManager": "pnpm@11.1.1",
"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",
"pnpm": {
"ignoredBuiltDependencies": ["sharp"]
}
}