Update package.json with correct project information and useful development scripts

This commit is contained in:
2025-06-13 10:07:38 +02:00
parent 3dd12c578d
commit d6038139b2

View File

@@ -1,15 +1,16 @@
{ {
"name": "neural-nexus-game", "name": "neural-nexus-game",
"version": "1.0.0", "version": "1.0.0",
"description": "A modern HTML5 puzzle game where you connect neural network nodes to form complex patterns", "description": "A modern HTML5 puzzle game featuring neural network connectivity challenges",
"main": "index.html", "main": "index.html",
"scripts": { "scripts": {
"dev": "python -m http.server 8000", "dev": "python -m http.server 8000",
"serve": "npx http-server -p 8000 -c-1", "serve": "npx http-server -p 8000 -c-1",
"test": "echo \"Run manual tests - see docs/testing.md\"", "test": "echo \"Run manual tests - see tests/manual-testing.md\"",
"build": "echo \"No build step required - single HTML file\"", "build": "echo \"No build step required - single HTML file\"",
"deploy": "echo \"Deploy via GitHub Pages or copy index.html to hosting platform\"", "deploy": "echo \"Copy index.html to hosting platform\"",
"lighthouse": "npx lighthouse http://localhost:8000 --output=json --output-path=performance-$(date +%Y%m%d).json" "lighthouse": "npx lighthouse http://localhost:8000 --output=json --output-path=tests/performance-logs/lighthouse-$(date +%Y%m%d).json",
"start": "python -m http.server 8000"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@@ -24,8 +25,8 @@
"javascript", "javascript",
"web-game", "web-game",
"brain-training", "brain-training",
"puzzle-game", "modern",
"vanilla-js" "responsive"
], ],
"author": "Anders Lehmann Pier", "author": "Anders Lehmann Pier",
"license": "MIT", "license": "MIT",
@@ -39,10 +40,5 @@
}, },
"engines": { "engines": {
"node": ">=14.0.0" "node": ">=14.0.0"
}, }
"browserslist": [
"last 2 versions",
"> 1%",
"not dead"
]
} }