зеркало из https://github.com/mozilla/Spoke.git
168 строки
5.6 KiB
JSON
168 строки
5.6 KiB
JSON
{
|
|
"name": "spoke",
|
|
"private": true,
|
|
"productName": "Spoke",
|
|
"license": "MPL-2.0",
|
|
"version": "0.8.6",
|
|
"engines": {
|
|
"node": ">=10"
|
|
},
|
|
"main": "lib/server/index.js",
|
|
"files": [
|
|
"lib/",
|
|
"dist/",
|
|
"LICENSE"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/mozilla/Spoke.git"
|
|
},
|
|
"scripts": {
|
|
"start": "cross-env NODE_ENV=development webpack-dev-server --mode development",
|
|
"start-moz": "cross-env IS_MOZ=true NODE_ENV=development webpack-dev-server --mode development",
|
|
"run-local-reticulum": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 ROUTER_BASE_PATH=/spoke BASE_ASSETS_PATH=https://hubs.local:9090/ HUBS_SERVER=hubs.local:4000 RETICULUM_SERVER=hubs.local:4000 yarn start",
|
|
"build": "cross-env NODE_ENV=production webpack --mode production",
|
|
"bundle-analyzer": "cross-env NODE_ENV=production webpack-dev-server --mode=production --env.BUNDLE_ANALYZER",
|
|
"precommit": "lint-staged",
|
|
"lint": "yarn lint:js && yarn lint:css",
|
|
"lint:js": "eslint ./src",
|
|
"lint:css": "stylelint ./src/**/*.js",
|
|
"pretest": "yarn lint",
|
|
"test": "concurrently --success \"first\" --kill-others \"yarn test-all\" \"yarn test-server\"",
|
|
"test-server": "cross-env NODE_ENV=test webpack-dev-server --mode development --content-base ./test/fixtures",
|
|
"test-all": "ava --verbose",
|
|
"unit-tests": "ava ./test/unit/**/*.test.js",
|
|
"integration-tests": "concurrently --success \"first\" --kill-others \"ava ./test/integration\" \"yarn test-server\"",
|
|
"update-test-snapshots": "concurrently --success \"first\" --kill-others \"ava -u\" \"yarn test-server\"",
|
|
"storybook": "start-storybook",
|
|
"deploy-storybook": "storybook-to-ghpages"
|
|
},
|
|
"esm": {
|
|
"mode": "auto",
|
|
"cjs": true
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"./test/unit/**/*.test.js",
|
|
"./test/integration/**/*.test.js"
|
|
],
|
|
"require": [
|
|
"esm",
|
|
"@babel/register",
|
|
"./test/entry.js"
|
|
],
|
|
"timeout": "60s"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint"
|
|
]
|
|
},
|
|
"storybook-deployer": {
|
|
"gitUsername": "SpokeBot",
|
|
"gitEmail": "hubs@mozilla.com",
|
|
"commitMessage": "Deploy Storybook [skip ci]"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime": "^7.6.0",
|
|
"@mozillareality/easing-functions": "^0.1.1",
|
|
"@mozillareality/three-batch-manager": "^0.1.10",
|
|
"@mozillareality/three-particle-emitter": "^0.2.2",
|
|
"@robertlong/gltf-validator": "^2.0.0-dev.3.2",
|
|
"@sentry/browser": "^5.6.3",
|
|
"abortcontroller-polyfill": "^1.3.0",
|
|
"eventemitter3": "^4.0.0",
|
|
"evergreen-ui": "^4.18.3",
|
|
"form-data": "^2.5.1",
|
|
"fuse.js": "^3.4.4",
|
|
"hls.js": "^0.12.3",
|
|
"jszip": "^3.2.0",
|
|
"jwt-decode": "^2.2.0",
|
|
"markdown-it": "^9.1.0",
|
|
"mousetrap": "^1.6.3",
|
|
"phoenix": "^1.4.10",
|
|
"prop-types": "^15.7.2",
|
|
"rc-slider": "^8.7.1",
|
|
"react": "^16.9.0",
|
|
"react-color": "^2.17.0",
|
|
"react-contextmenu": "^2.10.0",
|
|
"react-dnd": "^10.0.2",
|
|
"react-dnd-html5-backend": "^10.0.2",
|
|
"react-dom": "^16.9.0",
|
|
"react-helmet": "^5.2.0",
|
|
"react-infinite-scroller": "^1.2.4",
|
|
"react-modal": "^3.10.1",
|
|
"react-router-dom": "^5.1.2",
|
|
"react-select": "^3.0.4",
|
|
"react-toggle": "^4.0.2",
|
|
"react-virtualized-auto-sizer": "^1.0.2",
|
|
"react-window": "^1.8.5",
|
|
"recast-wasm": "^0.1.1",
|
|
"recharts": "^1.8.5",
|
|
"styled-components": "4.4.0",
|
|
"styled-icons": "^8.4.2",
|
|
"three": "https://github.com/MozillaReality/three.js.git#0f9b0024725f0dd917caa54c2934a4ba1fc12c4f",
|
|
"three-mesh-bvh": "^0.1.4",
|
|
"url-toolkit": "^2.1.6",
|
|
"use-debounce": "^3.4.0",
|
|
"use-http": "^0.2.4",
|
|
"uuid": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.6.0",
|
|
"@babel/core": "^7.6.0",
|
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
|
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/plugin-transform-runtime": "^7.6.0",
|
|
"@babel/preset-env": "^7.6.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/register": "^7.6.0",
|
|
"@storybook/addon-actions": "^5.2.0",
|
|
"@storybook/addon-docs": "^5.2.0",
|
|
"@storybook/addon-knobs": "^5.2.0",
|
|
"@storybook/addon-storysource": "^5.2.0",
|
|
"@storybook/react": "^5.2.0",
|
|
"@storybook/source-loader": "^5.2.0",
|
|
"@storybook/storybook-deployer": "^2.8.1",
|
|
"@storybook/theming": "^5.2.0",
|
|
"ava": "^3.3.0",
|
|
"babel-eslint": "^10.0.3",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-styled-components": "^1.10.6",
|
|
"concurrently": "^4.1.2",
|
|
"copy-webpack-plugin": "^5.0.4",
|
|
"cors": "^2.8.5",
|
|
"cross-env": "^5.2.1",
|
|
"dotenv": "^8.1.0",
|
|
"eslint": "^6.3.0",
|
|
"eslint-config-prettier": "^6.3.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-react": "^7.12.4",
|
|
"eslint-plugin-react-hooks": "^2.0.1",
|
|
"esm": "^3.2.25",
|
|
"file-loader": "^4.2.0",
|
|
"gltf-webpack-loader": "https://github.com/MozillaReality/gltf-webpack-loader.git#fix/relative-and-output-paths",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"husky": "^3.0.5",
|
|
"jsdom": "^15.1.1",
|
|
"lint-staged": "^9.2.5",
|
|
"locate-chrome": "^0.1.1",
|
|
"prettier": "^1.16.4",
|
|
"puppeteer-core": "^1.13.0",
|
|
"selfsigned": "^1.10.6",
|
|
"sinon": "^7.4.2",
|
|
"standardized-audio-context-mock": "^7.1.6",
|
|
"stylelint": "^10.1.0",
|
|
"stylelint-config-recommended": "^2.2.0",
|
|
"stylelint-config-styled-components": "^0.1.1",
|
|
"stylelint-processor-styled-components": "^1.8.0",
|
|
"terser-webpack-plugin": "^2.0.1",
|
|
"webpack": "^4.39.3",
|
|
"webpack-bundle-analyzer": "^3.4.1",
|
|
"webpack-cli": "^3.3.8",
|
|
"webpack-dev-server": "^3.8.0",
|
|
"worker-loader": "^2.0.0"
|
|
}
|
|
}
|