-
Notifications
You must be signed in to change notification settings - Fork 143
/
package.json
212 lines (212 loc) · 6.93 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"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": "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": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --require ts-node/register mocha --timeout 10000 './src/**/*.test.ts?(x)'",
"test-e2e": "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": "NODE_OPTIONS=\"--max_old_space_size=4096\" gulp build",
"watch": "NODE_OPTIONS=\"--max_old_space_size=4096\" gulp watch",
"watch-webpack": "NODE_OPTIONS=\"--max_old_space_size=4096\" gulp watchWebpack",
"dist": "NODE_OPTIONS=\"--max_old_space_size=4096\" gulp dist",
"webpack": "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": "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",
"@sourcegraph/codeintellify": "^3.8.4",
"@sourcegraph/extensions-client-common": "^8.8.0",
"@sqs/jsonc-parser": "^1.0.3",
"@types/react": "16.4.14",
"@types/react-dom": "16.0.7",
"@types/react-router": "4.0.30",
"@types/react-router-dom": "4.3.0",
"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",
"fbjs": "^0.8.17",
"get-stream": "^4.0.0",
"graphiql": "^0.11.11",
"graphql": "0.13.0",
"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.0",
"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.8.0",
"@sourcegraph/prettierrc": "^2.2.0",
"@sourcegraph/stylelint-config": "^1.0.0",
"@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.33",
"@types/chai": "4.1.4",
"@types/cpy": "5.1.0",
"@types/d3-axis": "1.0.10",
"@types/d3-scale": "2.0.1",
"@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": "0.13.4",
"@types/gulp": "4.0.5",
"@types/highlight.js": "9.12.3",
"@types/http-proxy-middleware": "0.17.5",
"@types/jsdom": "11.0.6",
"@types/marked": "0.4.1",
"@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.0.3",
"@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",
"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",
"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": "^1.2.0",
"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"
}
}