route-graphics 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "route-graphics",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A 2D graphics rendering interface that takes JSON input and renders pixels using PixiJS",
5
5
  "main": "dist/RouteGraphics.js",
6
6
  "type": "module",
@@ -28,6 +28,7 @@
28
28
  "vt:generate": "bun run esbuild.js && rtgl vt generate --skip-screenshots",
29
29
  "vt:report": "bun run esbuild.js && rtgl vt generate && rtgl vt report",
30
30
  "test": "vitest run",
31
+ "test:coverage": "vitest run --coverage",
31
32
  "test:watch": "vitest",
32
33
  "serve": "bunx serve -p 3005 .rettangoli/vt/_site"
33
34
  },
@@ -36,14 +37,22 @@
36
37
  "pixi.js": "^8.7.1"
37
38
  },
38
39
  "devDependencies": {
39
- "@vitest/coverage-v8": "^1.6.0",
40
- "canvas": "^3.2.0",
40
+ "@vitest/coverage-v8": "^4.0.8",
41
41
  "esbuild": "^0.25.6",
42
+ "husky": "^9.1.7",
42
43
  "js-yaml": "^4.1.0",
43
44
  "jsdom": "^27.0.1",
45
+ "lint-staged": "^16.2.6",
46
+ "oxlint": "^1.26.0",
44
47
  "pixelmatch": "^5.3.0",
45
48
  "playwright": "^1.44.0",
46
49
  "pngjs": "^7.0.0",
47
- "puty": "^0.0.5-rc1"
50
+ "puty": "^0.0.5-rc1",
51
+ "vitest": "^4.0.8"
52
+ },
53
+ "lint-staged": {
54
+ "src/**/*.{js}": [
55
+ "oxlint && bunx prettier --write"
56
+ ]
48
57
  }
49
58
  }