sourcegraph/client/web/package.json
2023-08-10 10:07:11 +00:00

56 lines
2.9 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": "jest --testPathIgnorePatterns end-to-end --testPathIgnorePatterns regression integration",
"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",
"task:gulp": "cross-env NODE_OPTIONS=\"--max_old_space_size=8192\" gulp",
"dev": "pnpm task:gulp dev",
"unsafeDev": "pnpm task:gulp unsafeDev",
"build": "pnpm task:gulp build",
"watch": "pnpm task:gulp watch",
"watch-webpack": "pnpm task:gulp watchWebpack",
"webpack": "pnpm task:gulp webpack",
"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",
"browserslist": "pnpm exec browserslist",
"analyze-bundle": "WEBPACK_USE_NAMED_CHUNKS=true NODE_ENV=production ENTERPRISE=1 WEBPACK_BUNDLE_ANALYZER=1 pnpm build",
"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.5",
"@sourcegraph/cody-ui": "^0.0.6",
"@sourcegraph/common": "workspace:*",
"@sourcegraph/http-client": "workspace:*",
"@sourcegraph/observability-client": "workspace:*",
"@sourcegraph/schema": "workspace:*",
"@sourcegraph/shared": "workspace:*",
"@sourcegraph/wildcard": "workspace:*"
}
}