mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:31:48 +00:00
Revert "regression-tests: update custom mocha reporter to exit rather than mocha itself (#41266)" This reverts commit3b31a19dcb. This change's build's QA test timed out (https://buildkite.com/sourcegraph/sourcegraph/builds/172014#01831e2c-78c0-4046-8270-b3a8f5d48a90), the previous buildaa2c9830f1did not. The QA build hanging is causing all builds in main to fail after timing out.
37 lines
2.4 KiB
JSON
37 lines
2.4 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@sourcegraph/web",
|
|
"version": "1.10.1",
|
|
"description": "The Sourcegraph web app",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"test": "yarn run -T jest --testPathIgnorePatterns end-to-end --testPathIgnorePatterns regression integration",
|
|
"task:mocha": "yarn run -T cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha",
|
|
"test:regression": "yarn run task:mocha './src/regression/**/*.test.ts' --exit",
|
|
"test:regression:codeintel": "yarn task:mocha ./src/regression/codeintel.test.ts",
|
|
"test:regression:config-settings": "yarn task:mocha ./src/regression/config-settings.test.ts",
|
|
"test:regression:core": "yarn task:mocha ./src/regression/core.test.ts",
|
|
"test:regression:init": "yarn task:mocha ./src/regression/init.test.ts",
|
|
"test:regression:integrations": "yarn task:mocha ./src/regression/integrations.test.ts",
|
|
"test:regression:onboarding": "yarn task:mocha ./src/regression/onboarding.test.ts",
|
|
"test:regression:search": "yarn task:mocha ./src/regression/search.test.ts",
|
|
"test-e2e-sgdev": "yarn run -T cross-env SOURCEGRAPH_BASE_URL=https://sourcegraph.sgdev.org OVERRIDE_AUTH_SECRET=${SGDEV_OVERRIDE_AUTH_SECRET} yarn task:mocha ./src/end-to-end/end-to-end.test.ts",
|
|
"storybook": "STORIES_GLOB='client/web/src/**/*.story.tsx' yarn workspace @sourcegraph/storybook run start",
|
|
"serve:dev": "yarn run -T ts-node-transpile-only --project ./dev/tsconfig.json ./dev/server/development.server.ts",
|
|
"serve:prod": "yarn run -T ts-node-transpile-only --project ./dev/tsconfig.json ./dev/server/production.server.ts",
|
|
"task:gulp": "yarn run -T cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" gulp",
|
|
"dev": "yarn task:gulp dev",
|
|
"unsafeDev": "yarn task:gulp unsafeDev",
|
|
"build": "yarn task:gulp build",
|
|
"watch": "yarn task:gulp watch",
|
|
"watch-webpack": "yarn task:gulp watchWebpack",
|
|
"webpack": "yarn task:gulp webpack",
|
|
"lint": "yarn lint:js && yarn:lint:css",
|
|
"lint:js": "NODE_OPTIONS=\"--max_old_space_size=16192\" yarn run -T eslint --cache '**/*.[tj]s?(x)'",
|
|
"lint:css": "yarn run -T stylelint 'src/**/*.scss' --quiet",
|
|
"browserslist": "yarn run -T browserslist",
|
|
"analyze-bundle": "WEBPACK_USE_NAMED_CHUNKS=true NODE_ENV=production ENTERPRISE=1 WEBPACK_BUNDLE_ANALYZER=1 yarn build",
|
|
"bundlesize": "yarn run -T bundlesize --config=./bundlesize.config.js"
|
|
}
|
|
}
|