forked from mrdoob/three.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
170 lines (170 loc) · 4.41 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
{
"name": "three",
"version": "0.139.1",
"description": "JavaScript 3D library",
"type": "module",
"main": "./build/three.js",
"module": "./build/three.module.js",
"exports": {
".": {
"import": "./build/three.module.js",
"require": "./build/three.cjs"
},
"./examples/fonts/*": "./examples/fonts/*",
"./examples/jsm/*": "./examples/jsm/*",
"./src/*": "./src/*"
},
"repository": {
"type": "git",
"url": "https://github.com/mrdoob/three.js"
},
"sideEffects": false,
"files": [
"build/three.js",
"build/three.cjs",
"build/three.min.js",
"build/three.module.js",
"examples/js",
"examples/jsm",
"examples/fonts",
"LICENSE",
"package.json",
"README.md",
"src"
],
"directories": {
"doc": "docs",
"example": "examples",
"test": "test"
},
"eslintConfig": {
"root": true,
"extends": [
"mdcs",
"plugin:compat/recommended"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"babelOptions": {
"configFile": "./utils/build/.babelrc.json"
}
},
"plugins": [
"html",
"import"
],
"settings": {
"polyfills": [
"WebGL2RenderingContext"
]
},
"globals": {
"__THREE_DEVTOOLS__": "readonly",
"WebGL2ComputeRenderingContext": "readonly",
"potpack": "readonly",
"fflate": "readonly",
"bodymovin": "readonly",
"OIMO": "readonly",
"Stats": "readonly",
"XRWebGLBinding": "readonly",
"XRWebGLLayer": "readonly",
"GPUShaderStage": "readonly",
"GPUBufferUsage": "readonly",
"GPUTextureUsage": "readonly",
"QUnit": "readonly"
},
"rules": {
"no-throw-literal": [
"error"
],
"import/extensions": [
"error",
"always"
],
"quotes": [
"error",
"single"
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
]
}
},
"browserslist": [
"> 1%, not dead, not ie 11, not op_mini all"
],
"scripts": {
"start": "npm run dev",
"test": "npm run lint && npm run test-unit",
"build": "rollup -c utils/build/rollup.config.js",
"build-module": "ONLY_MODULE=true rollup -c utils/build/rollup.config.js",
"build-examples": "rollup -c utils/build/rollup.examples.config.js && echo '\nFormatting...' && eslint examples/js --ext js --ignore-pattern libs --ignore-pattern ifc --fix",
"dev": "concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c utils/build/rollup.config.js -w -m inline\" \"servez -p 8080\"",
"lint": "eslint src --ext js",
"lint-examples": "eslint examples/js examples/jsm --ext js --ignore-pattern libs --ignore-pattern ifc",
"lint-fix": "npm run lint -- --fix && npm run lint-examples -- --fix",
"lint-docs": "eslint docs --ext html",
"test-unit": "npm run unit --prefix test",
"test-e2e": "node test/e2e/puppeteer.js",
"test-e2e-cov": "node test/e2e/check-coverage.js",
"test-treeshake": "rollup -c test/rollup.treeshake.config.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": {
"@babel/core": "^7.17.9",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.2.0",
"chalk": "^5.0.1",
"concurrently": "^7.1.0",
"eslint": "^8.13.0",
"eslint-config-mdcs": "^5.0.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-html": "^6.2.0",
"eslint-plugin-import": "^2.26.0",
"rollup": "^2.70.2",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.6.0",
"servez": "^1.14.1"
},
"jspm": {
"files": [
"package.json",
"LICENSE",
"README.md",
"build/three.js",
"build/three.min.js",
"build/three.module.js"
],
"directories": {}
}
}