diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..2b29f27 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +tests diff --git a/csg.js b/csg.js index 17b7a2f..ccdfd02 100644 --- a/csg.js +++ b/csg.js @@ -593,3 +593,5 @@ CSG.Node.prototype = { } } }; + +module.exports = CSG; \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..89b371b --- /dev/null +++ b/package.json @@ -0,0 +1,25 @@ +{ + "name": "csg", + "version": "1.0.1", + "description": "Constructive solid geometry on meshes using BSP trees in JavaScript", + "main": "csg.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "evanw", + "license": "MIT", + "repository": { + "type": "git", + "url": "git://github.com/thibauts/csg.js.git" + }, + "dependencies": { + }, + "keywords": [ + "csg", + "solid", + "meshes", + "union", + "intersect", + "subtract" + ] +}