package.json 1.5 KB
Newer Older
B
Ben Ripkens 已提交
1
{
2
  "name": "three",
3
  "version": "0.82.1",
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
  "module": "build/three.modules.js",
9 10 11 12 13 14
  "files": [
    "package.json",
    "LICENSE",
    "README.md",
    "build/three.js",
    "build/three.min.js",
15
    "build/three.modules.js",
16 17 18 19 20
    "src",
    "examples/js",
    "examples/fonts",
    "bower.json"
  ],
B
Ben Ripkens 已提交
21 22 23 24 25
  "directories": {
    "doc": "docs",
    "example": "examples",
    "test": "test"
  },
26 27 28
  "eslintConfig": {
    "extends": "mdcs"
  },
B
Ben Ripkens 已提交
29
  "scripts": {
R
Rich Harris 已提交
30
    "build": "rollup -c",
31
    "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
M
Mr.doob 已提交
32
    "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 已提交
33
    "dev": "rollup -c -w",
J
Joshua Koo 已提交
34
    "lint": "eslint src",
B
Ben Ripkens 已提交
35 36 37 38 39 40 41 42 43 44 45 46 47
    "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 已提交
48 49
  "homepage": "http://threejs.org/",
  "devDependencies": {
J
Joshua Koo 已提交
50
    "eslint": "^3.10.1",
51
    "eslint-config-mdcs": "^4.2.2",
52
    "rollup": "^0.36.3",
53
    "rollup-watch": "^2.5.0",
54
    "uglify-js": "^2.6.0"
A
Abel Allison 已提交
55
  }
B
Ben Ripkens 已提交
56
}