Browse Source

Add NPM support

Ben Ripkens 10 years ago
parent
commit
99d4757bd4
2 changed files with 36 additions and 0 deletions
  1. 6 0
      .npmignore
  2. 30 0
      package.json

+ 6 - 0
.npmignore

@@ -0,0 +1,6 @@
+examples/
+src/
+test/
+utils/
+docs/
+editor/

+ 30 - 0
package.json

@@ -0,0 +1,30 @@
+{
+  "name": "three.js",
+  "version": "0.71.0",
+  "description": "JavaScript 3D library",
+  "main": "build/three.js",
+  "directories": {
+    "doc": "docs",
+    "example": "examples",
+    "test": "test"
+  },
+  "scripts": {
+    "test": "echo \"Error: no test specified\" && exit 1"
+  },
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/mrdoob/three.js"
+  },
+  "keywords": [
+    "three",
+    "three.js",
+    "3d",
+    "webgl"
+  ],
+  "author": "mrdoob",
+  "license": "MIT",
+  "bugs": {
+    "url": "https://github.com/mrdoob/three.js/issues"
+  },
+  "homepage": "http://threejs.org/"
+}