mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +00:00
215 lines
7.2 KiB
JSON
215 lines
7.2 KiB
JSON
{
|
|
"name": "@sourcegraph/webapp",
|
|
"version": "1.10.1",
|
|
"description": "The Sourcegraph web app",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/sourcegraph/sourcegraph"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"ui/assets/img"
|
|
],
|
|
"engines": {
|
|
"node": ">=8.0.0 <11.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",
|
|
"graphql-lint": "graphql-schema-linter --old-implements-syntax --comment-descriptions cmd/frontend/graphqlbackend/schema.graphql",
|
|
"test": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require src/util/long-stack-traces.ts --timeout 10000 'src/**/*.test.ts?(x)'",
|
|
"cover": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --require ts-node/register mocha --timeout 10000 './src/**/*.test.ts?(x)'",
|
|
"test-e2e": "cross-env OVERRIDE_AUTH_SECRET=sSsNGlI8fBDftBz0LDQNXEnP6lrWdt9g0fK6hoFvGQ TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require ./src/util/long-stack-traces.ts --timeout 60000 --slow 5000 --exit './src/**/*.test.e2e.ts?(x)'",
|
|
"build": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" gulp build",
|
|
"watch": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" gulp watch",
|
|
"watch-webpack": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" gulp watchWebpack",
|
|
"dist": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" gulp dist",
|
|
"webpack": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" gulp webpack",
|
|
"graphql": "gulp graphQLTypes",
|
|
"schema": "gulp schema",
|
|
"watch-schema": "gulp watchSchema",
|
|
"release": "gulp release",
|
|
"lint": "yarn run tslint && gulp unusedExports && yarn run stylelint",
|
|
"tslint": "tslint -t stylish -c tslint.json -p tsconfig.json -e 'src/schema/**' 'src/**/*.ts?(x)' 'types/**/*.ts?(x)' './*.ts?(x)'",
|
|
"stylelint": "stylelint --quiet 'src/**/*.scss'",
|
|
"stylelint-compact": "yarn run stylelint --custom-formatter ./node_modules/stylelint-formatter-compact/index.js",
|
|
"bundlesize": "cross-env GITHUB_TOKEN= bundlesize",
|
|
"browserslist": "browserslist"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./ui/assets/styles/app.bundle.css"
|
|
},
|
|
{
|
|
"path": "./ui/assets/scripts/app.bundle.js"
|
|
}
|
|
],
|
|
"nyc": {
|
|
"include": [
|
|
"src/**/*.ts?(x)"
|
|
],
|
|
"exclude": [
|
|
"**/*.test.ts?(x)"
|
|
],
|
|
"extension": [
|
|
".tsx",
|
|
".ts"
|
|
]
|
|
},
|
|
"browserslist": [
|
|
"last 1 version",
|
|
">1%",
|
|
"not dead",
|
|
"not <0.25%",
|
|
"last 1 Chrome versions",
|
|
"not IE > 0"
|
|
],
|
|
"dependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
|
|
"@babel/polyfill": "^7.0.0",
|
|
"@slimsag/react-shortcuts": "^1.2.1",
|
|
"@sourcegraph/codeintellify": "^3.9.0",
|
|
"@sourcegraph/extensions-client-common": "^10.3.1",
|
|
"@sqs/jsonc-parser": "^1.0.3",
|
|
"@types/react": "16.4.14",
|
|
"@types/react-dom": "16.0.8",
|
|
"@types/react-router": "4.0.31",
|
|
"@types/react-router-dom": "4.3.1",
|
|
"babel-plugin-istanbul": "^5.0.1",
|
|
"babelify": "^10.0.0",
|
|
"bluebird": "^3.5.1",
|
|
"bootstrap": "^4.1.3",
|
|
"browserify": "^16.2.2",
|
|
"chai": "^4.1.2",
|
|
"chokidar-cli": "^1.2.1",
|
|
"copy-to-clipboard": "^3.0.7",
|
|
"core-js": "^2.5.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",
|
|
"get-stream": "^4.0.0",
|
|
"graphiql": "^0.11.11",
|
|
"graphql": "14.0.2",
|
|
"graphql-schema-linter": "^0.1.6",
|
|
"highlight.js": "^9.12.0",
|
|
"javascript-typescript-langserver": "^2.5.4",
|
|
"jsdom": "^12.0.0",
|
|
"lodash": "^4.17.10",
|
|
"marked": "^0.5.0",
|
|
"mdi-react": "^4.0.0",
|
|
"mkdirp-promise": "^5.0.1",
|
|
"monaco-editor": "^0.14.0",
|
|
"open-color": "^1.6.2",
|
|
"ora": "^3.0.0",
|
|
"p-retry": "^2.0.0",
|
|
"postcss-loader": "^3.0.0",
|
|
"pretty-bytes": "^5.0.0",
|
|
"puppeteer": "~1.8.0",
|
|
"react": "^16.4.2",
|
|
"react-dom": "^16.4.2",
|
|
"react-router": "^4.3.1",
|
|
"react-router-dom": "^4.3.1",
|
|
"react-visibility-sensor": "^4.0.0",
|
|
"reactstrap": "^6.2.0",
|
|
"rxjs": "^6.3.2",
|
|
"sourcegraph": "^18.0.1",
|
|
"string-score": "^1.0.1",
|
|
"textarea-caret": "3.1.0",
|
|
"ts-key-enum": "^2.0.0",
|
|
"tsify": "^4.0.0",
|
|
"tslib": "^1.9.3",
|
|
"uuid": "^3.2.1",
|
|
"vscode-languageserver-types": "^3.12.0",
|
|
"webpack-serve": "^2.0.2",
|
|
"whatwg-url": "^7.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@gql2ts/from-schema": "^1.10.1",
|
|
"@sourcegraph/prettierrc": "^2.2.0",
|
|
"@sourcegraph/stylelint-config": "^1.0.1",
|
|
"@sourcegraph/tsconfig": "^3.0.0",
|
|
"@sourcegraph/tslint-config": "^12.0.0",
|
|
"@types/babel__core": "7.0.1",
|
|
"@types/babelify": "7.3.6",
|
|
"@types/bluebird": "3.5.24",
|
|
"@types/browserify": "12.0.36",
|
|
"@types/chai": "4.1.6",
|
|
"@types/cpy": "5.1.0",
|
|
"@types/d3-axis": "1.0.11",
|
|
"@types/d3-scale": "2.0.2",
|
|
"@types/d3-selection": "1.3.2",
|
|
"@types/d3-shape": "1.2.4",
|
|
"@types/execa": "0.9.0",
|
|
"@types/extract-text-webpack-plugin": "3.0.3",
|
|
"@types/fancy-log": "1.3.0",
|
|
"@types/get-stream": "3.0.1",
|
|
"@types/globby": "8.0.0",
|
|
"@types/graphql": "14.0.1",
|
|
"@types/gulp": "4.0.5",
|
|
"@types/highlight.js": "9.12.3",
|
|
"@types/http-proxy-middleware": "0.17.5",
|
|
"@types/jsdom": "11.12.0",
|
|
"@types/marked": "0.4.2",
|
|
"@types/mkdirp-promise": "5.0.0",
|
|
"@types/mocha": "5.2.5",
|
|
"@types/mz": "0.0.32",
|
|
"@types/node": "8.10.21",
|
|
"@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",
|
|
"@types/reactstrap": "6.4.0",
|
|
"@types/semver": "5.5.0",
|
|
"@types/textarea-caret": "3.0.0",
|
|
"@types/uglifyjs-webpack-plugin": "1.1.0",
|
|
"@types/uuid": "3.4.4",
|
|
"@types/webpack": "4.4.11",
|
|
"@types/webpack-serve": "2.0.0",
|
|
"autoprefixer": "^9.0.0",
|
|
"babel-loader": "^8.0.0",
|
|
"babel-plugin-lodash": "^3.3.4",
|
|
"bundlesize": "^0.17.0",
|
|
"cpy": "^7.0.1",
|
|
"cross-env": "^5.2.0",
|
|
"css-loader": "^1.0.0",
|
|
"execa": "^1.0.0",
|
|
"extract-text-webpack-plugin": "^4.0.0-beta.0",
|
|
"globby": "^8.0.1",
|
|
"gulp": "^4.0.0",
|
|
"http-proxy-middleware": "^0.19.0",
|
|
"husky": "^1.1.2",
|
|
"json-schema-to-typescript": "^5.2.2",
|
|
"koa-connect": "^2.0.1",
|
|
"latest-version": "^4.0.0",
|
|
"mocha": "^5.0.0",
|
|
"mz": "^2.7.0",
|
|
"node-sass": "^4.9.0",
|
|
"node-sass-import-once": "^1.2.0",
|
|
"nyc": "^13.0.1",
|
|
"plugin-error": "^1.0.1",
|
|
"prettier": "1.13.7",
|
|
"sass-loader": "^7.0.3",
|
|
"semver": "^5.5.1",
|
|
"source-map-support": "^0.5.6",
|
|
"style-loader": "^0.23.0",
|
|
"stylelint": "^9.4.0",
|
|
"stylelint-formatter-compact": "^1.1.0",
|
|
"thread-loader": "sourcegraph/thread-loader#6321efbc3524f18cd823dd300c1a8a7fe82ca3a5",
|
|
"ts-loader": "^5.0.0",
|
|
"ts-node": "^7.0.1",
|
|
"ts-unused-exports": "^2.0.5",
|
|
"tslint": "^5.11.0",
|
|
"tslint-language-service": "^0.9.9",
|
|
"typescript": "^3.0.3",
|
|
"uglifyjs-webpack-plugin": "^1.2.4",
|
|
"webpack": "^4.17.2",
|
|
"worker-loader": "^2.0.0"
|
|
}
|
|
}
|