sourcegraph/client/web/package.json
2023-12-20 16:23:45 -03:00

52 lines
2.6 KiB
JSON

{
"private": true,
"name": "@sourcegraph/web",
"version": "1.10.1",
"description": "The Sourcegraph web app",
"scripts": {
"build-ts": "tsc --build tsconfig.json --emitDeclarationOnly",
"test": "vitest",
"task:mocha": "cross-env TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha",
"test:regression": "pnpm run task:mocha './src/regression/**/*.test.ts' --exit",
"test:regression:codeintel": "pnpm task:mocha ./src/regression/codeintel.test.ts",
"test:regression:config-settings": "pnpm task:mocha ./src/regression/config-settings.test.ts",
"test:regression:core": "pnpm task:mocha ./src/regression/core.test.ts",
"test:regression:init": "pnpm task:mocha ./src/regression/init.test.ts",
"test:regression:integrations": "pnpm task:mocha ./src/regression/integrations.test.ts",
"test:regression:onboarding": "pnpm task:mocha ./src/regression/onboarding.test.ts",
"test:regression:search": "pnpm task:mocha ./src/regression/search.test.ts",
"storybook": "STORIES_GLOB='client/web/src/**/*.story.tsx' pnpm --filter @sourcegraph/storybook run start",
"serve:dev": "ts-node-transpile-only --project ./dev/tsconfig.json ./dev/server/development.server.ts",
"serve:prod": "ts-node-transpile-only --project ./dev/tsconfig.json ./dev/server/production.server.ts",
"generate": "pnpm -w run generate",
"dev": "ts-node -T dev/esbuild/server.ts",
"build": "pnpm run generate && ts-node -T dev/esbuild/build.ts",
"watch": "WATCH=1 pnpm run --silent build",
"lint": "pnpm lint:js && pnpm:lint:css",
"lint:js": "NODE_OPTIONS=\"--max_old_space_size=16192\" eslint --cache '**/*.[tj]s?(x)'",
"lint:css": "stylelint 'src/**/*.scss' --quiet",
"bundlesize": "pnpm exec bundlesize --config=./bundlesize.config.js",
"report-bundle-diff": "ts-node-transpile-only scripts/report-bundle-diff"
},
"devDependencies": {
"@sourcegraph/build-config": "workspace:*",
"@sourcegraph/extension-api-types": "workspace:*",
"@sourcegraph/storybook": "workspace:*",
"@sourcegraph/testing": "workspace:*"
},
"dependencies": {
"@sourcegraph/branded": "workspace:*",
"@sourcegraph/client-api": "workspace:*",
"@sourcegraph/codeintellify": "workspace:*",
"@sourcegraph/cody-shared": "^0.0.9",
"@sourcegraph/cody-ui": "^0.0.7",
"@sourcegraph/common": "workspace:*",
"@sourcegraph/http-client": "workspace:*",
"@sourcegraph/observability-client": "workspace:*",
"@sourcegraph/schema": "workspace:*",
"@sourcegraph/shared": "workspace:*",
"@sourcegraph/telemetry": "^0.11.0",
"@sourcegraph/wildcard": "workspace:*"
}
}