route-graphics 0.1.2 → 1.0.1
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/dist/RouteGraphics.js +104 -104
- package/package.json +7 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "route-graphics",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
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",
|
|
@@ -27,11 +27,12 @@
|
|
|
27
27
|
],
|
|
28
28
|
"scripts": {
|
|
29
29
|
"lint": "bunx prettier --check src",
|
|
30
|
-
"lint:fix": "bunx prettier --
|
|
30
|
+
"lint:fix": "bunx prettier --write src",
|
|
31
|
+
"prepare": "husky",
|
|
31
32
|
"build": "bunx esbuild ./src/index.js --bundle --minify --format=esm --outfile=./dist/RouteGraphics.js && bunx esbuild ./src/index.js --bundle --sourcemap --format=esm --outfile=./vt/static/RouteGraphics.js",
|
|
32
33
|
"vt:docker:pull": "docker pull docker.io/han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.10",
|
|
33
34
|
"vt:generate": "bun run build && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" docker.io/han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.10 rtgl vt generate --wait-event vt:ready",
|
|
34
|
-
"vt:screenshot": "bun run build && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" docker.io/han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.10 rtgl vt screenshot --wait-event vt:ready --concurrency 8",
|
|
35
|
+
"vt:screenshot": "bun run build && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -e RTGL_VT_CONCURRENCY=${RTGL_VT_CONCURRENCY:-8} -v \"$PWD:/workspace\" docker.io/han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.10 rtgl vt screenshot --wait-event vt:ready --concurrency ${RTGL_VT_CONCURRENCY:-8}",
|
|
35
36
|
"vt:docker": "bun run vt:screenshot",
|
|
36
37
|
"vt:report": "bun run vt:screenshot && docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" docker.io/han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.10 rtgl vt report",
|
|
37
38
|
"vt:accept": "docker run --rm --user $(id -u):$(id -g) -e RTGL_VT_DEBUG=true -v \"$PWD:/workspace\" docker.io/han4wluc/rtgl:playwright-v1.57.0-rtgl-v1.0.10 rtgl vt accept",
|
|
@@ -60,8 +61,9 @@
|
|
|
60
61
|
"vitest": "^4.0.8"
|
|
61
62
|
},
|
|
62
63
|
"lint-staged": {
|
|
63
|
-
"src/**/*.
|
|
64
|
-
"oxlint
|
|
64
|
+
"src/**/*.js": [
|
|
65
|
+
"oxlint",
|
|
66
|
+
"bunx prettier --write"
|
|
65
67
|
]
|
|
66
68
|
}
|
|
67
69
|
}
|