package.json 2.1 KB
Newer Older
B
Ben Ripkens 已提交
1
{
2
  "name": "three",
M
r95  
Mr.doob 已提交
3
  "version": "0.95.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 26 27
  "eslintConfig": {
    "extends": "mdcs"
  },
B
Ben Ripkens 已提交
28
  "scripts": {
R
Rich Harris 已提交
29
    "build": "rollup -c",
G
gero3 已提交
30
    "build-test": "rollup -c test/rollup.unit.config.js",
31
    "build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
32
    "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",
M
Mugen87 已提交
33 34
    "dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"serve --port 8080\"",
    "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\" \"serve --port 8080\"",
35
    "start": "npm run dev",
J
Joshua Koo 已提交
36
    "lint": "eslint src",
G
gero3 已提交
37
    "test": "npm run build-test && qunit test/unit/three.source.unit.js",
D
Dan Kaplun 已提交
38
    "travis": "npm run lint && npm test",
39
    "editor": "electron ./editor/main.js"
B
Ben Ripkens 已提交
40 41 42 43 44 45 46 47 48 49 50 51
  },
  "keywords": [
    "three",
    "three.js",
    "3d",
    "webgl"
  ],
  "author": "mrdoob",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/mrdoob/three.js/issues"
  },
M
Mugen87 已提交
52
  "homepage": "https://threejs.org/",
G
gero3 已提交
53
  "devDependencies": {
M
Mugen87 已提交
54 55 56
    "concurrently": "^3.6.1",
    "electron": "^2.0.6",
    "eslint": "^5.3.0",
M
Mugen87 已提交
57
    "eslint-config-mdcs": "^4.2.3",
M
Mugen87 已提交
58
    "google-closure-compiler": "20180716.0.1",
M
Mugen87 已提交
59
    "qunit": "^2.6.1",
M
Mugen87 已提交
60
    "rollup": "^0.63.5",
M
Mugen87 已提交
61
    "rollup-watch": "^4.3.1",
M
Mugen87 已提交
62
    "serve": "6.5.8",
M
Mugen87 已提交
63
    "uglify-js": "^3.3.28"
A
Abel Allison 已提交
64
  }
B
Ben Ripkens 已提交
65
}