package.json 2.3 KB
Newer Older
B
Ben Ripkens 已提交
1
{
2
  "name": "three",
M
r102.1  
Mr.doob 已提交
3
  "version": "0.102.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
  "types": "src/Three.d.ts",
10 11 12 13 14 15
  "files": [
    "package.json",
    "LICENSE",
    "README.md",
    "build/three.js",
    "build/three.min.js",
16
    "build/three.module.js",
17 18
    "src",
    "examples/js",
L
linbingquan 已提交
19
    "examples/jsm",
Y
Yasushi ANDO 已提交
20
    "examples/fonts"
21
  ],
B
Ben Ripkens 已提交
22 23 24 25 26
  "directories": {
    "doc": "docs",
    "example": "examples",
    "test": "test"
  },
27
  "eslintConfig": {
L
Lewy Blue 已提交
28 29
    "extends": "mdcs",
    "plugins": [
M
Mr.doob 已提交
30
      "html"
L
Lewy Blue 已提交
31
    ]
32
  },
B
Ben Ripkens 已提交
33
  "scripts": {
R
Rich Harris 已提交
34
    "build": "rollup -c",
G
gero3 已提交
35
    "build-test": "rollup -c test/rollup.unit.config.js",
M
Mugen87 已提交
36
    "build-closure": "rollup -c && java -jar node_modules/google-closure-compiler-java/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",
37
    "build-examples": "rollup -c rollup-examples.config.js",
L
Lewy Blue 已提交
38
    "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"",
M
Mugen87 已提交
39
    "dev-test": "concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"",
40
    "start": "npm run dev",
J
Joshua Koo 已提交
41
    "lint": "eslint src",
G
gero3 已提交
42
    "test": "npm run build-test && qunit test/unit/three.source.unit.js",
D
Dan Kaplun 已提交
43
    "travis": "npm run lint && npm test",
44
    "editor": "electron ./editor/main.js"
B
Ben Ripkens 已提交
45 46 47 48 49 50 51 52 53 54 55 56
  },
  "keywords": [
    "three",
    "three.js",
    "3d",
    "webgl"
  ],
  "author": "mrdoob",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/mrdoob/three.js/issues"
  },
M
Mugen87 已提交
57
  "homepage": "https://threejs.org/",
G
gero3 已提交
58
  "devDependencies": {
M
Mugen87 已提交
59
    "concurrently": "^4.1.0",
M
Mr.doob 已提交
60
    "electron": "^4.0.6",
M
Mr.doob 已提交
61
    "eslint": "^5.15.0",
M
Mugen87 已提交
62
    "eslint-config-mdcs": "^4.2.3",
M
Mr.doob 已提交
63
    "eslint-plugin-html": "^5.0.3",
M
Mugen87 已提交
64
    "google-closure-compiler": "20190215.0.2",
M
Mugen87 已提交
65
    "http-server": "^0.11.1",
M
Mr.doob 已提交
66
    "qunit": "^2.9.2",
M
Mr.doob 已提交
67
    "rollup": "^1.4.0"
68 69 70 71 72 73 74 75 76 77
  },
  "jspm": {
    "files": [
      "package.json",
      "LICENSE",
      "README.md",
      "build/three.js",
      "build/three.min.js",
      "build/three.module.js"
    ],
L
Lewy Blue 已提交
78
    "directories": {}
A
Abel Allison 已提交
79
  }
B
Ben Ripkens 已提交
80
}