package.json 1.9 KB
Newer Older
B
Ben Ripkens 已提交
1
{
2
  "name": "three",
M
Mr.doob 已提交
3
  "version": "0.87.1",
B
Ben Ripkens 已提交
4 5
  "description": "JavaScript 3D library",
  "main": "build/three.js",
V
Vincent Klaiber 已提交
6
  "repository": "mrdoob/three.js",
7 8
  "jsnext:main": "build/three.module.js",
  "module": "build/three.module.js",
9 10
  "files": [
    "package.json",
M
Mr.doob 已提交
11
    "bower.json",
12 13 14 15
    "LICENSE",
    "README.md",
    "build/three.js",
    "build/three.min.js",
16
    "build/three.module.js",
17 18
    "src",
    "examples/js",
Y
Yasushi ANDO 已提交
19
    "examples/fonts"
20
  ],
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-test": "rollup -c test/rollup.unit.config.js",
32
    "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
33
    "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler/compiler.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",
34
    "dev": "rollup -c -w -m inline",
35
    "start": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"npm run dev\" \"http-server\"",
J
Joshua Koo 已提交
36
    "lint": "eslint src",
G
gero3 已提交
37
    "test": "rollup -c test/rollup.unit.config.js -w",
38
    "editor": "electron ./editor/main.js"
B
Ben Ripkens 已提交
39 40 41 42 43 44 45 46 47 48 49 50
  },
  "keywords": [
    "three",
    "three.js",
    "3d",
    "webgl"
  ],
  "author": "mrdoob",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/mrdoob/three.js/issues"
  },
G
gero3 已提交
51 52
  "homepage": "http://threejs.org/",
  "devDependencies": {
53 54
    "concurrently": "^3.5.0",
    "electron": "1.7.8",
M
Mugen87 已提交
55
    "eslint": "^4.1.1",
56
    "eslint-config-mdcs": "^4.2.2",
M
Mugen87 已提交
57
    "google-closure-compiler": "^20170521.0.0",
58
    "http-server": "^0.10.0",
59
    "qunitjs": "^2.1.1",
M
Mugen87 已提交
60 61
    "rollup": "^0.43.0",
    "rollup-watch": "^4.0.0",
62
    "uglify-js": "^3.0.23"
A
Abel Allison 已提交
63
  }
B
Ben Ripkens 已提交
64
}