зеркало из https://github.com/mozilla/hubs.git
238 строки
9.2 KiB
JSON
238 строки
9.2 KiB
JSON
{
|
|
"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": "storybook dev -p 6006",
|
|
"build-storybook": "storybook build",
|
|
"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",
|
|
"@draft-js-plugins/counter": "^4.1.2",
|
|
"@draft-js-plugins/editor": "^4.1.3",
|
|
"@draft-js-plugins/emoji": "^4.6.5",
|
|
"@draft-js-plugins/hashtag": "^4.2.2",
|
|
"@draft-js-plugins/linkify": "^4.2.1",
|
|
"@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",
|
|
"@mozilla/lilypad-ui": "^1.8.3",
|
|
"@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.11.7",
|
|
"emoji-picker-react": "^4.4.9",
|
|
"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": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-emoji-render": "^0.4.6",
|
|
"react-hook-form": "^7.43.9",
|
|
"react-infinite-scroller": "^1.2.2",
|
|
"react-intl": "^6.4.2",
|
|
"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.5",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"screenfull": "^4.0.1",
|
|
"sdp-transform": "^2.14.1",
|
|
"semver": "^7.3.2",
|
|
"stream-browserify": "^3.0.0",
|
|
"three": "github:mozillareality/three.js#65b5105908f5f135cad25fed07e25f15f3876777",
|
|
"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",
|
|
"url": "^0.11.1",
|
|
"use-clipboard-copy": "^0.2.0",
|
|
"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": "^7.0.20",
|
|
"@storybook/addon-essentials": "^7.0.20",
|
|
"@storybook/addon-links": "^7.0.20",
|
|
"@storybook/react": "^7.0.20",
|
|
"@storybook/react-webpack5": "^7.0.20",
|
|
"@storybook/storybook-deployer": "^2.8.16",
|
|
"@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.12",
|
|
"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": "^7.0.20",
|
|
"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"
|
|
}
|
|
}
|