Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set three and cannon-es as peerDependencies #1

Merged
merged 2 commits into from
Jul 28, 2020
Merged

Set three and cannon-es as peerDependencies #1

merged 2 commits into from
Jul 28, 2020

Conversation

marcofugaro
Copy link
Member

Let's set cannon-es and three as peerDependencies since they're actually required by this library.

This way we don't have to update the cannon-es version each time, since the user will handle the cannon-es version.

They're also set as devDependencies since they're needed to build the library.

Typescript is set as an optional peerDependency since the user may decide to not use it.

Also I've replaced module with main in the package.json since dist/index.js is not actually an es-module, rather a commonjs one.

@codynova
Copy link
Member

Looks great as always 😌

@codynova codynova merged commit 787eec1 into master Jul 28, 2020
@codynova codynova deleted the peerdeps branch September 23, 2020 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants