From d3fc887328869ac365752c7d8301ee075febdeea Mon Sep 17 00:00:00 2001 From: Mikael Date: Sat, 25 Feb 2023 22:22:51 +0000 Subject: [PATCH] enable using as a node module --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e4583b0..a102b16 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "react-babylon-spring", "version": "1.0.2", "description": "Build spring-physics based 3D animation with the power of react-babylonjs and react-spring.", - "main": "index.js", + "main": "dist/react-babylon-spring.js", "scripts": { "build": "rollup -c", "storybook": "start-storybook -p 6006 -s ./storyboard-site", @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/hookex/react-babylon-spring#readme", "module": "dist/react-babylon-spring.js", - "typings": "dist/react-babylon-spring.d.ts", + "typings": "dist/index.d.ts", "dependencies": { "@react-spring/animated": "9.0.0-rc.3", "@react-spring/core": "9.0.0-rc.3",