forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "three",
"version": "0.89.0",
"description": "JavaScript 3D library",
"main": "build/three.js",
"repository": "mrdoob/three.js",
"jsnext:main": "build/three.module.js",
"module": "build/three.module.js",
"files": [
"package.json",
"bower.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js",
"src",
"examples/js",
"examples/fonts"
],
"directories": {
"doc": "docs",
"example": "examples",
"test": "test"
},
"eslintConfig": {
"extends": "mdcs"
},
"scripts": {
"build": "rollup -c",
"build-test": "rollup -c test/rollup.unit.config.js",
"build-uglify": "rollup -c && uglifyjs build/three.js -cm --preamble \"// threejs.org/license\" > build/three.min.js",
"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",
"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\"",
"start": "npm run dev",
"lint": "eslint src",
"test": "npm run build-test && qunit test/unit/three.source.unit.js",
"editor": "electron ./editor/main.js"
},
"keywords": [
"three",
"three.js",
"3d",
"webgl"
],
"author": "mrdoob",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrdoob/three.js/issues"
},
"homepage": "https://threejs.org/",
"devDependencies": {
"concurrently": "^3.5.0",
"electron": "1.7.11",
"eslint": "^4.1.1",
"eslint-config-mdcs": "^4.2.2",
"google-closure-compiler": "20180101.0.0",
"qunit": "^2.4.0",
"rollup": "^0.55.1",
"rollup-watch": "^4.0.0",
"serve": "6.4.9",
"uglify-js": "^3.0.23"
}
}