-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
/
package.json
128 lines (128 loc) · 4.27 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "three",
"version": "0.170.0",
"description": "JavaScript 3D library",
"type": "module",
"main": "./build/three.cjs",
"module": "./build/three.module.js",
"exports": {
".": {
"import": "./build/three.module.js",
"require": "./build/three.cjs"
},
"./examples/fonts/*": "./examples/fonts/*",
"./examples/jsm/*": "./examples/jsm/*",
"./addons": "./examples/jsm/Addons.js",
"./addons/*": "./examples/jsm/*",
"./src/*": "./src/*",
"./webgpu": "./build/three.webgpu.js",
"./tsl": "./build/three.webgpu.js"
},
"repository": {
"type": "git",
"url": "https://github.com/mrdoob/three.js"
},
"sideEffects": [ "./src/nodes/**/*" ],
"files": [
"build",
"examples/jsm",
"examples/fonts",
"LICENSE",
"package.json",
"README.md",
"src"
],
"directories": {
"doc": "docs",
"example": "examples",
"test": "test"
},
"browserslist": [
"> 1%, not dead, not ie 11, not op_mini all"
],
"scripts": {
"start": "npm run dev",
"test": "npm run lint && npm run test-unit && npm run test-unit-addons",
"build": "rollup -c utils/build/rollup.config.js",
"build-module": "rollup -c utils/build/rollup.config.js --configOnlyModule",
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
"dev-ssl": "concurrently --names \"ROLLUP,HTTPS\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080 --ssl\"",
"lint-core": "eslint src",
"lint-addons": "eslint examples/jsm --ext .js --ignore-pattern libs --ignore-pattern ifc",
"lint-examples": "eslint examples --ext .html",
"lint-docs": "eslint docs --ignore-pattern prettify.js",
"lint-editor": "eslint editor --ignore-pattern libs",
"lint-playground": "eslint playground --ignore-pattern libs",
"lint-manual": "eslint manual --ignore-pattern 3rdparty --ignore-pattern prettify.js --ignore-pattern shapefile.js",
"lint-test": "eslint test --ignore-pattern vendor",
"lint-utils": "eslint utils",
"lint": "npm run lint-core",
"lint-fix": "npm run lint-core -- --fix && npm run lint-addons -- --fix && npm run lint-examples -- --fix && npm run lint-docs -- --fix && npm run lint-editor -- --fix && npm run lint-playground -- --fix && npm run lint-manual -- --fix && npm run lint-test -- --fix && npm run lint-utils -- --fix",
"test-unit": "qunit -r failonlyreporter -f !-webonly test/unit/three.source.unit.js",
"test-unit-addons": "qunit -r failonlyreporter -f !-webonly test/unit/three.addons.unit.js",
"test-e2e": "node test/e2e/puppeteer.js",
"test-e2e-cov": "node test/e2e/check-coverage.js",
"test-e2e-webgpu": "node test/e2e/puppeteer.js --webgpu",
"test-treeshake": "rollup -c test/rollup.treeshake.config.js",
"test-circular-deps": "dpdm --no-warning --no-tree --exit-code circular:1 src/nodes/Nodes.js",
"make-screenshot": "node test/e2e/puppeteer.js --make"
},
"keywords": [
"three",
"three.js",
"javascript",
"3d",
"virtual-reality",
"augmented-reality",
"webgl",
"webgl2",
"webaudio",
"webgpu",
"webxr",
"canvas",
"svg",
"html5"
],
"author": "mrdoob",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrdoob/three.js/issues"
},
"homepage": "https://threejs.org/",
"devDependencies": {
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-terser": "^0.4.0",
"chalk": "^5.2.0",
"concurrently": "^9.0.0",
"dpdm": "^3.14.0",
"eslint": "^8.37.0",
"eslint-config-mdcs": "^5.0.0",
"eslint-plugin-compat": "^6.0.0",
"eslint-plugin-html": "^8.0.0",
"eslint-plugin-import": "^2.27.5",
"failonlyreporter": "^1.0.0",
"jimp": "^1.6.0",
"magic-string": "^0.30.0",
"pixelmatch": "^6.0.0",
"puppeteer": "^22.0.0",
"qunit": "^2.19.4",
"rollup": "^4.6.0",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-visualizer": "^5.9.0",
"servez": "^2.2.4"
},
"overrides": {
"jpeg-js": "^0.4.4"
},
"jspm": {
"files": [
"package.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js"
],
"directories": {}
}
}