package.json 1.4 KB
Newer Older
B
Ben Ripkens 已提交
1
{
2
  "name": "three",
M
r82  
Mr.doob 已提交
3
  "version": "0.82.0",
B
Ben Ripkens 已提交
4 5
  "description": "JavaScript 3D library",
  "main": "build/three.js",
V
Vincent Klaiber 已提交
6
  "repository": "mrdoob/three.js",
7
  "jsnext:main": "build/three.modules.js",
8 9 10 11 12 13
  "files": [
    "package.json",
    "LICENSE",
    "README.md",
    "build/three.js",
    "build/three.min.js",
14
    "build/three.modules.js",
15 16 17 18 19
    "src",
    "examples/js",
    "examples/fonts",
    "bower.json"
  ],
B
Ben Ripkens 已提交
20 21 22 23 24 25
  "directories": {
    "doc": "docs",
    "example": "examples",
    "test": "test"
  },
  "scripts": {
R
Rich Harris 已提交
26
    "build": "rollup -c",
27
    "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
M
Mr.doob 已提交
28
    "build-closure": "rollup -c && java -jar utils/build/compiler/closure-compiler-v20160713.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js",
R
Rich Harris 已提交
29
    "dev": "rollup -c -w",
B
Ben Ripkens 已提交
30 31 32 33 34 35 36 37 38 39 40 41 42
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [
    "three",
    "three.js",
    "3d",
    "webgl"
  ],
  "author": "mrdoob",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/mrdoob/three.js/issues"
  },
G
gero3 已提交
43 44
  "homepage": "http://threejs.org/",
  "devDependencies": {
45
    "argparse": "^1.0.3",
D
dubejf 已提交
46
    "jscs": "^1.13.1",
47
    "rollup": "^0.36.3",
48
    "rollup-watch": "^2.5.0",
49
    "uglify-js": "^2.6.0"
A
Abel Allison 已提交
50
  }
B
Ben Ripkens 已提交
51
}