@joy-ride/joy-ride 0.0.0-stage → 0.1.0
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/README.md +44 -2
- package/THIRD_PARTY_NOTICES.md +76 -0
- package/npm/bookmarklet.d.ts +5 -0
- package/npm/bookmarklet.js +30 -0
- package/npm/embed-assets/audi-rs3-top-Zwm7ZQ20.webp +0 -0
- package/npm/embed-assets/bmw-m4-top-GKSf0h28.webp +0 -0
- package/npm/embed-assets/electric-gt-top-DTcvEjMR.webp +0 -0
- package/npm/embed-assets/ford-mustang-gt-top-DVzZTm7G.webp +0 -0
- package/npm/embed-assets/inter-latin-wght-normal-Dx4kXJAl.woff2 +0 -0
- package/npm/embed-assets/jeep-wrangler-top-Dr43LU9c.webp +0 -0
- package/npm/embed-assets/lamborghini-huracan-evo-top-BCJJwrTj.webp +0 -0
- package/npm/embed-assets/logo-backing-DQNUb3C2.svg +1 -0
- package/npm/embed-assets/porsche-911-997-top-BE6uRNL4.webp +0 -0
- package/npm/embed-assets/roof-rocket-v1-Bs4IEw-s.webp +0 -0
- package/npm/embed-assets/side-gun-v1-BnpvZN1b.webp +0 -0
- package/npm/embed-assets/src-DCczMlG6.css +1 -0
- package/npm/embed-assets/subaru-wrx-top-dLvMFYDs.webp +0 -0
- package/npm/embed-assets/tire-screech-cc0-DEsAg1CH.mp3 +0 -0
- package/npm/embed-chunks/Documentation-b9Qe6IWu.js +32 -0
- package/npm/embed-chunks/src-d3m8FEbx.js +1270 -0
- package/npm/embed.js +8 -0
- package/npm/index.d.ts +2776 -0
- package/npm/index.js +8 -0
- package/npm/playground-xDP5-tDc.d.ts +1164 -0
- package/package.json +149 -4
package/package.json
CHANGED
|
@@ -1,6 +1,151 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joy-ride/joy-ride",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
6
|
-
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Drive through any website with cars, tire marks, liquids, fire, and breakable artwork.",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/jakiestfu/joy-ride.git"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://jakiestfu.github.io/joy-ride/",
|
|
12
|
+
"bugs": "https://github.com/jakiestfu/joy-ride/issues",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"joy-ride",
|
|
15
|
+
"browser",
|
|
16
|
+
"vehicle",
|
|
17
|
+
"playground",
|
|
18
|
+
"simulation"
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
"npm",
|
|
22
|
+
"THIRD_PARTY_NOTICES.md"
|
|
23
|
+
],
|
|
24
|
+
"sideEffects": true,
|
|
25
|
+
"types": "./npm/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./npm/index.d.ts",
|
|
29
|
+
"default": "./npm/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./embed": {
|
|
32
|
+
"types": "./npm/index.d.ts",
|
|
33
|
+
"default": "./npm/embed.js"
|
|
34
|
+
},
|
|
35
|
+
"./bookmarklet": {
|
|
36
|
+
"types": "./npm/bookmarklet.d.ts",
|
|
37
|
+
"default": "./npm/bookmarklet.js"
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"scripts": {
|
|
41
|
+
"check:world": "vitest run experiments/world/scripts tests/world-lane-assist.test.mjs",
|
|
42
|
+
"render:world": "node --import tsx scripts/world-render.mjs",
|
|
43
|
+
"dev": "pnpm --filter @joy-ride/site dev",
|
|
44
|
+
"build": "pnpm run typecheck && pnpm --filter @joy-ride/site build",
|
|
45
|
+
"build:package": "pnpm run typecheck && pnpm --filter @joy-ride/embed build:package",
|
|
46
|
+
"check:package": "node packages/embed/scripts/check-package.mjs",
|
|
47
|
+
"prepublishOnly": "node packages/embed/scripts/check-package.mjs",
|
|
48
|
+
"build:pages": "pnpm run typecheck && pnpm --filter @joy-ride/site build:pages && pnpm --filter @joy-ride/embed build && node scripts/copy-embed.mjs && node scripts/check-bundle-size.mjs",
|
|
49
|
+
"build:extension": "pnpm --filter @joy-ride/extension build",
|
|
50
|
+
"build:desktop": "pnpm --filter @joy-ride/desktop build",
|
|
51
|
+
"preview": "pnpm --filter @joy-ride/site preview",
|
|
52
|
+
"typecheck": "tsc --noEmit",
|
|
53
|
+
"lint": "eslint packages experiments apps scripts tests vitest.config.ts vitest.build.config.ts",
|
|
54
|
+
"knip": "node scripts/check-knip.mjs",
|
|
55
|
+
"knip:raw": "knip --reporter compact",
|
|
56
|
+
"knip:update": "node scripts/check-knip.mjs --update",
|
|
57
|
+
"format": "prettier --write packages experiments apps scripts tests package.json tsconfig.json README.md pnpm-workspace.yaml eslint.config.mjs vitest.config.ts vitest.build.config.ts",
|
|
58
|
+
"check": "pnpm run typecheck && pnpm run lint && pnpm run knip && vitest run && pnpm run check:performance",
|
|
59
|
+
"check:ci": "pnpm run typecheck && pnpm run lint && pnpm run knip && vitest run && pnpm run check:performance:cpu",
|
|
60
|
+
"check:slow-mo": "vitest run tests/slow-mo.test.mjs",
|
|
61
|
+
"check:game-core": "vitest run tests/game-core.test.mjs tests/work-mode.test.mjs",
|
|
62
|
+
"check:work-mode": "vitest run tests/work-mode.test.mjs",
|
|
63
|
+
"check:state": "vitest run tests/state.test.mjs",
|
|
64
|
+
"check:machine-gun": "vitest run tests/machine-gun.test.mjs",
|
|
65
|
+
"check:flamethrower": "vitest run tests/flamethrower-audio.test.mjs tests/flamethrower.test.mjs",
|
|
66
|
+
"check:boost-audio": "vitest run tests/boost-audio.test.mjs",
|
|
67
|
+
"check:rocket-audio": "vitest run tests/rocket-audio.test.mjs",
|
|
68
|
+
"check:sample-audio": "vitest run tests/sample-audio.test.mjs",
|
|
69
|
+
"check:spectral-audio": "vitest run tests/spectral-resynthesis.test.mjs && node --import tsx scripts/evaluate-spectral-models.mjs",
|
|
70
|
+
"check:collision-classes": "vitest run tests/collision-classes.test.mjs",
|
|
71
|
+
"check:combustible": "vitest run tests/combustible.test.mjs",
|
|
72
|
+
"check:screen-shake": "vitest run tests/screen-shake.test.mjs",
|
|
73
|
+
"check:roof-rocket": "vitest run tests/roof-rocket.test.mjs",
|
|
74
|
+
"check:recording": "vitest run tests/recording.test.mjs",
|
|
75
|
+
"check:drift": "vitest run tests/drift.test.mjs",
|
|
76
|
+
"check:vehicle-popover": "vitest run tests/vehicle-popover.test.mjs tests/vehicle-preview.test.mjs",
|
|
77
|
+
"check:vehicle-showcase": "vitest run tests/vehicle-showcase.test.mjs tests/stop-zone.test.mjs",
|
|
78
|
+
"check:reset": "vitest run tests/reset.test.mjs",
|
|
79
|
+
"check:surfaces-camera": "vitest run tests/surface-camera.test.mjs",
|
|
80
|
+
"check:follow": "vitest run tests/follow.test.mjs",
|
|
81
|
+
"check:tour": "vitest run tests/tour.test.mjs",
|
|
82
|
+
"check:bookmarklet": "vitest run tests/bookmarklet.test.mjs",
|
|
83
|
+
"check:dom": "vitest run tests/crush-paint.test.mjs tests/dom-collision.test.mjs tests/svg-viewport.test.mjs",
|
|
84
|
+
"check:page-layers": "vitest run tests/page-layers.test.mjs",
|
|
85
|
+
"check:attractor": "vitest run tests/attractor.test.mjs",
|
|
86
|
+
"check:sparks": "vitest run tests/electric-sparks.test.mjs tests/sparks.test.mjs",
|
|
87
|
+
"check:electricity": "vitest run tests/electricity.test.ts",
|
|
88
|
+
"check:lightning": "vitest run tests/electrical-effects.test.ts tests/lightning.test.mjs",
|
|
89
|
+
"check:damage": "vitest run tests/damage.test.mjs",
|
|
90
|
+
"check:liquid": "vitest run tests/auto-paint.test.mjs tests/dom-paint.test.mjs tests/dom-liquid.test.mjs tests/liquid-shape-field.test.mjs tests/liquid-footprint.test.mjs tests/liquid.test.mjs tests/liquid-definition.test.mjs tests/liquid-fire.test.mjs tests/liquid-exit.test.mjs tests/liquid-pour.test.mjs",
|
|
91
|
+
"check:handling": "vitest run tests/handling.test.mjs",
|
|
92
|
+
"check:horn": "vitest run tests/horn.test.mjs",
|
|
93
|
+
"check:tire-audio": "vitest run tests/tire-audio.test.mjs",
|
|
94
|
+
"check:crash-audio": "vitest run tests/crash-audio.test.mjs",
|
|
95
|
+
"check:engine-lifecycle": "vitest run tests/engine-lifecycle.test.mjs",
|
|
96
|
+
"check:smoke": "vitest run tests/browser-toy-performance.test.mjs tests/smoke.test.mjs tests/vehicle-lighting.test.mjs",
|
|
97
|
+
"check:skid": "vitest run tests/skid-style.test.mjs",
|
|
98
|
+
"check:proximity": "vitest run tests/proximity.test.mjs",
|
|
99
|
+
"check:electric": "vitest run tests/electric-audio.test.mjs",
|
|
100
|
+
"check:launch": "vitest run tests/boost-visual.test.mjs tests/launch.test.mjs",
|
|
101
|
+
"check:ai": "vitest run tests/ai-follow.test.mjs tests/vehicle-interactions.test.mjs",
|
|
102
|
+
"check:logo": "vitest run tests/logo-destruction.test.mjs tests/svg-viewport.test.mjs",
|
|
103
|
+
"check:game-hud": "vitest run tests/game-hud.test.mjs tests/hud-background.test.mjs",
|
|
104
|
+
"check:hud": "vitest run packages/hud/scripts/check.test.ts",
|
|
105
|
+
"check:splatter": "vitest run packages/splatter/scripts/react.test.tsx packages/splatter/scripts/animation.test.ts packages/splatter/scripts/check.test.ts packages/splatter/scripts/hud.test.ts packages/splatter/scripts/media.test.ts",
|
|
106
|
+
"render:hud": "pnpm --filter @joy-ride/hud render",
|
|
107
|
+
"check:canvas-world": "vitest run tests/canvas-world.test.mjs",
|
|
108
|
+
"check:tutorial": "vitest run tests/tutorial.test.mjs",
|
|
109
|
+
"check:code-block": "vitest run tests/code-block.test.mjs",
|
|
110
|
+
"check:playground": "vitest run tests/auto-paint-scope.test.mjs tests/browser-runtime.test.mjs tests/dom-authoring.test.mjs tests/object-inspector.test.mjs tests/page-playground.test.mjs tests/playground-configuration.test.mjs tests/playground-hud.test.ts tests/playground-registry.test.mjs tests/playground-schema.test.ts tests/playground-zones.test.ts tests/runtime-options.test.mjs tests/stop-zone.test.mjs tests/surface-tone.test.mjs tests/vehicle-configuration.test.mjs",
|
|
111
|
+
"check:slots": "vitest run tests/vehicle-slots.test.mjs",
|
|
112
|
+
"bench:playground": "node scripts/playground-benchmark.mjs",
|
|
113
|
+
"bench:article": "node scripts/browser-performance-benchmark.mjs --article",
|
|
114
|
+
"bench:gpu": "node scripts/browser-performance-benchmark.mjs --gpu",
|
|
115
|
+
"check:performance": "pnpm run check:performance:cpu && node scripts/browser-performance-benchmark.mjs",
|
|
116
|
+
"check:performance:cpu": "node scripts/playground-benchmark.mjs --check && node scripts/dom-contacts-benchmark.mjs && vitest run tests/material-propagation.test.ts tests/liquid-shape-field.test.mjs && vitest run tests/liquid-donut-benchmark.test.mjs tests/liquid-fire-benchmark.test.mjs --silent=false",
|
|
117
|
+
"check:documentation": "vitest run tests/documentation.test.mjs",
|
|
118
|
+
"check:architecture": "vitest run tests/architecture.test.mjs tests/game-public-api.test.mjs",
|
|
119
|
+
"check:rendering-ownership": "vitest run tests/rendering-ownership.test.mjs",
|
|
120
|
+
"check:browser": "vitest run tests/browser-pointer.test.mjs tests/browser-session.test.mjs tests/browser-session-options.test.mjs tests/public-api-types.test.mjs",
|
|
121
|
+
"check:debris": "vitest run tests/debris.test.mjs tests/page-debris.test.mjs",
|
|
122
|
+
"test": "vitest",
|
|
123
|
+
"test:run": "vitest run"
|
|
124
|
+
},
|
|
125
|
+
"devDependencies": {
|
|
126
|
+
"@eslint/js": "^10.0.1",
|
|
127
|
+
"@napi-rs/canvas": "^0.1.100",
|
|
128
|
+
"@types/node": "^26.6.6",
|
|
129
|
+
"@types/react": "19.3.0",
|
|
130
|
+
"@types/react-dom": "19.3.0",
|
|
131
|
+
"eslint": "^10.13.0",
|
|
132
|
+
"eslint-config-prettier": "^10.1.8",
|
|
133
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
134
|
+
"eslint-plugin-react-refresh": "^0.5.7",
|
|
135
|
+
"globals": "^17.13.0",
|
|
136
|
+
"knip": "^6.44.2",
|
|
137
|
+
"prettier": "^3.9.10",
|
|
138
|
+
"react": "19.3.1",
|
|
139
|
+
"react-dom": "19.3.1",
|
|
140
|
+
"remark-gfm": "^4.0.1",
|
|
141
|
+
"remark-parse": "^11.0.0",
|
|
142
|
+
"tailwindcss": "^4.3.3",
|
|
143
|
+
"tsx": "^4.23.15",
|
|
144
|
+
"typescript": "^6.0.3",
|
|
145
|
+
"typescript-eslint": "^8.72.1",
|
|
146
|
+
"unified": "^11.0.5",
|
|
147
|
+
"vite": "8.3.5",
|
|
148
|
+
"vitest": "^5.1.0"
|
|
149
|
+
},
|
|
150
|
+
"packageManager": "pnpm@12.15.0"
|
|
151
|
+
}
|