2018-10-01 06:08:12 +00:00
|
|
|
{
|
2018-10-28 08:13:08 +00:00
|
|
|
"private": true,
|
2018-10-01 06:08:12 +00:00
|
|
|
"description": "The Sourcegraph web app",
|
|
|
|
|
"license": "MIT",
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/sourcegraph/sourcegraph"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
2018-11-06 21:00:55 +00:00
|
|
|
"node": ">=8.0.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"yarn": "^1.10.1"
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2018-11-12 09:05:35 +00:00
|
|
|
"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",
|
2018-11-15 08:20:11 +00:00
|
|
|
"graphql": "gulp graphQLTypes",
|
2018-11-12 09:05:35 +00:00
|
|
|
"graphql-lint": "graphql-schema-linter --old-implements-syntax --comment-descriptions cmd/frontend/graphqlbackend/schema.graphql",
|
|
|
|
|
"prepublish": "gulp generate"
|
2018-10-01 06:08:12 +00:00
|
|
|
},
|
2018-11-12 09:05:35 +00:00
|
|
|
"browserslist": [
|
|
|
|
|
"last 1 version",
|
|
|
|
|
">1%",
|
|
|
|
|
"not dead",
|
|
|
|
|
"not <0.25%",
|
|
|
|
|
"last 1 Chrome versions",
|
|
|
|
|
"not IE > 0"
|
|
|
|
|
],
|
2018-10-01 06:08:12 +00:00
|
|
|
"devDependencies": {
|
2018-11-12 09:05:35 +00:00
|
|
|
"@babel/core": "^7.1.5",
|
2018-11-01 08:25:31 +00:00
|
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@babel/polyfill": "^7.0.0",
|
|
|
|
|
"@babel/preset-env": "^7.1.5",
|
|
|
|
|
"@babel/runtime": "^7.0.0",
|
2018-10-17 19:35:10 +00:00
|
|
|
"@gql2ts/from-schema": "^1.10.1",
|
2018-11-01 07:25:26 +00:00
|
|
|
"@gql2ts/language-typescript": "^1.9.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@semantic-release/exec": "^3.1.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"@sourcegraph/prettierrc": "^2.2.0",
|
2018-10-03 20:23:12 +00:00
|
|
|
"@sourcegraph/stylelint-config": "^1.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@sourcegraph/tsconfig": "^3.0.0",
|
|
|
|
|
"@sourcegraph/tslint-config": "^12.0.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",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/babel__core": "7.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/babelify": "7.3.6",
|
|
|
|
|
"@types/bluebird": "3.5.24",
|
|
|
|
|
"@types/browserify": "12.0.36",
|
|
|
|
|
"@types/chai": "4.1.7",
|
|
|
|
|
"@types/chalk": "2.2.0",
|
|
|
|
|
"@types/cpy": "5.1.0",
|
|
|
|
|
"@types/cypress": "1.1.3",
|
|
|
|
|
"@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",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/fancy-log": "1.3.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/filesystem": "0.0.29",
|
|
|
|
|
"@types/get-stream": "3.0.1",
|
|
|
|
|
"@types/globby": "8.0.0",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/graphql": "14.0.3",
|
|
|
|
|
"@types/gulp": "4.0.5",
|
|
|
|
|
"@types/highlight.js": "9.12.3",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/jsdom": "11.12.0",
|
|
|
|
|
"@types/lodash": "4.14.118",
|
|
|
|
|
"@types/lodash-es": "4.17.1",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/marked": "0.4.2",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/mermaid": "8.0.0",
|
|
|
|
|
"@types/mini-css-extract-plugin": "0.2.0",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/mkdirp-promise": "5.0.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/mocha": "5.2.5",
|
|
|
|
|
"@types/mz": "0.0.32",
|
|
|
|
|
"@types/node": "10.12.2",
|
|
|
|
|
"@types/ora": "1.3.4",
|
|
|
|
|
"@types/p-retry": "2.0.0",
|
|
|
|
|
"@types/plugin-error": "0.1.0",
|
|
|
|
|
"@types/pretty-bytes": "5.1.0",
|
|
|
|
|
"@types/puppeteer": "1.6.3",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/react": "16.7.3",
|
|
|
|
|
"@types/react-dom": "16.0.9",
|
|
|
|
|
"@types/react-router": "4.4.1",
|
|
|
|
|
"@types/react-router-dom": "4.3.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/react-stripe-elements": "1.1.8",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/reactstrap": "6.4.2",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@types/semver": "5.5.0",
|
|
|
|
|
"@types/shelljs": "0.8.0",
|
|
|
|
|
"@types/signale": "1.2.0",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/sinon": "5.0.5",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@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",
|
2018-10-28 08:13:08 +00:00
|
|
|
"@types/webpack": "4.4.17",
|
2018-11-12 09:29:11 +00:00
|
|
|
"@types/webpack-dev-server": "3.1.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"autoprefixer": "^9.0.0",
|
|
|
|
|
"babel-core": "^6.26.3",
|
|
|
|
|
"babel-loader": "^8.0.0",
|
|
|
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
|
|
|
"babel-runtime": "^6.26.0",
|
|
|
|
|
"babelify": "^10.0.0",
|
|
|
|
|
"bluebird": "^3.5.1",
|
|
|
|
|
"browserify": "^16.2.2",
|
|
|
|
|
"browserslist": "^4.3.4",
|
|
|
|
|
"bundlesize": "^0.17.0",
|
|
|
|
|
"chai": "^4.1.2",
|
2018-11-01 07:25:26 +00:00
|
|
|
"child_process": "^1.0.2",
|
2018-11-12 09:05:35 +00:00
|
|
|
"chokidar-cli": "^1.2.1",
|
2018-11-08 20:04:56 +00:00
|
|
|
"concurrently": "^4.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"cpy": "^7.0.1",
|
|
|
|
|
"cross-env": "^5.2.0",
|
|
|
|
|
"css-loader": "^1.0.0",
|
|
|
|
|
"cypress": "^3.1.0",
|
|
|
|
|
"cypress-browser-extension-plugin": "^0.1.0",
|
|
|
|
|
"esm": "^3.0.82",
|
|
|
|
|
"execa": "^1.0.0",
|
|
|
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
2018-11-01 07:25:26 +00:00
|
|
|
"fancy-log": "^1.3.2",
|
2018-11-12 09:05:35 +00:00
|
|
|
"get-graphql-schema": "^2.1.1",
|
|
|
|
|
"get-stream": "^4.0.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"globby": "^8.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"gql2ts": "^1.2.1",
|
2018-11-01 07:25:26 +00:00
|
|
|
"graphql": "^14.0.2",
|
|
|
|
|
"graphql-schema-linter": "^0.1.6",
|
2018-10-01 06:08:12 +00:00
|
|
|
"gulp": "^4.0.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"jsdom": "^12.2.0",
|
|
|
|
|
"jsdom-global": "^3.0.2",
|
2018-11-01 07:25:26 +00:00
|
|
|
"json-schema-ref-parser": "^6.0.2",
|
2018-10-27 19:32:34 +00:00
|
|
|
"json-schema-to-typescript": "^6.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"latest-version": "^4.0.0",
|
|
|
|
|
"mini-css-extract-plugin": "^0.4.4",
|
2018-11-01 07:25:26 +00:00
|
|
|
"mkdirp-promise": "^5.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"mocha": "^5.0.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"mz": "^2.7.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"node-sass": "^4.9.4",
|
|
|
|
|
"node-sass-import-once": "^1.2.0",
|
|
|
|
|
"nyc": "^13.1.0",
|
|
|
|
|
"ora": "^3.0.0",
|
|
|
|
|
"p-retry": "^2.0.0",
|
2018-11-01 07:25:26 +00:00
|
|
|
"path": "^0.12.7",
|
2018-10-01 06:08:12 +00:00
|
|
|
"plugin-error": "^1.0.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"postcss-loader": "^3.0.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"prettier": "1.13.7",
|
2018-11-12 09:05:35 +00:00
|
|
|
"puppeteer": "~1.8.0",
|
|
|
|
|
"raf": "^3.4.0",
|
|
|
|
|
"raw-loader": "^0.5.1",
|
|
|
|
|
"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",
|
2018-11-01 07:25:26 +00:00
|
|
|
"stylelint": "^9.7.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"stylelint-formatter-compact": "^1.1.0",
|
|
|
|
|
"ts-loader": "^5.0.0",
|
|
|
|
|
"ts-node": "^7.0.1",
|
|
|
|
|
"tsify": "^4.0.0",
|
|
|
|
|
"tslint": "^5.11.0",
|
|
|
|
|
"tslint-language-service": "^0.9.9",
|
|
|
|
|
"typescript": "^3.1.6",
|
|
|
|
|
"uglifyjs-webpack-plugin": "^1.2.4",
|
2018-10-28 08:13:08 +00:00
|
|
|
"webpack": "^4.23.1",
|
2018-11-12 09:05:35 +00:00
|
|
|
"webpack-dev-server": "^3.1.10",
|
2018-11-12 23:06:41 +00:00
|
|
|
"worker-loader": "^2.0.0",
|
|
|
|
|
"typedoc": "^0.13.0"
|
2018-11-12 09:05:35 +00:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
|
|
|
|
"@slimsag/react-shortcuts": "^1.2.1",
|
2018-11-12 12:32:53 +00:00
|
|
|
"@sourcegraph/codeintellify": "^3.9.3",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@sourcegraph/react-loading-spinner": "0.0.6",
|
|
|
|
|
"@sqs/jsonc-parser": "^1.0.3",
|
|
|
|
|
"babel-plugin-istanbul": "^5.0.1",
|
|
|
|
|
"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",
|
|
|
|
|
"highlight.js": "^9.13.1",
|
|
|
|
|
"intersection-observer": "^0.5.0",
|
|
|
|
|
"javascript-typescript-langserver": "^2.9.4",
|
|
|
|
|
"lodash": "^4.17.10",
|
|
|
|
|
"lodash-es": "^4.17.10",
|
|
|
|
|
"marked": "^0.5.1",
|
|
|
|
|
"mdi-react": "^4.0.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.3.1",
|
|
|
|
|
"react-router-dom": "^4.3.1",
|
|
|
|
|
"react-stripe-elements": "^2.0.1",
|
|
|
|
|
"react-visibility-sensor": "^4.0.0",
|
|
|
|
|
"reactstrap": "^6.5.0",
|
|
|
|
|
"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",
|
|
|
|
|
"vscode-languageserver-types": "^3.12.0",
|
|
|
|
|
"webext-domain-permission-toggle": "^0.0.2",
|
|
|
|
|
"whatwg-url": "^7.0.0"
|
2018-10-01 06:08:12 +00:00
|
|
|
}
|
|
|
|
|
}
|