physics-animator 0.9.1 → 0.10.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.
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./SpringAnimator.js"), exports);
18
+ __exportStar(require("./TweenAnimator.js"), exports);
package/dist/cjs/index.js CHANGED
@@ -17,3 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./AnimationSequencer.js"), exports);
18
18
  __exportStar(require("./Animator.js"), exports);
19
19
  __exportStar(require("./IFieldAnimator.js"), exports);
20
+ __exportStar(require("./animators/index.js"), exports);
21
+ __exportStar(require("./react/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './SpringAnimator.js';
2
+ export * from './TweenAnimator.js';
package/dist/esm/index.js CHANGED
@@ -1,3 +1,5 @@
1
1
  export * from './AnimationSequencer.js';
2
2
  export * from './Animator.js';
3
3
  export * from './IFieldAnimator.js';
4
+ export * from './animators/index.js';
5
+ export * from './react/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './SpringAnimator.js';
2
+ export * from './TweenAnimator.js';
@@ -1,3 +1,5 @@
1
1
  export * from './AnimationSequencer.js';
2
2
  export * from './Animator.js';
3
3
  export * from './IFieldAnimator.js';
4
+ export * from './animators/index.js';
5
+ export * from './react/index.js';
package/package.json CHANGED
@@ -1,14 +1,25 @@
1
1
  {
2
2
  "name": "physics-animator",
3
- "version": "0.9.1",
3
+ "version": "0.10.0",
4
4
  "author": "haxiomic (George Corney)",
5
5
  "license": "MIT",
6
6
  "description": "A TypeScript animation system grounded in physics with three.js and react support.",
7
+ "keywords": [
8
+ "physics",
9
+ "animation",
10
+ "three.js",
11
+ "react",
12
+ "typescript",
13
+ "spring",
14
+ "tween"
15
+ ],
7
16
  "type": "module",
8
17
  "main": "dist/cjs/index.js",
9
18
  "module": "dist/esm/index.js",
10
19
  "types": "dist/types/index.d.ts",
11
- "files": ["dist"],
20
+ "files": [
21
+ "dist"
22
+ ],
12
23
  "exports": {
13
24
  ".": {
14
25
  "types": "./dist/types/index.d.ts",
@@ -21,15 +32,6 @@
21
32
  "require": "./dist/cjs/*/index.js"
22
33
  }
23
34
  },
24
- "scripts": {
25
- "typecheck": "tsc --noEmit",
26
- "prepack": "npm run clean && npm run build",
27
- "build": "npm run clean && npm run build-esm && npm run build-cjs",
28
- "build-esm": "tsc --project tsconfig.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
29
- "build-cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
30
- "clean": "rm -rf dist",
31
- "dev": "tsc --watch"
32
- },
33
35
  "devDependencies": {
34
36
  "@types/react": "^19.0.12",
35
37
  "typescript": "^5.0.0"
@@ -45,5 +47,13 @@
45
47
  "react": {
46
48
  "optional": true
47
49
  }
50
+ },
51
+ "scripts": {
52
+ "typecheck": "tsc --noEmit",
53
+ "build": "npm run clean && npm run build-esm && npm run build-cjs",
54
+ "build-esm": "tsc --project tsconfig.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
55
+ "build-cjs": "tsc --project tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
56
+ "clean": "rm -rf dist",
57
+ "dev": "tsc --watch"
48
58
  }
49
- }
59
+ }