forked from Hubs-Foundation/hubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
234 lines (234 loc) · 9.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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
{
"name": "hubs",
"version": "0.0.1",
"description": "Duck-themed multi-user virtual spaces in WebVR.",
"main": "src/index.js",
"license": "MPL-2.0",
"homepage": "https://github.com/mozilla/hubs#readme",
"repository": {
"type": "git",
"url": "https://github.com/mozilla/hubs.git"
},
"bugs": {
"url": "https://github.com/mozilla/hubs/issues"
},
"scripts": {
"info": "npm-scripts-info",
"start": "webpack serve --mode=development --env loadAppConfig=1",
"dev": "webpack serve --mode=development --env remoteDev=1 --progress",
"local": "webpack serve --mode=development --env localDev=1",
"check": "tsc",
"build": "npm run check && rimraf ./dist && webpack --mode=production",
"bundle-analyzer": "webpack serve --mode=production --env dev=1 --env bundleAnalyzer=1",
"doc": "node ./scripts/doc/build.js",
"prettier": "prettier --write '*.js' 'src/**/*.js' 'scripts/**/*.js'",
"lint:js": "eslint '*.js' 'scripts/**/*.js' 'src/**/*.js'",
"lint:html": "htmlhint 'src/**/*.html' && node scripts/indent-linter.js 'src/**/*.html'",
"lint": "npm run lint:js && npm run lint:html",
"login": "node -r @babel/register -r ./scripts/babel-register.js -r esm -r ./scripts/shim scripts/login.js",
"logout": "node ./scripts/logout.mjs",
"deploy": "node ./scripts/deploy.mjs",
"undeploy": "node ./scripts/undeploy.mjs",
"test": "npm run lint && npm run test:unit",
"test:unit": "ava",
"stats": "rimraf ./dist && webpack --mode=production --json",
"spritesheet": "npm run spritesheet:system-action && npm run spritesheet:system-notice",
"spritesheet:system-action": "spritesheet-js -f json -p src/assets/images/spritesheets/ --padding 8 --divisibleByTwo -n sprite-system-action-spritesheet --powerOfTwo src/assets/images/sprites/action/*",
"spritesheet:system-notice": "spritesheet-js -f json -p src/assets/images/spritesheets/ --padding 8 --divisibleByTwo -n sprite-system-notice-spritesheet --powerOfTwo src/assets/images/sprites/notice/*",
"storybook": "start-storybook -p 6006",
"deploy-storybook": "storybook-to-ghpages",
"intl-extract": "node ./src/assets/locales/intl-extract.js",
"intl-extract-en-locale": "node ./src/assets/locales/intl-extract.js en"
},
"scripts-info": {
"start": "Run the client against your Hubs Cloud instance, or Mozilla's developer infrastructure,\n using application configs pulled from the server",
"dev": "Run the client against Mozilla's developer infrastructure with all features enabled",
"local": "Run the client against you local reticulum server",
"login": "Log in to your Hubs Cloud instance",
"logout": "Log out of your Hubs Cloud instance",
"deploy": "Build and deploy the client to your Hubs Cloud instance",
"undeploy": "Undeploy your custom client from your Hubs Cloud instance and revert it to the standard client",
"build": "Build production-ready code and assets",
"lint": "Check the source code for formatting and errors",
"prettier": "Format all source code in-place",
"test": "Check code, run tests and build the code",
"spritesheet": "Re-build spritesheets from their source images"
},
"ava": {
"files": [
"./test/unit/**"
],
"require": [
"@babel/register",
"esm"
]
},
"dependencies": {
"@braintree/sanitize-url": "^6.0.0",
"@formatjs/intl-locale": "^2.4.13",
"@formatjs/intl-pluralrules": "^4.0.3",
"@formatjs/intl-relativetimeformat": "^8.0.1",
"@fortawesome/fontawesome-svg-core": "^1.2.2",
"@fortawesome/free-solid-svg-icons": "^5.2.0",
"@fortawesome/react-fontawesome": "^0.1.0",
"@mozillareality/easing-functions": "^0.1.1",
"@popperjs/core": "^2.4.4",
"aframe": "github:mozillareality/aframe#hubs/master",
"ammo-debug-drawer": "github:infinitelee/ammo-debug-drawer",
"ammo.js": "github:mozillareality/ammo.js#hubs/master",
"animejs": "github:mozillareality/anime#hubs/master",
"bitecs": "github:mozilla/bitECS#hubs-patches",
"buffered-interpolation": "github:Infinitelee/buffered-interpolation",
"classnames": "^2.2.5",
"color": "^3.1.2",
"copy-to-clipboard": "^3.0.8",
"core-js": "^3.24.1",
"dashjs": "^3.1.0",
"deepmerge": "^2.1.1",
"detect-browser": "^3.0.1",
"downshift": "^6.0.5",
"draft-js": "^0.10.5",
"draft-js-counter-plugin": "^2.0.1",
"draft-js-emoji-plugin": "^2.1.1",
"draft-js-hashtag-plugin": "^2.0.3",
"draft-js-linkify-plugin": "^2.0.1",
"draft-js-plugins-editor": "^2.1.1",
"emoji-mart": "^3.0.1",
"event-target-shim": "^3.0.1",
"form-data": "^3.0.0",
"form-urlencoded": "^2.0.4",
"history": "^4.7.2",
"hls.js": "^0.14.6",
"html2canvas": "^1.0.0-rc.7",
"js-cookie": "^2.2.0",
"jsonschema": "^1.2.2",
"jwt-decode": "^2.2.0",
"lib-hubs": "github:mozillareality/lib-hubs#master",
"linkify-it": "^2.0.3",
"markdown-it": "^12.3.2",
"moving-average": "^1.0.0",
"networked-aframe": "github:mozillareality/networked-aframe#6093c3a0b2867a9e141cd5c19f7d13dfa7c38479",
"nipplejs": "github:mozillareality/nipplejs#mr-social-client/master",
"node-ensure": "0.0.0",
"normalize.css": "^8.0.1",
"pdfjs-dist": "^2.14.305",
"phoenix": "github:gfodor/phoenix-js#master",
"postprocessing": "^6.28.7",
"prop-types": "^15.7.2",
"raven-js": "^3.20.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-emoji-render": "^0.4.6",
"react-hook-form": "^6.10.1",
"react-infinite-scroller": "^1.2.2",
"react-intl": "^5.10.1",
"react-linkify": "^0.2.2",
"react-popper-2": "npm:react-popper@^2.2.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-textarea-autosize": "^8.2.0",
"react-use-css-breakpoints": "^1.0.4",
"resize-observer-polyfill": "^1.5.1",
"screenfull": "^4.0.1",
"sdp-transform": "^2.14.1",
"semver": "^7.3.2",
"three": "github:mozillareality/three.js#56e7c46d991cc16bff82bdbb03c7bfba4620567f",
"three-ammo": "github:mozillareality/three-ammo",
"three-gltf-extensions": "^0.0.14",
"three-mesh-bvh": "^0.3.7",
"three-pathfinding": "^1.1.0",
"three-to-ammo": "github:infinitelee/three-to-ammo",
"troika-three-text": "^0.45.0",
"use-clipboard-copy": "^0.1.2",
"uuid": "^3.2.1",
"webrtc-adapter": "^7.7.0",
"webxr-polyfill": "^2.0.3",
"zip-loader": "^1.1.0"
},
"devDependencies": {
"@babel/core": "^7.18.13",
"@babel/eslint-parser": "^7.18.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/plugin-proposal-optional-chaining": "7.18.9",
"@babel/preset-env": "^7.18.10",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@babel/register": "^7.18.9",
"@calm/eslint-plugin-react-intl": "^1.4.1",
"@formatjs/cli": "^5.0.6",
"@formatjs/cli-lib": "^5.1.0",
"@iarna/toml": "^2.2.5",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/react": "^6.5.9",
"@storybook/storybook-deployer": "^2.8.12",
"@svgr/webpack": "^6.3.1",
"@types/three": "^0.141.0",
"@types/webxr": "^0.5.0",
"acorn": "^8.8.0",
"ava": "^4.3.1",
"babel-loader": "^8.2.5",
"babel-plugin-react-intl": "^8.2.21",
"copy-webpack-plugin": "^11.0.0",
"cors": "^2.8.5",
"css-loader": "^6.7.1",
"dotenv": "^16.0.1",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.1",
"esm": "^3.2.25",
"fast-plural-rules": "1.0.2",
"file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^7.2.13",
"fs-extra": "^10.1.0",
"glob": "^8.0.3",
"html-loader": "^4.1.0",
"html-webpack-plugin": "^5.5.0",
"htmlhint": "^1.1.4",
"internal-ip": "^7.0.0",
"jsdom": "^20.0.0",
"localstorage-memory": "^1.0.3",
"mediasoup-client": "^3.6.54",
"mini-css-extract-plugin": "^2.6.1",
"node-fetch": "^2.6.7",
"npm-scripts-info": "0.3.9",
"ora": "^6.1.2",
"phoenix-channels": "^1.0.0",
"prettier": "^2.7.1",
"process": "^0.11.10",
"protoo-client": "^4.0.6",
"raw-loader": "^4.0.2",
"react-is": "^18.2.0",
"request": "^2.88.2",
"rimraf": "^3.0.2",
"sass": "^1.54.0",
"sass-loader": "^13.0.2",
"selfsigned": "^2.0.1",
"shelljs": "^0.8.5",
"spritesheet-js": "github:mozillareality/spritesheet.js#hubs/master",
"storybook-addon-designs": "^6.3.1",
"style-loader": "^3.3.1",
"stylelint": "^14.9.1",
"stylelint-config-recommended-scss": "^7.0.0",
"stylelint-scss": "^4.3.0",
"tar": "^6.1.11",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"url-loader": "^4.1.1",
"webpack": "^5.74.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.3",
"worker-loader": "^3.0.8"
},
"optionalDependencies": {
"fsevents": "^2.2.1"
}
}