mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:21:50 +00:00
252 lines
8.5 KiB
JSON
252 lines
8.5 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 <13.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": "npm run prettier -- --write=false",
|
|
"all:eslint": "dev/foreach-ts-project.sh yarn -s run eslint",
|
|
"all:tslint": "dev/foreach-ts-project.sh yarn -s run tslint",
|
|
"all:stylelint": "yarn --cwd web run stylelint && yarn --cwd shared run stylelint && yarn --cwd browser run stylelint",
|
|
"all:typecheck": "gulp generate && dev/foreach-ts-project.sh yarn -s run typecheck -p tsconfig.json",
|
|
"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",
|
|
"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 && yarn-deduplicate -s fewer ./cmd/management-console/web/yarn.lock"
|
|
},
|
|
"browserslist": [
|
|
"last 1 version",
|
|
">1%",
|
|
"not dead",
|
|
"not <0.25%",
|
|
"last 1 Chrome versions",
|
|
"not IE > 0"
|
|
],
|
|
"jscpd": {
|
|
"gitignore": true,
|
|
"ignore": [
|
|
"**/__snapshots__",
|
|
"**/__fixtures__",
|
|
"**/*.svg",
|
|
"migrations",
|
|
"browser/build",
|
|
"ui",
|
|
"**/assets"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.5.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
|
"@babel/preset-env": "^7.5.5",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@babel/runtime": "^7.5.5",
|
|
"@gql2ts/from-schema": "^1.10.1",
|
|
"@gql2ts/language-typescript": "^1.9.0",
|
|
"@percy/puppeteer": "^1.0.8",
|
|
"@sourcegraph/babel-plugin-transform-react-hot-loader-wrapper": "^1.0.0",
|
|
"@sourcegraph/eslint-config": "^0.0.5",
|
|
"@sourcegraph/prettierrc": "^3.0.1",
|
|
"@sourcegraph/stylelint-config": "^1.1.3",
|
|
"@sourcegraph/tsconfig": "^4.0.0",
|
|
"@sourcegraph/tslint-config": "^14.0.1",
|
|
"@storybook/addon-actions": "^5.1.3",
|
|
"@storybook/addon-console": "^1.1.0",
|
|
"@storybook/addon-info": "^5.1.3",
|
|
"@storybook/addon-knobs": "^5.1.3",
|
|
"@storybook/addon-links": "^5.1.3",
|
|
"@storybook/addon-options": "^5.1.3",
|
|
"@storybook/addon-storyshots": "^5.1.3",
|
|
"@storybook/addons": "^5.1.3",
|
|
"@storybook/components": "^5.1.3",
|
|
"@storybook/react": "^5.1.3",
|
|
"@storybook/theming": "^5.1.3",
|
|
"@types/babel__core": "7.1.2",
|
|
"@types/chai": "4.1.7",
|
|
"@types/chai-as-promised": "7.1.1",
|
|
"@types/chalk": "2.2.0",
|
|
"@types/classnames": "2.2.9",
|
|
"@types/d3-axis": "1.0.12",
|
|
"@types/d3-scale": "2.1.1",
|
|
"@types/d3-selection": "1.4.1",
|
|
"@types/d3-shape": "1.3.1",
|
|
"@types/fancy-log": "1.3.1",
|
|
"@types/graphql": "14.2.3",
|
|
"@types/gulp": "4.0.6",
|
|
"@types/he": "1.1.0",
|
|
"@types/highlight.js": "9.12.3",
|
|
"@types/jest": "24.0.17",
|
|
"@types/jsdom": "12.2.4",
|
|
"@types/lodash": "4.14.124",
|
|
"@types/marked": "0.6.5",
|
|
"@types/mini-css-extract-plugin": "0.8.0",
|
|
"@types/mkdirp-promise": "5.0.0",
|
|
"@types/mockdate": "2.0.0",
|
|
"@types/mz": "0.0.32",
|
|
"@types/node": "10.12.21",
|
|
"@types/optimize-css-assets-webpack-plugin": "1.3.4",
|
|
"@types/puppeteer": "1.19.0",
|
|
"@types/react": "16.8.24",
|
|
"@types/react-circular-progressbar": "1.0.1",
|
|
"@types/react-dom": "16.8.5",
|
|
"@types/react-hot-loader": "4.1.0",
|
|
"@types/react-router": "5.0.3",
|
|
"@types/react-router-dom": "4.3.4",
|
|
"@types/react-stripe-elements": "1.3.0",
|
|
"@types/react-test-renderer": "16.8.3",
|
|
"@types/react-visibility-sensor": "5.0.1",
|
|
"@types/reactstrap": "8.0.1",
|
|
"@types/sanitize-html": "1.18.3",
|
|
"@types/semver": "6.0.0",
|
|
"@types/shelljs": "0.8.5",
|
|
"@types/signale": "1.2.1",
|
|
"@types/simmerjs": "0.5.0",
|
|
"@types/sinon": "7.0.13",
|
|
"@types/socket.io": "2.1.2",
|
|
"@types/socket.io-client": "1.4.32",
|
|
"@types/storybook__addon-actions": "3.4.3",
|
|
"@types/storybook__addon-info": "4.1.2",
|
|
"@types/storybook__addon-knobs": "5.0.3",
|
|
"@types/storybook__addon-options": "4.0.2",
|
|
"@types/storybook__addon-storyshots": "5.1.0",
|
|
"@types/storybook__react": "4.0.2",
|
|
"@types/textarea-caret": "3.0.0",
|
|
"@types/uuid": "3.4.5",
|
|
"@types/webpack": "4.32.1",
|
|
"@types/webpack-dev-server": "3.1.7",
|
|
"@types/whatwg-url": "6.4.0",
|
|
"autoprefixer": "^9.6.1",
|
|
"babel-jest": "^24.8.0",
|
|
"babel-loader": "^8.0.6",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"browserslist": "^4.6.6",
|
|
"bundlesize": "^0.17.2",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chalk": "^2.4.2",
|
|
"chokidar-cli": "^2.0.0",
|
|
"chrome-webstore-upload-cli": "^1.2.0",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^3.1.0",
|
|
"eslint": "^6.1.0",
|
|
"fancy-log": "^1.3.3",
|
|
"get-port": "^5.0.0",
|
|
"gql2ts": "^1.10.1",
|
|
"graphql": "^14.4.2",
|
|
"graphql-schema-linter": "^0.2.1",
|
|
"gulp": "^4.0.1",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^24.8.0",
|
|
"jsdom": "^15.1.1",
|
|
"json-schema-ref-parser": "^7.1.0",
|
|
"json-schema-to-typescript": "^6.1.0",
|
|
"message-port-polyfill": "^0.2.0",
|
|
"mini-css-extract-plugin": "^0.8.0",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"mockdate": "^2.0.2",
|
|
"monaco-editor-webpack-plugin": "^1.7.0",
|
|
"mz": "^2.7.0",
|
|
"node-sass": "^4.12.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"p-retry": "^4.1.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"prettier": "^1.18.2",
|
|
"puppeteer": "1.19.0",
|
|
"puppeteer-firefox": "^0.5.0",
|
|
"react-docgen-typescript-webpack-plugin": "^1.1.0",
|
|
"react-hot-loader": "^4.12.10",
|
|
"react-test-renderer": "^16.8.6",
|
|
"react-testing-library": "^5.4.2",
|
|
"sass-loader": "^7.1.0",
|
|
"shelljs": "^0.8.3",
|
|
"signale": "^1.4.0",
|
|
"simmerjs": "^0.5.6",
|
|
"sinon": "^7.4.0",
|
|
"socket.io": "^2.2.0",
|
|
"socket.io-client": "^2.2.0",
|
|
"style-loader": "^0.23.1",
|
|
"stylelint": "^10.1.0",
|
|
"terser-webpack-plugin": "^1.3.0",
|
|
"ts-node": "^8.3.0",
|
|
"tslint": "^5.18.0",
|
|
"typescript": "^3.5.3",
|
|
"utc-version": "^2.0.1",
|
|
"web-ext": "npm:@sourcegraph/web-ext@^3.0.0-fork.1",
|
|
"webpack": "^4.39.1",
|
|
"webpack-dev-server": "^3.7.2",
|
|
"worker-loader": "^2.0.0",
|
|
"yarn-deduplicate": "^1.1.1"
|
|
},
|
|
"dependencies": {
|
|
"@hot-loader/react-dom": "^16.8.6",
|
|
"@sentry/browser": "^5.5.0",
|
|
"@slimsag/react-shortcuts": "^1.2.1",
|
|
"@sourcegraph/codeintellify": "^6.2.2",
|
|
"@sourcegraph/comlink": "^3.1.1-fork.3",
|
|
"@sourcegraph/extension-api-classes": "^1.0.2",
|
|
"@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.3.1",
|
|
"classnames": "^2.2.6",
|
|
"copy-to-clipboard": "^3.2.0",
|
|
"core-js": "^3.1.4",
|
|
"d3-axis": "^1.0.12",
|
|
"d3-scale": "^3.0.1",
|
|
"d3-selection": "^1.4.0",
|
|
"d3-shape": "^1.3.5",
|
|
"date-fns": "^2.0.0-alpha.31",
|
|
"downshift": "^3.2.10",
|
|
"graphiql": "^0.13.2",
|
|
"he": "^1.2.0",
|
|
"highlight.js": "^9.15.9",
|
|
"lodash": "^4.17.15",
|
|
"marked": "^0.6.3",
|
|
"mdi-react": "^5.5.0",
|
|
"minimatch": "^3.0.4",
|
|
"monaco-editor": "^0.17.1",
|
|
"open-color": "^1.6.3",
|
|
"pretty-bytes": "^5.3.0",
|
|
"react": "^16.8.6",
|
|
"react-circular-progressbar": "^1.0.0",
|
|
"react-dom": "npm:@hot-loader/react-dom@^16.8.6",
|
|
"react-dom-confetti": "^0.1.1",
|
|
"react-router": "^5.0.1",
|
|
"react-router-dom": "^5.0.1",
|
|
"react-stripe-elements": "^3.0.0",
|
|
"react-visibility-sensor": "^5.0.2",
|
|
"reactstrap": "^8.0.0",
|
|
"regenerator-runtime": "^0.13.3",
|
|
"rxjs": "^6.5.2",
|
|
"sanitize-html": "^1.20.0",
|
|
"semver": "^6.0.0",
|
|
"sourcegraph": "link:packages/sourcegraph-extension-api",
|
|
"string-score": "^1.0.1",
|
|
"symbol-observable": "^1.2.0",
|
|
"textarea-caret": "^3.1.0",
|
|
"ts-key-enum": "^2.0.0",
|
|
"tslib": "^1.10.0",
|
|
"utility-types": "^3.7.0",
|
|
"uuid": "^3.3.2",
|
|
"webext-domain-permission-toggle": "^0.1.0",
|
|
"webextension-polyfill": "^0.4.0",
|
|
"whatwg-url": "^7.0.0"
|
|
},
|
|
"resolutions": {
|
|
"history": "4.5.1"
|
|
}
|
|
}
|