mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
Upgrading reactstrap and react-router was necessary due to: - https://github.com/reactstrap/reactstrap/issues/1201 (see https://github.com/sourcegraph/sourcegraph/issues/1553) - https://github.com/ReactTraining/react-router/pull/5908#issuecomment-423303168 (otherwise `<BrowserRouter>` ignored all context passed from its parent)
220 lines
7.2 KiB
JSON
220 lines
7.2 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",
|
|
"yarn": "^1.10.1"
|
|
},
|
|
"scripts": {
|
|
"prettier": "prettier '**/{*.{js?(on),ts?(x),graphql,md,scss},.*.js?(on)}' --write --list-different --config prettier.config.js",
|
|
"all:tslint": "dev/foreach-ts-project.sh yarn -s run tslint",
|
|
"all:stylelint": "(cd web && yarn -s run stylelint) && (cd client/browser && yarn -s run stylelint)",
|
|
"all:typecheck": "gulp generate && dev/foreach-ts-project.sh $PWD/node_modules/.bin/tsc -p tsconfig.json",
|
|
"graphql": "gulp graphQLTypes",
|
|
"graphql-lint": "graphql-schema-linter --old-implements-syntax --comment-descriptions cmd/frontend/graphqlbackend/schema.graphql",
|
|
"prepublish": "gulp generate && yarn --cwd shared -s run tslint:build-rules",
|
|
"test": "jest --testPathIgnorePatterns e2e"
|
|
},
|
|
"browserslist": [
|
|
"last 1 version",
|
|
">1%",
|
|
"not dead",
|
|
"not <0.25%",
|
|
"last 1 Chrome versions",
|
|
"not IE > 0"
|
|
],
|
|
"devDependencies": {
|
|
"@babel/core": "^7.1.5",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/polyfill": "^7.0.0",
|
|
"@babel/preset-env": "^7.1.5",
|
|
"@babel/runtime": "^7.0.0",
|
|
"@gql2ts/from-schema": "^1.10.1",
|
|
"@gql2ts/language-typescript": "^1.9.0",
|
|
"@semantic-release/exec": "^3.1.0",
|
|
"@sourcegraph/prettierrc": "^2.2.0",
|
|
"@sourcegraph/stylelint-config": "^1.0.1",
|
|
"@sourcegraph/tsconfig": "^3.0.0",
|
|
"@sourcegraph/tslint-config": "^12.3.0",
|
|
"@storybook/addon-actions": "4.0.0-alpha.21",
|
|
"@storybook/addon-links": "4.0.0-alpha.21",
|
|
"@storybook/addons": "4.0.0-alpha.21",
|
|
"@storybook/react": "4.0.0-alpha.21",
|
|
"@types/babel__core": "7.0.1",
|
|
"@types/chai": "4.1.7",
|
|
"@types/chai-as-promised": "7.1.0",
|
|
"@types/cpy": "5.1.0",
|
|
"@types/d3-axis": "1.0.11",
|
|
"@types/d3-scale": "2.0.2",
|
|
"@types/d3-selection": "1.3.3",
|
|
"@types/d3-shape": "1.2.5",
|
|
"@types/execa": "0.9.0",
|
|
"@types/extract-text-webpack-plugin": "3.0.3",
|
|
"@types/fancy-log": "1.3.0",
|
|
"@types/filesystem": "0.0.29",
|
|
"@types/globby": "8.0.0",
|
|
"@types/graphql": "14.0.3",
|
|
"@types/gulp": "4.0.5",
|
|
"@types/he": "1.1.0",
|
|
"@types/highlight.js": "9.12.3",
|
|
"@types/jest": "23.3.10",
|
|
"@types/lodash": "4.14.118",
|
|
"@types/marked": "0.4.2",
|
|
"@types/mermaid": "8.0.0",
|
|
"@types/mini-css-extract-plugin": "0.2.0",
|
|
"@types/mkdirp-promise": "5.0.0",
|
|
"@types/mz": "0.0.32",
|
|
"@types/node": "10.12.2",
|
|
"@types/p-retry": "2.0.0",
|
|
"@types/plugin-error": "0.1.0",
|
|
"@types/pretty-bytes": "5.1.0",
|
|
"@types/puppeteer": "1.10.0",
|
|
"@types/react": "16.7.13",
|
|
"@types/react-dom": "16.0.11",
|
|
"@types/react-router": "4.4.3",
|
|
"@types/react-router-dom": "4.3.1",
|
|
"@types/react-stripe-elements": "1.1.9",
|
|
"@types/react-test-renderer": "16.0.3",
|
|
"@types/react-visibility-sensor": "5.0.0",
|
|
"@types/reactstrap": "6.4.3",
|
|
"@types/sanitize-html": "1.18.2",
|
|
"@types/semver": "5.5.0",
|
|
"@types/shelljs": "0.8.0",
|
|
"@types/signale": "1.2.0",
|
|
"@types/sinon": "5.0.5",
|
|
"@types/socket.io": "2.1.0",
|
|
"@types/socket.io-client": "1.4.32",
|
|
"@types/storybook__addon-actions": "3.4.1",
|
|
"@types/storybook__react": "3.0.9",
|
|
"@types/textarea-caret": "3.0.0",
|
|
"@types/uglifyjs-webpack-plugin": "1.1.0",
|
|
"@types/uuid": "3.4.4",
|
|
"@types/webpack": "4.4.17",
|
|
"@types/webpack-dev-server": "3.1.1",
|
|
"abort-controller": "^1.0.2",
|
|
"autoprefixer": "^9.0.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-runtime": "^6.26.0",
|
|
"browserslist": "^4.3.4",
|
|
"bundlesize": "^0.17.0",
|
|
"chai": "^4.1.2",
|
|
"chai-as-promised": "^7.1.1",
|
|
"child_process": "^1.0.2",
|
|
"chokidar-cli": "^1.2.1",
|
|
"chrome-webstore-upload-cli": "^1.2.0",
|
|
"concurrently": "^4.0.1",
|
|
"cpy": "^7.0.1",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^1.0.0",
|
|
"esm": "^3.0.82",
|
|
"execa": "^1.0.0",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"fancy-log": "^1.3.2",
|
|
"get-graphql-schema": "^2.1.1",
|
|
"globby": "^8.0.1",
|
|
"gql2ts": "^1.2.1",
|
|
"graphql": "^14.0.2",
|
|
"graphql-schema-linter": "^0.1.6",
|
|
"gulp": "^4.0.0",
|
|
"jest": "^23.6.0",
|
|
"json-schema-ref-parser": "^6.0.2",
|
|
"json-schema-to-typescript": "^6.0.1",
|
|
"latest-version": "^4.0.0",
|
|
"mini-css-extract-plugin": "^0.4.4",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"mz": "^2.7.0",
|
|
"node-sass": "^4.9.4",
|
|
"node-sass-import-once": "^1.2.0",
|
|
"p-retry": "^2.0.0",
|
|
"path": "^0.12.7",
|
|
"plugin-error": "^1.0.1",
|
|
"postcss-loader": "^3.0.0",
|
|
"prettier": "1.13.7",
|
|
"puppeteer": "1.10.0",
|
|
"raf": "^3.4.0",
|
|
"raw-loader": "^0.5.1",
|
|
"react-test-renderer": "^16.6.3",
|
|
"react-testing-library": "^5.2.3",
|
|
"sass-loader": "^7.0.3",
|
|
"semantic-release": "^15.9.9",
|
|
"semantic-release-chrome": "^1.1.0",
|
|
"semantic-release-firefox": "^1.2.0",
|
|
"semver": "^5.5.1",
|
|
"shelljs": "^0.8.0",
|
|
"signale": "^1.2.1",
|
|
"sinon": "^7.1.0",
|
|
"socket.io": "^2.1.1",
|
|
"socket.io-client": "^2.1.1",
|
|
"source-map-support": "^0.5.6",
|
|
"style-loader": "^0.23.1",
|
|
"stylelint": "^9.7.1",
|
|
"ts-jest": "^23.10.5",
|
|
"ts-loader": "^5.0.0",
|
|
"ts-node": "^7.0.1",
|
|
"tslint": "^5.11.0",
|
|
"tslint-language-service": "^0.9.9",
|
|
"typedoc": "^0.13.0",
|
|
"typescript": "^3.2.1",
|
|
"uglifyjs-webpack-plugin": "^1.2.4",
|
|
"utc-version": "^1.1.0",
|
|
"webpack": "^4.23.1",
|
|
"webpack-dev-server": "^3.1.10",
|
|
"worker-loader": "^2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/browser": "^4.4.1",
|
|
"@slimsag/react-shortcuts": "^1.2.1",
|
|
"@sourcegraph/codeintellify": "^5.1.0",
|
|
"@sourcegraph/extension-api-types": "link:packages/@sourcegraph/extension-api-types",
|
|
"@sourcegraph/react-loading-spinner": "0.0.7",
|
|
"@sqs/jsonc-parser": "^1.0.3",
|
|
"abortable-rx": "^1.0.9",
|
|
"bootstrap": "^4.1.3",
|
|
"copy-to-clipboard": "^3.0.7",
|
|
"d3-axis": "^1.0.7",
|
|
"d3-scale": "^2.0.0",
|
|
"d3-selection": "^1.2.0",
|
|
"d3-shape": "^1.2.0",
|
|
"date-fns": "^2.0.0-alpha.7",
|
|
"downshift": "^2.0.14",
|
|
"formdata-polyfill": "^3.0.9",
|
|
"graphiql": "^0.11.11",
|
|
"he": "^1.2.0",
|
|
"highlight.js": "^9.13.1",
|
|
"intersection-observer": "^0.5.0",
|
|
"lodash": "^4.17.10",
|
|
"marked": "^0.5.1",
|
|
"mdi-react": "^5.1.0",
|
|
"mermaid": "^8.0.0-rc.8",
|
|
"minimatch": "^3.0.4",
|
|
"monaco-editor": "^0.14.0",
|
|
"open-color": "^1.6.3",
|
|
"pretty-bytes": "^5.0.0",
|
|
"react": "^16.6.1",
|
|
"react-dom": "^16.6.1",
|
|
"react-icon-base": "^2.0.0",
|
|
"react-router": "^4.4.0-beta.6",
|
|
"react-router-dom": "^4.4.0-beta.6",
|
|
"react-stripe-elements": "^2.0.1",
|
|
"react-visibility-sensor": "^4.0.0",
|
|
"reactstrap": "https://registry.npmjs.org/@sqs/reactstrap/-/reactstrap-6.5.0-tmp1.tgz",
|
|
"rxjs": "^6.3.3",
|
|
"sourcegraph": "link:packages/sourcegraph-extension-api",
|
|
"string-score": "^1.0.1",
|
|
"textarea-caret": "3.1.0",
|
|
"ts-key-enum": "^2.0.0",
|
|
"tslib": "^1.9.3",
|
|
"uuid": "^3.2.1",
|
|
"webext-domain-permission-toggle": "^0.0.2",
|
|
"whatwg-url": "^7.0.0"
|
|
}
|
|
}
|