зеркало из https://github.com/mozilla/hubs.git
226 строки
8.7 KiB
JSON
226 строки
8.7 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-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": "node -r @babel/register -r esm -r ./scripts/shim scripts/deploy.js",
|
|
"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": "^0.3.38",
|
|
"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-133",
|
|
"three-ammo": "github:infinitelee/three-ammo",
|
|
"three-mesh-bvh": "^0.3.7",
|
|
"three-pathfinding": "^0.14.1",
|
|
"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"
|
|
}
|
|
}
|