forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 2.15 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
66
{
"name": "three",
"version": "0.94.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",
"travis": "npm run lint && npm test",
"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.1",
"electron": "^2.0.2",
"eslint": "^4.19.1",
"eslint-config-mdcs": "^4.2.3",
"google-closure-compiler": "20180506.0.0",
"qunit": "^2.6.1",
"rollup": "^0.59.4",
"rollup-watch": "^4.3.1",
"serve": "6.5.8",
"uglify-js": "^3.3.28"
}
}