forked from Hubs-Foundation/hubs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
225 lines (225 loc) · 8.71 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
{
"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-dev-server --mode=development --env.loadAppConfig",
"dev": "webpack-dev-server --mode=development --env.remoteDev",
"local": "webpack-dev-server --mode=development --env.localDev",
"build": "rimraf ./dist && webpack --mode=production",
"bundle-analyzer": "webpack-dev-server --mode=production --env.dev --env.bundleAnalyzer",
"doc": "node ./scripts/doc/build.js",
"prettier": "prettier --write '*.js' 'src/**/*.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 esm -r ./scripts/shim scripts/login.js",
"logout": "node -r @babel/register -r esm -r ./scripts/shim scripts/logout.js",
"deploy": "sh scripts/deploy.sh",
"undeploy": "node -r @babel/register -r esm -r ./scripts/shim scripts/undeploy.js",
"test": "npm run lint && npm run test:unit && npm run build",
"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"
],
"sources": [
"src/**/*.js"
],
"require": [
"@babel/register",
"esm"
]
},
"dependencies": {
"@braintree/sanitize-url": "^5.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.6.5",
"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": "^8.4.2",
"moving-average": "^1.0.0",
"networked-aframe": "github:mozillareality/networked-aframe#master",
"nipplejs": "github:mozillareality/nipplejs#mr-social-client/master",
"node-ensure": "0.0.0",
"normalize.css": "^8.0.1",
"pdfjs-dist": "^2.1.266",
"phoenix": "github:gfodor/phoenix-js#master",
"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#hubs-patches-141",
"three-ammo": "github:infinitelee/three-ammo",
"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.3.3",
"@babel/plugin-proposal-class-properties": "^7.3.3",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-proposal-optional-chaining": "7.12.1",
"@babel/polyfill": "^7.4.4",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.0.0",
"@calm/eslint-plugin-react-intl": "^1.4.1",
"@formatjs/cli": "^2.13.15",
"@iarna/toml": "^2.2.3",
"@storybook/addon-actions": "^6.0.12",
"@storybook/addon-essentials": "^6.0.12",
"@storybook/addon-links": "^6.0.12",
"@storybook/react": "^6.0.12",
"@storybook/storybook-deployer": "^2.8.6",
"@svgr/webpack": "^5.4.0",
"acorn": "^6.4.1",
"ava": "^1.4.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-react-intl": "^8.2.21",
"babel-plugin-transform-react-jsx-img-import": "^0.1.4",
"copy-webpack-plugin": "^4.5.1",
"cors": "^2.8.4",
"css-loader": "^1.0.0",
"dotenv": "^5.0.1",
"eslint": "^5.16.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-react-hooks": "^4.0.0",
"esm": "^3.2.5",
"fast-plural-rules": "0.0.3",
"file-loader": "^1.1.10",
"fs-extra": "^10.0.1",
"glob": "^7.1.6",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^4.2.0",
"htmlhint": "^0.11.0",
"internal-ip": "^6.1.0",
"jsdom": "^15.1.1",
"localstorage-memory": "^1.0.3",
"mediasoup-client": "^3.6.29",
"mini-css-extract-plugin": "^0.8.0",
"node-fetch": "^2.6.1",
"npm-scripts-info": "0.3.9",
"ora": "^4.0.2",
"phoenix-channels": "^1.0.0",
"prettier": "^1.7.0",
"protoo-client": "^4.0.4",
"raw-loader": "^0.5.1",
"react-is": "^16.13.1",
"request": "^2.88.2",
"rimraf": "^2.6.2",
"sass": "^1.26.10",
"sass-loader": "^9.0.2",
"selfsigned": "^1.10.2",
"shelljs": "^0.8.1",
"spritesheet-js": "github:mozillareality/spritesheet.js#hubs/master",
"storybook-addon-designs": "^5.4.1",
"style-loader": "^0.20.2",
"stylelint": "^9.10.1",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-scss": "^3.5.3",
"tar": "^5.0.5",
"url-loader": "^1.0.1",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.2.3",
"webpack-dev-server": "^3.1.14",
"worker-loader": "^2.0.0"
},
"optionalDependencies": {
"fsevents": "^2.2.1"
}
}