@zylem/behaviors 0.2.0 → 0.3.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/package.json CHANGED
@@ -1,161 +1,161 @@
1
1
  {
2
- "name": "@zylem/behaviors",
3
- "version": "0.2.0",
4
- "type": "module",
5
- "description": "Tree-shakable Zylem behavior descriptors, systems, coordinators, and runtime-agnostic behavior helpers.",
6
- "license": "MIT",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+ssh://git@github.com/zylem-game-lib/behaviors.git"
10
- },
11
- "engines": {
12
- "node": ">=22.12.0",
13
- "pnpm": ">=10.32.1"
14
- },
15
- "sideEffects": false,
16
- "files": [
17
- "dist"
18
- ],
19
- "exports": {
20
- ".": {
21
- "types": "./dist/index.d.ts",
22
- "import": "./dist/index.js"
23
- },
24
- "./core": {
25
- "types": "./dist/core.d.ts",
26
- "import": "./dist/core.js"
27
- },
28
- "./destructible-prebake": {
29
- "types": "./dist/destructible-prebake.d.ts",
30
- "import": "./dist/destructible-prebake.js"
31
- },
32
- "./cooldown": {
33
- "types": "./dist/cooldown.d.ts",
34
- "import": "./dist/cooldown.js"
35
- },
36
- "./destructible-3d": {
37
- "types": "./dist/destructible-3d.d.ts",
38
- "import": "./dist/destructible-3d.js"
39
- },
40
- "./first-person": {
41
- "types": "./dist/first-person.d.ts",
42
- "import": "./dist/first-person.js"
43
- },
44
- "./jumper-2d": {
45
- "types": "./dist/jumper-2d.d.ts",
46
- "import": "./dist/jumper-2d.js"
47
- },
48
- "./jumper-3d": {
49
- "types": "./dist/jumper-3d.d.ts",
50
- "import": "./dist/jumper-3d.js"
51
- },
52
- "./particle-emitter": {
53
- "types": "./dist/particle-emitter.d.ts",
54
- "import": "./dist/particle-emitter.js"
55
- },
56
- "./particle-emitter/presets": {
57
- "types": "./dist/particle-emitter/presets.d.ts",
58
- "import": "./dist/particle-emitter/presets.js"
59
- },
60
- "./platformer-3d": {
61
- "types": "./dist/platformer-3d.d.ts",
62
- "import": "./dist/platformer-3d.js"
63
- },
64
- "./ricochet-2d": {
65
- "types": "./dist/ricochet-2d.d.ts",
66
- "import": "./dist/ricochet-2d.js"
67
- },
68
- "./ricochet-3d": {
69
- "types": "./dist/ricochet-3d.d.ts",
70
- "import": "./dist/ricochet-3d.js"
71
- },
72
- "./runtime-2d": {
73
- "types": "./dist/runtime-2d.d.ts",
74
- "import": "./dist/runtime-2d.js"
75
- },
76
- "./runtime-pong": {
77
- "types": "./dist/runtime-pong.d.ts",
78
- "import": "./dist/runtime-pong.js"
79
- },
80
- "./screen-visibility": {
81
- "types": "./dist/screen-visibility.d.ts",
82
- "import": "./dist/screen-visibility.js"
83
- },
84
- "./screen-wrap": {
85
- "types": "./dist/screen-wrap.d.ts",
86
- "import": "./dist/screen-wrap.js"
87
- },
88
- "./shooter-2d": {
89
- "types": "./dist/shooter-2d.d.ts",
90
- "import": "./dist/shooter-2d.js"
91
- },
92
- "./thruster": {
93
- "types": "./dist/thruster.d.ts",
94
- "import": "./dist/thruster.js"
95
- },
96
- "./top-down-movement": {
97
- "types": "./dist/top-down-movement.d.ts",
98
- "import": "./dist/top-down-movement.js"
99
- },
100
- "./world-boundary-2d": {
101
- "types": "./dist/world-boundary-2d.d.ts",
102
- "import": "./dist/world-boundary-2d.js"
103
- },
104
- "./world-boundary-3d": {
105
- "types": "./dist/world-boundary-3d.d.ts",
106
- "import": "./dist/world-boundary-3d.js"
107
- },
108
- "./coordinators/boundary-ricochet": {
109
- "types": "./dist/coordinators/boundary-ricochet.d.ts",
110
- "import": "./dist/coordinators/boundary-ricochet.js"
111
- },
112
- "./coordinators/boundary-ricochet-3d": {
113
- "types": "./dist/coordinators/boundary-ricochet-3d.d.ts",
114
- "import": "./dist/coordinators/boundary-ricochet-3d.js"
115
- },
116
- "./coordinators/first-person-shooter": {
117
- "types": "./dist/coordinators/first-person-shooter.d.ts",
118
- "import": "./dist/coordinators/first-person-shooter.js"
119
- },
120
- "./coordinators/multidirectional-space-shooter": {
121
- "types": "./dist/coordinators/multidirectional-space-shooter.d.ts",
122
- "import": "./dist/coordinators/multidirectional-space-shooter.js"
123
- },
124
- "./coordinators/top-down-shooter": {
125
- "types": "./dist/coordinators/top-down-shooter.d.ts",
126
- "import": "./dist/coordinators/top-down-shooter.js"
127
- },
128
- "./package.json": "./package.json"
129
- },
130
- "scripts": {
131
- "build": "tsup",
132
- "dev": "tsup --watch",
133
- "typecheck": "tsc --noEmit",
134
- "test": "vitest --reporter=verbose"
135
- },
136
- "dependencies": {
137
- "@dgreenheck/three-pinata": "^2.0.1",
138
- "comlink": "^4.4.2",
139
- "three.quarks": "^0.17.0",
140
- "typescript-fsm": "^1.6.0",
141
- "valtio": "^2.1.7"
142
- },
143
- "peerDependencies": {
144
- "@dimforge/rapier3d-compat": "^0.11.2",
145
- "three": "^0.180.0"
146
- },
147
- "devDependencies": {
148
- "@dimforge/rapier3d-compat": "^0.11.2",
149
- "@types/node": "^20.19.13",
150
- "@types/three": "0.171.0",
151
- "happy-dom": "^18.0.1",
152
- "tsup": "^8.5.1",
153
- "typescript": "5.8.2",
154
- "vitest": "^4.0.9"
155
- },
156
- "packageManager": "pnpm@10.33.0",
157
- "publishConfig": {
158
- "access": "restricted",
159
- "registry": "https://registry.npmjs.org/"
160
- }
2
+ "name": "@zylem/behaviors",
3
+ "version": "0.3.1",
4
+ "type": "module",
5
+ "description": "Tree-shakable Zylem behavior descriptors, systems, coordinators, and runtime-agnostic behavior helpers.",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+ssh://git@github.com/zylem-game-lib/behaviors.git"
10
+ },
11
+ "engines": {
12
+ "node": ">=22.12.0",
13
+ "pnpm": ">=10.32.1"
14
+ },
15
+ "sideEffects": false,
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/index.js"
23
+ },
24
+ "./core": {
25
+ "types": "./dist/core.d.ts",
26
+ "import": "./dist/core.js"
27
+ },
28
+ "./destructible-prebake": {
29
+ "types": "./dist/destructible-prebake.d.ts",
30
+ "import": "./dist/destructible-prebake.js"
31
+ },
32
+ "./cooldown": {
33
+ "types": "./dist/cooldown.d.ts",
34
+ "import": "./dist/cooldown.js"
35
+ },
36
+ "./destructible-3d": {
37
+ "types": "./dist/destructible-3d.d.ts",
38
+ "import": "./dist/destructible-3d.js"
39
+ },
40
+ "./first-person": {
41
+ "types": "./dist/first-person.d.ts",
42
+ "import": "./dist/first-person.js"
43
+ },
44
+ "./jumper-2d": {
45
+ "types": "./dist/jumper-2d.d.ts",
46
+ "import": "./dist/jumper-2d.js"
47
+ },
48
+ "./jumper-3d": {
49
+ "types": "./dist/jumper-3d.d.ts",
50
+ "import": "./dist/jumper-3d.js"
51
+ },
52
+ "./particle-emitter": {
53
+ "types": "./dist/particle-emitter.d.ts",
54
+ "import": "./dist/particle-emitter.js"
55
+ },
56
+ "./particle-emitter/presets": {
57
+ "types": "./dist/particle-emitter/presets.d.ts",
58
+ "import": "./dist/particle-emitter/presets.js"
59
+ },
60
+ "./platformer-3d": {
61
+ "types": "./dist/platformer-3d.d.ts",
62
+ "import": "./dist/platformer-3d.js"
63
+ },
64
+ "./ricochet-2d": {
65
+ "types": "./dist/ricochet-2d.d.ts",
66
+ "import": "./dist/ricochet-2d.js"
67
+ },
68
+ "./ricochet-3d": {
69
+ "types": "./dist/ricochet-3d.d.ts",
70
+ "import": "./dist/ricochet-3d.js"
71
+ },
72
+ "./runtime-2d": {
73
+ "types": "./dist/runtime-2d.d.ts",
74
+ "import": "./dist/runtime-2d.js"
75
+ },
76
+ "./runtime-pong": {
77
+ "types": "./dist/runtime-pong.d.ts",
78
+ "import": "./dist/runtime-pong.js"
79
+ },
80
+ "./screen-visibility": {
81
+ "types": "./dist/screen-visibility.d.ts",
82
+ "import": "./dist/screen-visibility.js"
83
+ },
84
+ "./screen-wrap": {
85
+ "types": "./dist/screen-wrap.d.ts",
86
+ "import": "./dist/screen-wrap.js"
87
+ },
88
+ "./shooter-2d": {
89
+ "types": "./dist/shooter-2d.d.ts",
90
+ "import": "./dist/shooter-2d.js"
91
+ },
92
+ "./thruster": {
93
+ "types": "./dist/thruster.d.ts",
94
+ "import": "./dist/thruster.js"
95
+ },
96
+ "./top-down-movement": {
97
+ "types": "./dist/top-down-movement.d.ts",
98
+ "import": "./dist/top-down-movement.js"
99
+ },
100
+ "./world-boundary-2d": {
101
+ "types": "./dist/world-boundary-2d.d.ts",
102
+ "import": "./dist/world-boundary-2d.js"
103
+ },
104
+ "./world-boundary-3d": {
105
+ "types": "./dist/world-boundary-3d.d.ts",
106
+ "import": "./dist/world-boundary-3d.js"
107
+ },
108
+ "./coordinators/boundary-ricochet": {
109
+ "types": "./dist/coordinators/boundary-ricochet.d.ts",
110
+ "import": "./dist/coordinators/boundary-ricochet.js"
111
+ },
112
+ "./coordinators/boundary-ricochet-3d": {
113
+ "types": "./dist/coordinators/boundary-ricochet-3d.d.ts",
114
+ "import": "./dist/coordinators/boundary-ricochet-3d.js"
115
+ },
116
+ "./coordinators/first-person-shooter": {
117
+ "types": "./dist/coordinators/first-person-shooter.d.ts",
118
+ "import": "./dist/coordinators/first-person-shooter.js"
119
+ },
120
+ "./coordinators/multidirectional-space-shooter": {
121
+ "types": "./dist/coordinators/multidirectional-space-shooter.d.ts",
122
+ "import": "./dist/coordinators/multidirectional-space-shooter.js"
123
+ },
124
+ "./coordinators/top-down-shooter": {
125
+ "types": "./dist/coordinators/top-down-shooter.d.ts",
126
+ "import": "./dist/coordinators/top-down-shooter.js"
127
+ },
128
+ "./package.json": "./package.json"
129
+ },
130
+ "scripts": {
131
+ "build": "tsup",
132
+ "dev": "tsup --watch",
133
+ "typecheck": "tsc --noEmit",
134
+ "test": "vitest --reporter=verbose",
135
+ "prepublishOnly": "pnpm run build && vitest run"
136
+ },
137
+ "dependencies": {
138
+ "@dgreenheck/three-pinata": "^2.0.1",
139
+ "comlink": "^4.4.2",
140
+ "typescript-fsm": "^1.6.0",
141
+ "valtio": "^2.1.7"
142
+ },
143
+ "peerDependencies": {
144
+ "@dimforge/rapier3d-compat": "^0.11.2",
145
+ "three": "^0.180.0"
146
+ },
147
+ "devDependencies": {
148
+ "@dimforge/rapier3d-compat": "^0.11.2",
149
+ "@types/node": "^20.19.13",
150
+ "@types/three": "0.171.0",
151
+ "happy-dom": "^18.0.1",
152
+ "tsup": "^8.5.1",
153
+ "typescript": "5.8.2",
154
+ "vitest": "^4.0.9"
155
+ },
156
+ "packageManager": "pnpm@10.33.0",
157
+ "publishConfig": {
158
+ "access": "public",
159
+ "registry": "https://registry.npmjs.org/"
160
+ }
161
161
  }