package.json 1.4 KB
Newer Older
B
Ben Ripkens 已提交
1
{
2
  "name": "three",
M
Mr.doob 已提交
3
  "version": "0.81.1",
B
Ben Ripkens 已提交
4 5
  "description": "JavaScript 3D library",
  "main": "build/three.js",
6 7 8 9 10 11 12 13 14 15 16
  "files": [
    "package.json",
    "LICENSE",
    "README.md",
    "build/three.js",
    "build/three.min.js",
    "src",
    "examples/js",
    "examples/fonts",
    "bower.json"
  ],
B
Ben Ripkens 已提交
17 18 19 20 21 22
  "directories": {
    "doc": "docs",
    "example": "examples",
    "test": "test"
  },
  "scripts": {
R
Rich Harris 已提交
23
    "build": "rollup -c",
24
    "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
M
Mr.doob 已提交
25
    "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 已提交
26
    "dev": "rollup -c -w",
B
Ben Ripkens 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
    "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"
  },
G
gero3 已提交
44 45
  "homepage": "http://threejs.org/",
  "devDependencies": {
46
    "argparse": "^1.0.3",
D
dubejf 已提交
47
    "jscs": "^1.13.1",
48
    "rollup": "^0.34.8",
49
    "rollup-watch": "^2.5.0",
50
    "uglify-js": "^2.6.0"
A
Abel Allison 已提交
51
  }
B
Ben Ripkens 已提交
52
}