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
49 lines (49 loc) · 2.78 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 2.78 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"private": true,
"name": "@sourcegraph/browser",
"version": "1.0.0",
"license": "Apache-2.0",
"scripts": {
"storybook": "STORIES_GLOB='client/browser/src/**/*.story.tsx' pnpm --filter @sourcegraph/storybook run start",
"build-inline-extensions": "node scripts/build-inline-extensions",
"predev": "pnpm run build-inline-extensions",
"dev": "pnpm run predev && NODE_ENV=development NODE_OPTIONS=--max_old_space_size=8192 ts-node-transpile-only scripts/development",
"dev:no-reload": "AUTO_RELOAD=false pnpm run dev",
"dev:firefox": "if type web-ext 2>/dev/null; then pnpm dev & web-ext run --source-dir ./build/firefox; else echo 'web-ext not found. Install it with: pnpm global add web-ext'; exit 1; fi",
"dev:chrome": "TARGETS=chrome pnpm run dev",
"dev:edge": "TARGETS=edge pnpm run dev",
"dev:safari": "TARGETS=safari pnpm run build",
"prebuild": "pnpm -w run generate && pnpm run build-inline-extensions",
"build": "pnpm run prebuild && NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 ts-node-transpile-only scripts/build",
"release": "pnpm release:chrome",
"release:chrome": "pnpm webstore upload --auto-publish --source build/bundles/chrome-bundle.zip --extension-id dgjhfomjieaadpoljlnidmbgkdffpack --client-id $GOOGLE_CLIENT_ID --client-secret $GOOGLE_CLIENT_SECRET --refresh-token $GOOGLE_REFRESH_TOKEN",
"release:firefox": "./scripts/release-firefox.sh",
"release:npm": "TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\":\\\"commonjs\\\"}\" ts-node-transpile-only ./scripts/publish-npm.ts",
"lint": "eslint && stylelint",
"lint:js": "eslint --cache '**/*.[jt]s?(x)'",
"lint:css": "stylelint 'src/**/*.scss'",
"clean": "rm -rf build/ dist/ *.zip *.xpi .checksum",
"test": "vitest",
"test-e2e": "TS_NODE_PROJECT=src/end-to-end/tsconfig.json mocha './src/end-to-end/**/*.test.ts'",
"run-integration": "TS_NODE_PROJECT=src/integration/tsconfig.json SOURCEGRAPH_BASE_URL=https://sourcegraph.com mocha --parallel=${CI:-\"false\"} --retries=2 ./src/integration/**/*.test.ts",
"test-integration": "node scripts/test-integration",
"record-integration": "node scripts/record-integration",
"create-source-zip": "node scripts/create-source-zip"
},
"devDependencies": {
"@sourcegraph/build-config": "workspace:*",
"@sourcegraph/extension-api-types": "workspace:*",
"@sourcegraph/testing": "workspace:*",
"sourcegraph": "workspace:*"
},
"dependencies": {
"@sourcegraph/common": "workspace:*",
"@sourcegraph/shared": "workspace:*",
"@sourcegraph/wildcard": "workspace:*",
"@sourcegraph/branded": "workspace:*",
"@sourcegraph/http-client": "workspace:*",
"@sourcegraph/client-api": "workspace:*",
"@sourcegraph/codeintellify": "workspace:*",
"@sourcegraph/telemetry": "^0.16.0"
}
}