diff --git a/README.md b/README.md index 1166e46..0eeb17c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ [![twitter](https://flat.badgen.net/badge/twitter/@garrettkjohnson/?icon&label)](https://twitter.com/garrettkjohnson) [![sponsors](https://img.shields.io/github/sponsors/gkjohnson?style=flat-square&color=1da1f2)](https://github.com/sponsors/gkjohnson/) - Edge projection system based on [three-mesh-bvh](https://github.com/gkjohnson/three-mesh-bvh/) to extract visible projected lines along the y-axis. # Examples @@ -109,10 +108,9 @@ async generateAsync( Generate the geometry with a promise-style API. - + diff --git a/package-lock.json b/package-lock.json index 3e93e2e..24303cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,9 +8,6 @@ "name": "three-edge-projection", "version": "0.0.1", "license": "MIT", - "dependencies": { - "clipper2-js": "^0.9.0" - }, "devDependencies": { "@babel/core": "^7.15.5", "@babel/preset-env": "^7.15.4", @@ -26,6 +23,7 @@ "three-mesh-bvh": "^0.6.6" }, "peerDependencies": { + "clipper2-js": "^0.9.0", "three": "^0.155.0", "three-mesh-bvh": "^0.6.0" } @@ -5078,6 +5076,7 @@ "version": "0.9.0", "resolved": "https://registry.npmjs.org/clipper2-js/-/clipper2-js-0.9.0.tgz", "integrity": "sha512-y23tJcfk59DnitJQBIJR8ZeK6nNtO1Qge1GyBXqML6K8AIsG6y11uyEnWrjvSCry+VyTm1KdntVCcMollSdasg==", + "peer": true, "dependencies": { "tslib": "^2.3.0" }, diff --git a/package.json b/package.json index 513c691..01ca06a 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,8 @@ "homepage": "https://github.com/gkjohnson/three-edge-projection#readme", "peerDependencies": { "three": "^0.155.0", - "three-mesh-bvh": "^0.6.0" + "three-mesh-bvh": "^0.6.0", + "clipper2-js": "^0.9.0" }, "devDependencies": { "@babel/core": "^7.15.5", @@ -53,8 +54,5 @@ "parcel": "^2.9.3", "three": "^0.155.0", "three-mesh-bvh": "^0.6.6" - }, - "dependencies": { - "clipper2-js": "^0.9.0" } }