diff options
| author | Nicolas Paul <n@nc0.fr> | 2024-03-10 16:55:19 +0100 | 
|---|---|---|
| committer | Nicolas Paul <n@nc0.fr> | 2024-03-10 16:56:47 +0100 | 
| commit | 2cb26121e3fbf69b05e0be57f47b14a60079b7b2 (patch) | |
| tree | b8e2d6e82d2949cb47c35687ab92f998540fb939 /life2/simulator/package.json | |
| parent | 3de89f6ddc41ecf608854ce0d6c7b9c56c4e24ed (diff) | |
simulator: Add template files
The new simulator is a simple Web application composed of a single HTML
document.  A controler script is available in
//life2/simulator/site/simulator.js to manage the game displayed on the
page.
The board will be represented in a <canvas> element, using the Canvas
Web API.
Close: https://github.com/nc0fr/life2/issues/6
Signed-off-by: Nicolas Paul <n@nc0.fr>
Diffstat (limited to 'life2/simulator/package.json')
| -rw-r--r-- | life2/simulator/package.json | 9 | 
1 files changed, 6 insertions, 3 deletions
diff --git a/life2/simulator/package.json b/life2/simulator/package.json index d03355e..526256f 100644 --- a/life2/simulator/package.json +++ b/life2/simulator/package.json @@ -36,13 +36,16 @@      "readme": "README",      "scripts": {        "test": "exit 0", -      "lint": "eslint .", +      "lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",        "lint-fix": "eslint --fix .",        "fmt": "clang-format -i *.js", -      "fmt-check": "clang-format --dry-run --Werror *.js" +      "fmt-check": "clang-format --dry-run --Werror *.js", +      "dev": "vite", +      "build": "vite build", +      "preview": "vite preview"      },      "dependencies": {          "@life2/game": "1.0.0",          "@life2/format": "1.0.0"      } -  } +}  | 
