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