forked from sourcegraph/sourcegraph-public-snapshot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
34 lines (34 loc) · 1.46 KB
/
package.json
File metadata and controls
34 lines (34 loc) · 1.46 KB
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
{
"private": true,
"name": "webapp",
"version": "1.10.1",
"description": "The Sourcegraph web app",
"license": "MIT",
"scripts": {
"test": "jest --testPathIgnorePatterns e2e --testPathIgnorePatterns regression",
"test-e2e": "jest --coverage=false --runInBand ./e2e/e2e.test",
"test-regression": "jest --coverage=false --runInBand ./regression/",
"test-e2e-sgdev": "env SOURCEGRAPH_BASE_URL=https://sourcegraph.sgdev.org OVERRIDE_AUTH_SECRET=${SGDEV_OVERRIDE_AUTH_SECRET} jest --coverage=false --runInBand ./e2e/e2e.test",
"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",
"webpack": "cross-env NODE_OPTIONS=\"--max_old_space_size=4096\" gulp webpack",
"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)'",
"eslint": "eslint 'src/**/*.ts?(x)'",
"stylelint": "stylelint 'src/**/*.scss'",
"bundlesize": "cross-env GITHUB_TOKEN= bundlesize",
"browserslist": "browserslist"
},
"bundlesize": [
{
"path": "../ui/assets/styles/app.bundle.css"
},
{
"path": "../ui/assets/scripts/app.bundle.js"
}
],
"jest": {
"testURL": "http://localhost:3080"
}
}