sourcegraph/package.json

305 lines
9.9 KiB
JSON

{
"private": true,
"description": "The Sourcegraph web app",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/sourcegraph"
},
"engines": {
"node": ">=8.0.0 <14.0.0",
"yarn": "^1.10.1"
},
"scripts": {
"prettier": "prettier '**/{*.{js?(on),ts?(x),graphql,md,scss},.*.js?(on)}' --write --list-different --config prettier.config.js",
"prettier-check": "yarn -s run prettier --write=false",
"all:eslint": "dev/foreach-ts-project.sh yarn -s run eslint --quiet",
"all:stylelint": "yarn --cwd web run stylelint && yarn --cwd shared run stylelint && yarn --cwd browser run stylelint",
"all:tsgql": "yarn --cwd web run tsgql validate -p . --exitOnWarn && yarn --cwd shared run tsgql validate -p . --exitOnWarn && yarn --cwd browser run tsgql validate -p . --exitOnWarn",
"build-ts": "tsc -b .",
"graphql": "gulp graphQLTypes",
"graphql-lint": "graphql-schema-linter --old-implements-syntax --comment-descriptions cmd/frontend/graphqlbackend/schema.graphql",
"prepublish": "gulp generate",
"test": "jest --testPathIgnorePatterns e2e regression integration",
"test-e2e": "TS_NODE_PROJECT=web/src/e2e/tsconfig.json mocha ./web/src/e2e/e2e.test.ts",
"cover-e2e": "nyc --hook-require=false yarn test-e2e",
"storybook": "start-storybook -p 9001 -c .storybook",
"storybook:build": "build-storybook -c .storybook",
"storybook:smoke-test": "yarn run storybook --smoke-test",
"deduplicate": "yarn-deduplicate -s fewer"
},
"browserslist": [
"last 1 version",
">1%",
"not dead",
"not <0.25%",
"last 1 Chrome versions",
"not IE > 0"
],
"nyc": {
"all": true,
"extension": [
".tsx",
".ts"
],
"include": [
"@(web|shared)/src/**/*.ts?(x)"
],
"exclude": [
"node_modules",
"**/*.d.ts",
"**/*.@(test|story).ts?(x)"
]
},
"jscpd": {
"gitignore": true,
"ignore": [
"**/__snapshots__",
"**/__fixtures__",
"**/*.svg",
"migrations",
"browser/build",
"ui",
"**/assets"
]
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@babel/runtime": "^7.9.6",
"@gql2ts/from-schema": "^1.10.1",
"@gql2ts/language-typescript": "^1.9.0",
"@octokit/rest": "^16.36.0",
"@percy/puppeteer": "^1.1.0",
"@slack/web-api": "^5.8.0",
"@sourcegraph/babel-plugin-transform-react-hot-loader-wrapper": "^1.0.0",
"@sourcegraph/eslint-config": "^0.16.3",
"@sourcegraph/prettierrc": "^3.0.3",
"@sourcegraph/stylelint-config": "^1.1.8",
"@sourcegraph/tsconfig": "^4.0.1",
"@storybook/addon-actions": "^5.3.18",
"@storybook/addon-console": "^1.2.1",
"@storybook/addon-info": "^5.3.18",
"@storybook/addon-knobs": "^5.3.18",
"@storybook/addon-links": "^5.3.18",
"@storybook/addon-options": "^5.3.18",
"@storybook/addon-storyshots": "^5.3.18",
"@storybook/addons": "^5.3.18",
"@storybook/components": "^5.3.18",
"@storybook/core": "^5.3.18",
"@storybook/react": "^5.3.18",
"@storybook/theming": "^5.3.18",
"@testing-library/react": "^10.0.4",
"@testing-library/react-hooks": "^3.2.1",
"@types/babel__core": "7.1.7",
"@types/chai": "4.2.11",
"@types/chai-as-promised": "7.1.2",
"@types/chrome": "0.0.106",
"@types/classnames": "2.2.10",
"@types/command-exists": "1.2.0",
"@types/d3-axis": "1.0.12",
"@types/d3-scale": "2.2.0",
"@types/d3-selection": "1.4.1",
"@types/d3-shape": "1.3.2",
"@types/expect": "24.3.0",
"@types/fancy-log": "1.3.1",
"@types/got": "9.6.9",
"@types/gulp": "4.0.6",
"@types/he": "1.1.1",
"@types/highlight.js": "9.12.3",
"@types/is-absolute-url": "3.0.0",
"@types/jest": "25.2.1",
"@types/jsdom": "12.2.4",
"@types/lodash": "4.14.149",
"@types/marked": "0.7.3",
"@types/mini-css-extract-plugin": "0.9.1",
"@types/mkdirp-promise": "5.0.0",
"@types/mocha": "7.0.2",
"@types/mockdate": "2.0.0",
"@types/mz": "2.7.0",
"@types/node": "13.13.5",
"@types/optimize-css-assets-webpack-plugin": "5.0.1",
"@types/puppeteer": "1.20.2",
"@types/react": "16.9.32",
"@types/react-circular-progressbar": "1.0.2",
"@types/react-dom": "16.9.6",
"@types/react-hot-loader": "4.1.0",
"@types/react-router": "5.1.5",
"@types/react-router-dom": "5.1.5",
"@types/react-stripe-elements": "6.0.4",
"@types/react-test-renderer": "16.9.2",
"@types/react-textarea-autosize": "4.3.5",
"@types/reactstrap": "8.4.2",
"@types/recharts": "1.8.9",
"@types/resize-observer-browser": "0.1.3",
"@types/sanitize-html": "1.22.0",
"@types/semver": "7.1.0",
"@types/shelljs": "0.8.7",
"@types/signale": "1.4.1",
"@types/simmerjs": "0.5.1",
"@types/sinon": "9.0.0",
"@types/socket.io": "2.1.4",
"@types/socket.io-client": "1.4.32",
"@types/storybook__addon-actions": "3.4.3",
"@types/storybook__addon-info": "5.2.1",
"@types/storybook__addon-knobs": "5.0.4",
"@types/storybook__addon-options": "4.0.2",
"@types/storybook__addon-storyshots": "5.1.2",
"@types/storybook__react": "4.0.2",
"@types/textarea-caret": "3.0.0",
"@types/uuid": "7.0.2",
"@types/webpack": "4.41.10",
"@types/webpack-dev-server": "3.10.1",
"@types/whatwg-url": "6.4.0",
"abort-controller": "^3.0.0",
"autoprefixer": "^9.7.6",
"babel-jest": "^25.2.6",
"babel-loader": "^8.1.0",
"babel-plugin-lodash": "^3.3.4",
"babel-preset-react-app": "^9.1.2",
"browserslist": "^4.12.0",
"bundlesize": "^0.18.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chalk": "^4.0.0",
"chokidar-cli": "^2.1.0",
"chrome-webstore-upload-cli": "^1.2.0",
"command-exists": "^1.2.8",
"cross-env": "^7.0.2",
"css-loader": "^3.5.1",
"eslint": "^6.8.0",
"execa": "^4.0.0",
"fancy-log": "^1.3.3",
"get-port": "^5.1.1",
"googleapis": "^47.0.0",
"gql2ts": "^1.10.1",
"graphql": "^14.6.0",
"graphql-schema-linter": "^0.4.0",
"gulp": "^4.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.2.7",
"jsdom": "^15.2.1",
"json-schema-ref-parser": "^8.0.0",
"json-schema-to-typescript": "^6.1.3",
"latest-version": "^5.1.0",
"license-checker": "^25.0.1",
"message-port-polyfill": "^0.2.0",
"mini-css-extract-plugin": "^0.9.0",
"mkdirp-promise": "^5.0.1",
"mocha": "^7.1.1",
"mockdate": "^2.0.5",
"monaco-editor-webpack-plugin": "^1.8.2",
"mz": "^2.7.0",
"node-fetch": "^2.6.0",
"node-sass": "^4.13.1",
"nyc": "^15.0.0",
"open": "^7.0.3",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"p-retry": "^4.2.0",
"postcss-focus-visible": "^4.0.0",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.4",
"puppeteer": "2.0.0",
"puppeteer-firefox": "^0.5.1",
"react-docgen-typescript-webpack-plugin": "^1.1.0",
"react-hot-loader": "^4.12.20",
"react-test-renderer": "^16.13.1",
"sass-loader": "^8.0.2",
"shelljs": "^0.8.3",
"signale": "^1.4.0",
"simmerjs": "^0.5.6",
"sinon": "^9.0.1",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0",
"string-width": "^4.2.0",
"style-loader": "^1.1.3",
"stylelint": "^13.3.0",
"term-size": "^2.2.0",
"terser-webpack-plugin": "^2.3.4",
"thread-loader": "^2.1.3",
"to-string-loader": "^1.1.6",
"ts-graphql-plugin": "^1.12.0",
"ts-node": "^8.10.1",
"typescript": "^3.8.3",
"utc-version": "^2.0.1",
"web-ext": "^4.1.0",
"webpack": "^4.42.1",
"webpack-dev-server": "^3.10.3",
"worker-loader": "^2.0.0",
"yarn-deduplicate": "^2.0.0"
},
"dependencies": {
"@hot-loader/react-dom": "^16.13.0",
"@primer/octicons-react": "^9.6.0",
"@reach/accordion": "^0.9.1",
"@reach/menu-button": "0.10.0",
"@sentry/browser": "^5.15.4",
"@slimsag/react-shortcuts": "^1.2.1",
"@sourcegraph/codeintellify": "^7.0.0",
"@sourcegraph/extension-api-classes": "^1.0.3",
"@sourcegraph/extension-api-types": "link:packages/@sourcegraph/extension-api-types",
"@sourcegraph/react-loading-spinner": "0.0.7",
"@sqs/jsonc-parser": "^1.0.3",
"bootstrap": "^4.4.1",
"classnames": "^2.2.6",
"comlink": "^4.3.0",
"copy-to-clipboard": "^3.3.1",
"core-js": "^3.6.5",
"d3-axis": "^1.0.12",
"d3-scale": "^3.2.1",
"d3-selection": "^1.4.1",
"d3-shape": "^1.3.7",
"date-fns": "^2.13.0",
"delay": "^4.3.0",
"downshift": "^3.4.8",
"focus-visible": "^5.1.0",
"got": "^10.7.0",
"graphiql": "^0.17.5",
"he": "^1.2.0",
"highlight.js": "^9.18.1",
"highlightjs-graphql": "^1.0.1",
"is-absolute-url": "^3.0.3",
"lodash": "^4.17.15",
"marked": "^0.8.2",
"mdi-react": "^6.7.0",
"minimatch": "^3.0.4",
"monaco-editor": "^0.18.1",
"open-color": "^1.7.0",
"pretty-bytes": "^5.3.0",
"react": "^16.13.1",
"react-circular-progressbar": "^2.0.3",
"react-dom": "npm:@hot-loader/react-dom@^16.13.0",
"react-dom-confetti": "^0.1.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-stripe-elements": "^6.1.1",
"react-textarea-autosize": "^7.1.2",
"react-visibility-sensor": "^5.1.1",
"reactstrap": "^8.4.1",
"recharts": "^1.8.5",
"regenerator-runtime": "^0.13.5",
"rxjs": "^6.5.5",
"sanitize-html": "^1.22.1",
"semver": "^7.3.2",
"slugify": "^1.4.0",
"sourcegraph": "link:packages/sourcegraph-extension-api",
"string-score": "^1.0.1",
"symbol-observable": "^1.2.0",
"tagged-template-noop": "^2.1.1",
"textarea-caret": "^3.1.0",
"ts-key-enum": "^2.0.2",
"tslib": "^1.11.1",
"utility-types": "^3.10.0",
"uuid": "^7.0.3",
"webext-domain-permission-toggle": "^1.0.0",
"webextension-polyfill": "^0.6.0",
"whatwg-url": "^8.0.0"
},
"resolutions": {
"history": "4.5.1"
}
}