2018-10-01 06:08:12 +00:00
|
|
|
{
|
2018-10-28 08:13:08 +00:00
|
|
|
"private": true,
|
2018-10-01 06:08:12 +00:00
|
|
|
"description": "The Sourcegraph web app",
|
2021-03-26 07:35:26 +00:00
|
|
|
"license": "Apache-2.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/sourcegraph/sourcegraph"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
2021-08-19 10:32:43 +00:00
|
|
|
"node": "^v16.7.0",
|
2020-08-07 20:16:39 +00:00
|
|
|
"yarn": "^1.22.4"
|
2018-10-01 06:08:12 +00:00
|
|
|
},
|
|
|
|
|
"scripts": {
|
2022-04-14 07:37:25 +00:00
|
|
|
"format": "prettier '**/{*.{js?(on),ts?(x),graphql,md,scss},.*.js?(on)}' --write --list-different --config prettier.config.js",
|
|
|
|
|
"format:check": "yarn -s run format --write=false --check --list-different=false --loglevel=warn",
|
|
|
|
|
"_lint:js": "DOCSITE_LIST=\"$(./dev/docsite.sh -config doc/docsite.json ls)\" NODE_OPTIONS=\"--max_old_space_size=16192\" eslint",
|
2022-04-22 12:39:49 +00:00
|
|
|
"lint:js:changed": "yarn _lint:js $(git diff --diff-filter=d --name-only origin/main... | grep -E '\\.[tj]sx?$' | xargs)",
|
2022-04-20 12:22:08 +00:00
|
|
|
"lint:js:root": "yarn -s run _lint:js --quiet '*.[tj]s?(x)'",
|
|
|
|
|
"lint:js:all": "DOCSITE_LIST=\"$(./dev/docsite.sh -config doc/docsite.json ls)\" dev/foreach-ts-project.sh yarn -s run lint:js --quiet && yarn -s lint:js:root",
|
2022-04-14 11:50:56 +00:00
|
|
|
"_lint:css": "stylelint --quiet",
|
2022-04-21 13:57:55 +00:00
|
|
|
"lint:css:changed": "yarn _lint:css --allow-empty-input \"*.none\" $(git diff --diff-filter=d --name-only origin/main... | grep -E '.s?css$' | xargs)",
|
2022-04-14 11:50:56 +00:00
|
|
|
"lint:css:all": "yarn _lint:css 'client/*/src/**/*.scss'",
|
2022-04-14 07:37:25 +00:00
|
|
|
"lint:graphql": "graphql-schema-linter",
|
2020-10-08 13:14:34 +00:00
|
|
|
"build-ts": "tsc -b tsconfig.all.json",
|
2021-03-26 07:35:26 +00:00
|
|
|
"build-web": "yarn workspace @sourcegraph/web run build",
|
|
|
|
|
"watch-web": "yarn workspace @sourcegraph/web run watch",
|
2020-08-04 18:54:35 +00:00
|
|
|
"generate": "gulp generate",
|
|
|
|
|
"watch-generate": "gulp watchGenerate",
|
2022-03-01 09:59:14 +00:00
|
|
|
"test": "jest --testPathIgnorePatterns end-to-end regression integration storybook /out/.*test.js",
|
2022-04-14 07:37:25 +00:00
|
|
|
"_test-integration": "TS_NODE_PROJECT=client/web/src/integration/tsconfig.json mocha --parallel=$CI --retries=1 --jobs=2",
|
2022-04-14 11:57:12 +00:00
|
|
|
"test-integration": "yarn _test-integration \"./client/web/src/integration/**/*.test.ts\"",
|
2022-06-24 10:51:00 +00:00
|
|
|
"test-integration:debug": "BROWSER=chrome KEEP_BROWSER=true DEVTOOLS=true DISABLE_APP_ASSETS_MOCKING=true WINDOW_WIDTH=1920 WINDOW_HEIGHT=1080 yarn _test-integration --retries=0 --jobs=1",
|
2022-04-12 07:13:18 +00:00
|
|
|
"test-browser-integration": "yarn workspace @sourcegraph/browser run test-integration",
|
2022-04-21 12:02:23 +00:00
|
|
|
"_cover-integration": "nyc --hook-require=false --silent yarn _test-integration",
|
|
|
|
|
"cover-integration": "nyc --hook-require=false --silent yarn test-integration",
|
|
|
|
|
"cover-browser-integration": "nyc --hook-require=false --silent yarn workspace @sourcegraph/browser test-integration",
|
2021-10-11 08:00:29 +00:00
|
|
|
"test-lighthouse": "SOURCEGRAPH_API_URL=https://sourcegraph.com lhci collect && lhci open",
|
2022-04-11 05:56:45 +00:00
|
|
|
"test-e2e": "TS_NODE_PROJECT=client/web/src/end-to-end/tsconfig.json mocha ./client/web/src/end-to-end/**/*.test.ts",
|
2022-04-21 12:02:23 +00:00
|
|
|
"cover-e2e": "nyc --hook-require=false --silent yarn test-e2e",
|
2021-04-08 09:16:26 +00:00
|
|
|
"storybook": "yarn workspace @sourcegraph/storybook run start",
|
2021-07-01 12:35:07 +00:00
|
|
|
"storybook:dll": "yarn workspace @sourcegraph/storybook run start:dll",
|
2021-06-23 14:23:19 +00:00
|
|
|
"storybook:branded": "yarn workspace @sourcegraph/branded run storybook",
|
|
|
|
|
"storybook:browser": "yarn workspace @sourcegraph/browser run storybook",
|
|
|
|
|
"storybook:shared": "yarn workspace @sourcegraph/shared run storybook",
|
|
|
|
|
"storybook:web": "yarn workspace @sourcegraph/web run storybook",
|
2022-01-20 17:56:23 +00:00
|
|
|
"storybook:search-ui": "yarn workspace @sourcegraph/search-ui run storybook",
|
2021-06-23 14:23:19 +00:00
|
|
|
"storybook:wildcard": "yarn workspace @sourcegraph/wildcard run storybook",
|
2021-04-08 09:16:26 +00:00
|
|
|
"build-storybook": "yarn workspace @sourcegraph/storybook run build",
|
2022-04-21 12:02:23 +00:00
|
|
|
"cover-storybook": "nyc --hook-require=false --silent yarn jest client/storybook/src/coverage",
|
2020-12-07 23:51:26 +00:00
|
|
|
"deduplicate": "yarn-deduplicate -s fewer",
|
2020-12-24 06:51:42 +00:00
|
|
|
"release": "cd dev/release && yarn run release",
|
2021-03-25 01:00:52 +00:00
|
|
|
"docsite:serve": "./dev/docsite.sh -config doc/docsite.json serve -http=localhost:5080",
|
2022-04-12 07:13:18 +00:00
|
|
|
"build-browser-extension": "yarn workspace @sourcegraph/browser run build",
|
2022-04-13 16:41:07 +00:00
|
|
|
"optimize-svg-assets": "svgo --multipass --config=\"./svgo.config.js\"",
|
|
|
|
|
"build-vsce": "yarn --cwd client/vscode run build",
|
|
|
|
|
"watch-vsce": "yarn --cwd client/vscode run watch"
|
2018-10-01 06:08:12 +00:00
|
|
|
},
|
2018-11-12 09:05:35 +00:00
|
|
|
"browserslist": [
|
|
|
|
|
"last 1 version",
|
|
|
|
|
">1%",
|
|
|
|
|
"not dead",
|
|
|
|
|
"not <0.25%",
|
|
|
|
|
"last 1 Chrome versions",
|
2021-10-08 09:55:50 +00:00
|
|
|
"last 3 Safari major versions",
|
2018-11-12 09:05:35 +00:00
|
|
|
"not IE > 0"
|
|
|
|
|
],
|
2020-04-06 21:15:33 +00:00
|
|
|
"nyc": {
|
2020-05-14 11:15:42 +00:00
|
|
|
"extends": "@istanbuljs/nyc-config-typescript",
|
2020-04-06 21:15:33 +00:00
|
|
|
"all": true,
|
|
|
|
|
"extension": [
|
|
|
|
|
".tsx",
|
|
|
|
|
".ts"
|
|
|
|
|
],
|
|
|
|
|
"include": [
|
2020-10-09 16:07:06 +00:00
|
|
|
"client/*/src/**/*.ts?(x)"
|
2020-04-06 21:15:33 +00:00
|
|
|
],
|
|
|
|
|
"exclude": [
|
|
|
|
|
"node_modules",
|
|
|
|
|
"**/*.d.ts",
|
2021-04-08 09:16:26 +00:00
|
|
|
"**/*.@(test|story).ts?(x)",
|
2021-04-16 17:07:02 +00:00
|
|
|
"client/storybook",
|
|
|
|
|
"client/shared/src/testing"
|
2020-04-06 21:15:33 +00:00
|
|
|
]
|
|
|
|
|
},
|
2019-05-03 21:20:47 +00:00
|
|
|
"jscpd": {
|
|
|
|
|
"gitignore": true,
|
|
|
|
|
"ignore": [
|
|
|
|
|
"**/__snapshots__",
|
|
|
|
|
"**/__fixtures__",
|
|
|
|
|
"**/*.svg",
|
|
|
|
|
"migrations",
|
2019-05-06 17:36:03 +00:00
|
|
|
"browser/build",
|
2019-05-03 21:20:47 +00:00
|
|
|
"ui",
|
|
|
|
|
"**/assets"
|
|
|
|
|
]
|
|
|
|
|
},
|
2021-03-26 07:35:26 +00:00
|
|
|
"workspaces": {
|
|
|
|
|
"packages": [
|
2021-04-14 10:04:19 +00:00
|
|
|
"client/*",
|
|
|
|
|
"client/sandboxes/*"
|
2021-03-26 07:35:26 +00:00
|
|
|
]
|
|
|
|
|
},
|
2018-10-01 06:08:12 +00:00
|
|
|
"devDependencies": {
|
2020-05-27 06:47:18 +00:00
|
|
|
"@atlassian/aui": "^7.10.1",
|
2022-03-24 16:47:44 +00:00
|
|
|
"@axe-core/puppeteer": "^4.4.2",
|
2021-05-18 10:47:57 +00:00
|
|
|
"@babel/core": "^7.14.2",
|
|
|
|
|
"@babel/plugin-proposal-decorators": "^7.14.2",
|
2021-04-21 20:01:20 +00:00
|
|
|
"@babel/plugin-transform-typescript": "^7.13.0",
|
2021-05-18 10:47:57 +00:00
|
|
|
"@babel/preset-env": "^7.14.2",
|
2021-04-13 18:20:09 +00:00
|
|
|
"@babel/preset-typescript": "^7.13.0",
|
2021-05-18 10:47:57 +00:00
|
|
|
"@babel/runtime": "^7.14.0",
|
2022-04-22 06:09:34 +00:00
|
|
|
"@datadog/browser-rum-slim": "^4.7.1",
|
2018-10-17 19:35:10 +00:00
|
|
|
"@gql2ts/from-schema": "^1.10.1",
|
2018-11-01 07:25:26 +00:00
|
|
|
"@gql2ts/language-typescript": "^1.9.0",
|
2020-06-24 09:00:55 +00:00
|
|
|
"@gql2ts/types": "^1.9.0",
|
2020-12-04 00:33:03 +00:00
|
|
|
"@graphql-codegen/cli": "^1.19.4",
|
2020-08-25 10:18:53 +00:00
|
|
|
"@graphql-codegen/typescript": "1.17.9",
|
2021-07-21 08:38:24 +00:00
|
|
|
"@graphql-codegen/typescript-apollo-client-helpers": "^1.1.9",
|
2020-08-25 10:18:53 +00:00
|
|
|
"@graphql-codegen/typescript-operations": "1.17.8",
|
2020-05-14 11:15:42 +00:00
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
2022-02-23 10:07:43 +00:00
|
|
|
"@jest/types": "^27.5.1",
|
2021-10-11 08:00:29 +00:00
|
|
|
"@lhci/cli": "0.8.1",
|
2021-12-16 02:31:30 +00:00
|
|
|
"@mermaid-js/mermaid-cli": "^8.13.4",
|
2020-01-02 02:23:58 +00:00
|
|
|
"@octokit/rest": "^16.36.0",
|
2021-07-09 11:00:09 +00:00
|
|
|
"@peculiar/webcrypto": "^1.1.7",
|
2022-06-23 11:14:34 +00:00
|
|
|
"@percy/cli": "^1.2.1",
|
2021-09-23 14:32:25 +00:00
|
|
|
"@percy/puppeteer": "^2.0.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.0-rc.1",
|
2020-09-25 22:03:11 +00:00
|
|
|
"@pollyjs/adapter": "^5.0.0",
|
2021-01-14 13:37:32 +00:00
|
|
|
"@pollyjs/core": "^5.1.0",
|
2020-07-16 15:33:55 +00:00
|
|
|
"@pollyjs/persister-fs": "^5.0.0",
|
2022-06-28 03:04:57 +00:00
|
|
|
"@slack/web-api": "^5.15.0",
|
2022-06-03 14:13:00 +00:00
|
|
|
"@sourcegraph/eslint-config": "0.31.0",
|
2022-05-25 02:38:47 +00:00
|
|
|
"@sourcegraph/eslint-plugin-sourcegraph": "^1.0.5",
|
2022-03-02 14:19:54 +00:00
|
|
|
"@sourcegraph/eslint-plugin-wildcard": "1.0.0",
|
2020-03-22 14:10:21 +00:00
|
|
|
"@sourcegraph/prettierrc": "^3.0.3",
|
2022-01-28 15:25:17 +00:00
|
|
|
"@sourcegraph/stylelint-config": "^1.4.0",
|
2022-05-05 04:27:26 +00:00
|
|
|
"@sourcegraph/stylelint-plugin-sourcegraph": "^1.0.1",
|
2020-03-25 02:35:43 +00:00
|
|
|
"@sourcegraph/tsconfig": "^4.0.1",
|
2022-03-13 12:09:18 +00:00
|
|
|
"@statoscope/webpack-plugin": "^5.20.1",
|
2022-06-07 03:30:11 +00:00
|
|
|
"@storybook/addon-a11y": "^6.5.7",
|
|
|
|
|
"@storybook/addon-actions": "^6.5.7",
|
2021-11-09 16:03:25 +00:00
|
|
|
"@storybook/addon-console": "^1.2.3",
|
2022-06-07 03:30:11 +00:00
|
|
|
"@storybook/addon-knobs": "^6.4.0",
|
|
|
|
|
"@storybook/addon-links": "^6.5.7",
|
|
|
|
|
"@storybook/addon-storyshots": "^6.5.7",
|
|
|
|
|
"@storybook/addon-storyshots-puppeteer": "^6.5.7",
|
|
|
|
|
"@storybook/addon-toolbars": "^6.5.7",
|
|
|
|
|
"@storybook/addons": "^6.5.7",
|
|
|
|
|
"@storybook/api": "^6.5.7",
|
|
|
|
|
"@storybook/builder-webpack5": "^6.5.7",
|
|
|
|
|
"@storybook/client-api": "^6.5.7",
|
|
|
|
|
"@storybook/components": "^6.5.7",
|
|
|
|
|
"@storybook/core": "^6.5.7",
|
|
|
|
|
"@storybook/core-events": "^6.5.7",
|
|
|
|
|
"@storybook/manager-webpack5": "^6.5.7",
|
|
|
|
|
"@storybook/react": "^6.5.7",
|
|
|
|
|
"@storybook/theming": "^6.5.7",
|
2021-04-22 16:30:36 +00:00
|
|
|
"@terminus-term/to-string-loader": "^1.1.7-beta.1",
|
2022-04-11 15:14:26 +00:00
|
|
|
"@testing-library/dom": "^8.13.0",
|
|
|
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
|
|
|
"@testing-library/react": "^12.1.4",
|
|
|
|
|
"@testing-library/react-hooks": "^7.0.2",
|
2021-11-19 02:08:37 +00:00
|
|
|
"@testing-library/user-event": "^13.5.0",
|
2020-11-03 03:19:56 +00:00
|
|
|
"@types/babel__core": "7.1.12",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/bloomfilter": "0.0.0",
|
|
|
|
|
"@types/case-sensitive-paths-webpack-plugin": "2.1.5",
|
2020-11-03 07:34:01 +00:00
|
|
|
"@types/chai": "4.2.14",
|
2020-07-06 22:45:58 +00:00
|
|
|
"@types/chai-as-promised": "7.1.3",
|
2021-01-01 08:38:30 +00:00
|
|
|
"@types/chrome": "0.0.127",
|
2020-03-06 21:16:19 +00:00
|
|
|
"@types/classnames": "2.2.10",
|
2019-12-01 15:11:06 +00:00
|
|
|
"@types/command-exists": "1.2.0",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/compression": "1.7.2",
|
|
|
|
|
"@types/compression-webpack-plugin": "9.0.0",
|
|
|
|
|
"@types/connect-history-api-fallback": "1.3.4",
|
|
|
|
|
"@types/css-minimizer-webpack-plugin": "3.0.1",
|
2019-03-02 10:07:19 +00:00
|
|
|
"@types/d3-axis": "1.0.12",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/d3-format": "2.0.0",
|
2020-04-01 15:40:13 +00:00
|
|
|
"@types/d3-scale": "2.2.0",
|
2019-03-02 10:24:47 +00:00
|
|
|
"@types/d3-selection": "1.4.1",
|
2019-11-01 08:14:00 +00:00
|
|
|
"@types/d3-shape": "1.3.2",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/d3-time-format": "3.0.0",
|
2022-03-02 17:02:36 +00:00
|
|
|
"@types/escape-html": "^1.0.1",
|
2020-02-01 08:09:55 +00:00
|
|
|
"@types/expect": "24.3.0",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/express": "4.17.11",
|
2019-03-02 10:41:51 +00:00
|
|
|
"@types/fancy-log": "1.3.1",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/glob": "7.1.3",
|
2020-06-01 07:19:14 +00:00
|
|
|
"@types/got": "9.6.11",
|
2020-10-02 03:51:17 +00:00
|
|
|
"@types/gulp": "4.0.7",
|
2020-06-01 07:19:52 +00:00
|
|
|
"@types/highlight.js": "9.12.4",
|
2019-09-01 07:16:18 +00:00
|
|
|
"@types/is-absolute-url": "3.0.0",
|
2022-02-23 10:07:43 +00:00
|
|
|
"@types/jest": "27.4.0",
|
2020-12-01 08:22:55 +00:00
|
|
|
"@types/js-cookie": "2.2.6",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/js-yaml": "4.0.3",
|
2019-07-01 10:11:34 +00:00
|
|
|
"@types/jsdom": "12.2.4",
|
2021-01-01 17:53:19 +00:00
|
|
|
"@types/lodash": "4.14.167",
|
2022-04-15 04:12:08 +00:00
|
|
|
"@types/lru-cache": "^7.6.1",
|
2022-04-11 09:17:07 +00:00
|
|
|
"@types/marked": "4.0.3",
|
2020-07-13 19:22:02 +00:00
|
|
|
"@types/mime-types": "2.1.0",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/mini-css-extract-plugin": "2.0.1",
|
2021-01-01 08:39:41 +00:00
|
|
|
"@types/mocha": "8.2.0",
|
2019-04-12 08:05:57 +00:00
|
|
|
"@types/mockdate": "2.0.0",
|
2021-01-01 08:40:16 +00:00
|
|
|
"@types/mz": "2.7.3",
|
2020-05-08 15:23:18 +00:00
|
|
|
"@types/node": "13.13.5",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/node-fetch": "2.5.10",
|
2020-10-30 18:19:08 +00:00
|
|
|
"@types/pollyjs__core": "4.3.1",
|
2020-10-30 15:59:33 +00:00
|
|
|
"@types/pollyjs__persister-fs": "2.0.1",
|
2022-04-13 16:41:07 +00:00
|
|
|
"@types/puppeteer": "^5.4.5",
|
2022-04-11 15:14:26 +00:00
|
|
|
"@types/react": "17.0.43",
|
2020-03-03 06:22:56 +00:00
|
|
|
"@types/react-circular-progressbar": "1.0.2",
|
2022-04-11 15:14:26 +00:00
|
|
|
"@types/react-dom": "17.0.14",
|
2021-12-03 13:11:44 +00:00
|
|
|
"@types/react-grid-layout": "1.3.0",
|
2021-01-07 10:51:07 +00:00
|
|
|
"@types/react-router": "5.1.10",
|
2021-01-01 15:23:24 +00:00
|
|
|
"@types/react-router-dom": "5.1.7",
|
2020-03-01 09:13:08 +00:00
|
|
|
"@types/reactstrap": "8.4.2",
|
2021-01-01 10:03:20 +00:00
|
|
|
"@types/recharts": "1.8.18",
|
2020-12-01 13:27:23 +00:00
|
|
|
"@types/resize-observer-browser": "0.1.4",
|
2022-04-13 16:41:07 +00:00
|
|
|
"@types/rimraf": "^3.0.2",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/sanitize-html": "2.3.0",
|
|
|
|
|
"@types/sass": "1.16.1",
|
2020-07-03 00:48:58 +00:00
|
|
|
"@types/semver": "7.3.1",
|
2020-06-05 15:25:36 +00:00
|
|
|
"@types/shelljs": "0.8.8",
|
2020-04-02 22:33:34 +00:00
|
|
|
"@types/signale": "1.4.1",
|
2019-11-01 12:14:42 +00:00
|
|
|
"@types/simmerjs": "0.5.1",
|
2020-06-04 10:06:26 +00:00
|
|
|
"@types/sinon": "9.0.4",
|
2020-08-01 08:49:15 +00:00
|
|
|
"@types/socket.io": "2.1.10",
|
2020-06-01 15:06:26 +00:00
|
|
|
"@types/socket.io-client": "1.4.33",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/speed-measure-webpack-plugin": "1.3.4",
|
|
|
|
|
"@types/terser-webpack-plugin": "5.0.4",
|
|
|
|
|
"@types/testing-library__jest-dom": "5.9.5",
|
2019-04-15 21:52:51 +00:00
|
|
|
"@types/textarea-caret": "3.0.0",
|
2020-08-07 19:55:38 +00:00
|
|
|
"@types/uuid": "8.0.1",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/webpack-bundle-analyzer": "4.4.1",
|
|
|
|
|
"@types/webpack-dev-server": "4.0.3",
|
|
|
|
|
"@types/webpack-manifest-plugin": "3.0.5",
|
2022-04-13 16:41:07 +00:00
|
|
|
"@types/yauzl": "^2.9.2",
|
|
|
|
|
"@vscode/test-electron": "^2.1.3",
|
2019-09-20 20:21:24 +00:00
|
|
|
"abort-controller": "^3.0.0",
|
2021-01-13 11:23:32 +00:00
|
|
|
"autoprefixer": "^10.2.1",
|
2022-03-24 16:47:44 +00:00
|
|
|
"axe-core": "^4.4.1",
|
2020-05-26 12:17:39 +00:00
|
|
|
"babel-jest": "^25.5.1",
|
2021-05-18 10:47:57 +00:00
|
|
|
"babel-loader": "^8.2.2",
|
2018-11-12 09:05:35 +00:00
|
|
|
"babel-plugin-lodash": "^3.3.4",
|
2020-12-04 14:19:19 +00:00
|
|
|
"babel-preset-react-app": "^10.0.0",
|
2021-10-19 15:34:21 +00:00
|
|
|
"browserslist": "^4.17.4",
|
2022-06-10 02:42:45 +00:00
|
|
|
"buffer": "^6.0.3",
|
2021-10-29 08:48:10 +00:00
|
|
|
"bundlesize2": "^0.0.31",
|
2019-05-01 13:27:33 +00:00
|
|
|
"chai": "^4.2.0",
|
use jest for testing (#1456)
Goal: help people write reliable UI code by making it easier to write and run tests.
Using Facebook's [jest](https://jestjs.io) for tests helps us achieve this goal because:
- jest has great first-class support for testing React components (see https://jestjs.io/docs/en/tutorial-react) and is by far the most popular way that people test React components, so the bugs are ironed out and the tooling is good
- jest can run all of our tests (`shared/`, `web/`, and `client/browser/` -- and unit tests **AND** e2e tests) from the same runner (`yarn test` in the root dir)
- jest has a great `--watch` UI and a good [vscode-jest extension](https://github.com/jest-community/vscode-jest)
- debugging tests in VS Code works with no additional effort
- jest requires a lot less configuration and code to set up testing and coverage than Mocha (no `--require ts-node --require source-map-support mocha.opts --require long-stack-traces --require esm ...`, no test-time bundling required using `unit-test-utils.ts`, etc.)
**Note:** Most of the diff is from https://github.com/skovhus/jest-codemods, which automatically updates our test code to use jest style (`describe`, `test`, `expect`, etc., not `it` and `assert`).
jest appears to be the most popular tool for solving the problem that we have (testing a large web/multi-platform application), and it was surprisingly painless to set up and a joy to use.
TODOs:
- [x] Make it pass on Buildkite
- [x] Ensure e2e, screenshots-after-failures, and coverage still work on Buildkite
- [x] Test on macOS
- [x] Add docs to repo
---
Usage:
> This is also documented in `doc/dev/testing.md` and `doc/dev/web_app.md`.
- To run all unit tests, run `yarn test` from the root directory.
- To run unit tests in development (only running the tests related to uncommitted code), run `yarn test --watch`.
- And/or use [vscode-jest](https://github.com/jest-community/vscode-jest) with `jest.autoEnable: true` (and, if you want, `jest.showCoverageOnLoad: true`)
- To debug tests in VS Code, use [vscode-jest](https://github.com/jest-community/vscode-jest) and click the **Debug** code lens next to any `test('name ...', ...)` definition in your test file (be sure to set a breakpoint or break on uncaught exceptions by clicking in the left gutter).
- e2e tests:
- To run e2e tests for the browser extension: `cd client/browser && yarn test-e2e`
- To run e2e tests for the browser extension: `cd web && yarn test-e2e`
- You can also run `yarn test` from any of the individual project dirs (`shared/`, `web/`, `client/browser/`).
Usually while developing you will either have `yarn test --watch` running in a terminal or you will use vscode-jest.
---
Notes:
- There are no regressions. The following are all preserved as before: Puppeteer screenshots after test failures, jsdom tests, e2e tests, Codecov and lcov coverage, VS Code integration, etc.
- You will need to write tests using [jest matchers](https://jestjs.io/docs/en/using-matchers) (or [jest async matchers](https://jestjs.io/docs/en/asynchronous) for async code), not `assert`. They are very similar.
- You need to use `test()` instead of `it()` for defining test cases.
2018-12-17 02:13:40 +00:00
|
|
|
"chai-as-promised": "^7.1.1",
|
2020-07-07 12:07:20 +00:00
|
|
|
"chalk": "^4.1.0",
|
2019-11-01 14:35:11 +00:00
|
|
|
"chokidar-cli": "^2.1.0",
|
2022-06-28 03:04:57 +00:00
|
|
|
"chromatic": "^5.10.2",
|
2018-11-15 18:18:11 +00:00
|
|
|
"chrome-webstore-upload-cli": "^1.2.0",
|
2020-05-15 15:09:51 +00:00
|
|
|
"command-exists": "^1.2.9",
|
2021-10-11 08:00:29 +00:00
|
|
|
"compression": "^1.7.4",
|
2021-10-15 10:55:12 +00:00
|
|
|
"compression-webpack-plugin": "^9.0.0",
|
2021-05-07 11:01:10 +00:00
|
|
|
"connect-history-api-fallback": "^1.6.0",
|
2020-03-07 00:23:52 +00:00
|
|
|
"cross-env": "^7.0.2",
|
2021-07-19 08:08:50 +00:00
|
|
|
"css-loader": "^5.2.6",
|
|
|
|
|
"css-minimizer-webpack-plugin": "^3.0.2",
|
2022-03-10 01:38:35 +00:00
|
|
|
"elm": "^0.19.1-3",
|
|
|
|
|
"elm-webpack-loader": "^8.0.0",
|
2022-06-10 02:42:45 +00:00
|
|
|
"enhanced-resolve": "^5.9.3",
|
2021-12-13 11:26:05 +00:00
|
|
|
"esbuild": "^0.14.2",
|
2022-05-31 06:08:01 +00:00
|
|
|
"eslint": "^8.13.0",
|
2020-06-15 13:39:19 +00:00
|
|
|
"eslint-formatter-lsif": "^1.0.3",
|
2021-04-06 11:40:59 +00:00
|
|
|
"eslint-plugin-monorepo": "^0.3.2",
|
2022-06-10 02:42:45 +00:00
|
|
|
"events": "^3.3.0",
|
2021-01-14 13:38:09 +00:00
|
|
|
"execa": "^5.0.0",
|
2021-05-07 11:01:10 +00:00
|
|
|
"express": "^4.17.1",
|
2021-10-15 10:55:12 +00:00
|
|
|
"express-static-gzip": "^2.1.1",
|
2018-12-30 08:56:48 +00:00
|
|
|
"fancy-log": "^1.3.3",
|
2020-02-01 16:15:46 +00:00
|
|
|
"get-port": "^5.1.1",
|
2021-04-19 12:35:49 +00:00
|
|
|
"glob": "^7.1.6",
|
2022-01-11 23:44:36 +00:00
|
|
|
"google-protobuf": "3.17.3",
|
2020-03-03 06:18:07 +00:00
|
|
|
"googleapis": "^47.0.0",
|
2019-05-01 11:48:45 +00:00
|
|
|
"gql2ts": "^1.10.1",
|
2020-12-04 14:25:28 +00:00
|
|
|
"graphql": "^15.4.0",
|
2021-01-06 11:46:17 +00:00
|
|
|
"graphql-schema-linter": "^2.0.1",
|
2019-09-09 01:52:46 +00:00
|
|
|
"gulp": "^4.0.2",
|
2021-05-07 11:01:10 +00:00
|
|
|
"html-webpack-harddisk-plugin": "^2.0.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"html-webpack-plugin": "^5.3.2",
|
2021-05-07 11:01:10 +00:00
|
|
|
"http-proxy-middleware": "^1.1.2",
|
2019-01-08 07:44:08 +00:00
|
|
|
"identity-obj-proxy": "^3.0.0",
|
2022-02-23 10:07:43 +00:00
|
|
|
"jest": "^27.5.1",
|
2021-02-01 20:53:50 +00:00
|
|
|
"jest-canvas-mock": "^2.3.0",
|
2022-02-23 10:07:43 +00:00
|
|
|
"jest-environment-jsdom": "^27.5.1",
|
2021-11-24 10:42:50 +00:00
|
|
|
"jest-fetch-mock": "^3.0.3",
|
2022-02-15 09:59:32 +00:00
|
|
|
"jest-junit": "^13.0.0",
|
2021-09-15 12:01:02 +00:00
|
|
|
"jest-mock-extended": "^2.0.2-beta2",
|
2021-11-24 23:45:40 +00:00
|
|
|
"jsdom": "^16.7.0",
|
2020-08-07 18:14:04 +00:00
|
|
|
"json-schema-ref-parser": "^9.0.6",
|
2021-03-18 00:46:15 +00:00
|
|
|
"json-schema-to-typescript": "^10.1.3",
|
2019-09-09 03:22:53 +00:00
|
|
|
"latest-version": "^5.1.0",
|
2020-04-16 20:44:54 +00:00
|
|
|
"license-checker": "^25.0.1",
|
2019-08-05 10:24:43 +00:00
|
|
|
"message-port-polyfill": "^0.2.0",
|
2021-01-06 11:36:51 +00:00
|
|
|
"mime-types": "^2.1.28",
|
2021-07-19 08:08:50 +00:00
|
|
|
"mini-css-extract-plugin": "^2.1.0",
|
2021-04-16 17:07:02 +00:00
|
|
|
"mocha": "^8.3.2",
|
2020-06-01 14:30:40 +00:00
|
|
|
"mockdate": "^3.0.2",
|
2021-05-13 17:51:00 +00:00
|
|
|
"monaco-editor-webpack-plugin": "^3.1.0",
|
2018-10-01 06:08:12 +00:00
|
|
|
"mz": "^2.7.0",
|
2022-03-30 16:46:00 +00:00
|
|
|
"node-fetch": "^2.6.7",
|
2020-06-04 10:09:08 +00:00
|
|
|
"nyc": "^15.1.0",
|
2020-06-01 13:18:22 +00:00
|
|
|
"open": "^7.0.4",
|
2019-11-08 00:03:39 +00:00
|
|
|
"p-retry": "^4.2.0",
|
2021-01-13 12:57:58 +00:00
|
|
|
"p-timeout": "^4.1.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"postcss": "^8.3.5",
|
2021-05-10 10:35:01 +00:00
|
|
|
"postcss-custom-media": "^8.0.0",
|
2020-05-20 13:20:28 +00:00
|
|
|
"postcss-focus-visible": "^5.0.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"postcss-loader": "^6.1.1",
|
2021-09-01 19:29:26 +00:00
|
|
|
"postcss-modules": "^4.2.2",
|
2022-06-07 03:30:11 +00:00
|
|
|
"prettier": "2.2.1",
|
2021-07-19 08:08:50 +00:00
|
|
|
"process": "^0.11.10",
|
2022-01-11 23:44:36 +00:00
|
|
|
"protoc-gen-ts": "0.8.1",
|
2022-04-13 16:41:07 +00:00
|
|
|
"puppeteer": "^13.5.1",
|
2020-02-01 16:12:45 +00:00
|
|
|
"puppeteer-firefox": "^0.5.1",
|
2021-04-14 10:04:19 +00:00
|
|
|
"react-refresh": "^0.10.0",
|
2022-04-13 16:41:07 +00:00
|
|
|
"rimraf": "^3.0.2",
|
2021-01-13 11:29:09 +00:00
|
|
|
"sass": "^1.32.4",
|
2021-07-19 08:08:50 +00:00
|
|
|
"sass-loader": "^12.1.0",
|
2020-06-05 15:25:36 +00:00
|
|
|
"shelljs": "^0.8.4",
|
2019-05-01 13:18:13 +00:00
|
|
|
"signale": "^1.4.0",
|
2019-05-03 08:40:15 +00:00
|
|
|
"simmerjs": "^0.5.6",
|
2020-06-04 10:06:26 +00:00
|
|
|
"sinon": "^9.0.2",
|
2022-06-28 03:29:46 +00:00
|
|
|
"socket.io": "^2.4.1",
|
|
|
|
|
"socket.io-client": "^2.4.0",
|
2021-06-24 08:35:53 +00:00
|
|
|
"speed-measure-webpack-plugin": "^1.5.0",
|
2022-06-07 03:30:11 +00:00
|
|
|
"storybook-addon-designs": "^6.2.1",
|
|
|
|
|
"storybook-dark-mode": "^1.1.0",
|
2022-06-10 02:42:45 +00:00
|
|
|
"stream-browserify": "^3.0.0",
|
2020-01-17 17:43:24 +00:00
|
|
|
"string-width": "^4.2.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"style-loader": "^3.1.0",
|
2022-01-28 15:25:17 +00:00
|
|
|
"stylelint": "^14.3.0",
|
2021-10-27 14:27:36 +00:00
|
|
|
"svgo": "^2.7.0",
|
2020-02-03 15:41:11 +00:00
|
|
|
"term-size": "^2.2.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"terser-webpack-plugin": "^5.1.4",
|
|
|
|
|
"thread-loader": "^3.0.4",
|
2022-05-31 05:57:14 +00:00
|
|
|
"ts-loader": "^9.3.0",
|
2022-04-13 16:41:07 +00:00
|
|
|
"ts-node": "^10.7.0",
|
2021-04-14 10:46:49 +00:00
|
|
|
"typed-scss-modules": "^4.1.1",
|
2022-05-31 05:57:14 +00:00
|
|
|
"typescript": "^4.7.2",
|
2020-06-03 07:10:10 +00:00
|
|
|
"utc-version": "^2.0.2",
|
2022-04-13 16:41:07 +00:00
|
|
|
"vsce": "^2.7.0",
|
2021-12-16 09:39:22 +00:00
|
|
|
"web-ext": "^5.2.0",
|
2021-07-19 08:08:50 +00:00
|
|
|
"webpack": "^5.45.1",
|
|
|
|
|
"webpack-bundle-analyzer": "^4.4.2",
|
|
|
|
|
"webpack-cli": "^4.7.2",
|
2021-08-31 05:05:42 +00:00
|
|
|
"webpack-dev-server": "^4.0.0",
|
2021-04-14 12:42:41 +00:00
|
|
|
"webpack-manifest-plugin": "^3.1.0",
|
2021-10-06 23:04:21 +00:00
|
|
|
"wildcard-mock-link": "^2.0.1",
|
2021-03-18 00:43:12 +00:00
|
|
|
"worker-loader": "^3.0.8",
|
2022-04-13 16:41:07 +00:00
|
|
|
"yarn-deduplicate": "^3.1.0",
|
|
|
|
|
"yauzl": "^2.10.0"
|
2018-11-12 09:05:35 +00:00
|
|
|
},
|
|
|
|
|
"dependencies": {
|
2022-03-25 13:23:28 +00:00
|
|
|
"@apollo/client": "^3.5.0",
|
2022-05-18 09:52:50 +00:00
|
|
|
"@codemirror/autocomplete": "^0.20.1",
|
|
|
|
|
"@codemirror/commands": "^0.20.0",
|
2022-07-01 09:41:57 +00:00
|
|
|
"@codemirror/lang-json": "^0.20",
|
2022-05-18 09:52:50 +00:00
|
|
|
"@codemirror/lang-markdown": "^0.20.0",
|
|
|
|
|
"@codemirror/language": "^0.20.0",
|
|
|
|
|
"@codemirror/state": "^0.20.0",
|
|
|
|
|
"@codemirror/view": "^0.20.4",
|
|
|
|
|
"@lezer/highlight": "^0.16.0",
|
2022-06-20 12:39:31 +00:00
|
|
|
"@mdi/js": "^6.7.96",
|
2022-05-20 02:38:20 +00:00
|
|
|
"@microsoft/fetch-event-source": "^2.0.1",
|
2022-05-31 17:40:48 +00:00
|
|
|
"@radix-ui/react-tooltip": "^0.1.8 || 0.1.8-rc.2",
|
2022-03-13 12:09:18 +00:00
|
|
|
"@reach/accordion": "^0.16.1",
|
|
|
|
|
"@reach/combobox": "^0.16.5",
|
|
|
|
|
"@reach/dialog": "^0.16.2",
|
|
|
|
|
"@reach/listbox": "^0.16.2",
|
|
|
|
|
"@reach/menu-button": "^0.16.2",
|
|
|
|
|
"@reach/tabs": "^0.16.4",
|
|
|
|
|
"@reach/visually-hidden": "^0.16.0",
|
2022-04-28 09:16:52 +00:00
|
|
|
"@react-aria/live-announcer": "^3.0.5",
|
2021-10-05 12:37:15 +00:00
|
|
|
"@sentry/browser": "^6.13.2",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@slimsag/react-shortcuts": "^1.2.1",
|
2020-07-16 22:19:09 +00:00
|
|
|
"@sourcegraph/extension-api-classes": "^1.1.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"@sqs/jsonc-parser": "^1.0.3",
|
2022-05-25 02:25:16 +00:00
|
|
|
"@stripe/react-stripe-js": "^1.8.0-0",
|
|
|
|
|
"@stripe/stripe-js": "^1.29.0",
|
2022-05-31 14:20:53 +00:00
|
|
|
"@types/js-base64": "^3.3.1",
|
2021-12-03 03:28:20 +00:00
|
|
|
"@types/svgo": "2.6.0",
|
2022-01-21 00:06:56 +00:00
|
|
|
"@types/vscode": "^1.63.1",
|
2022-06-02 02:24:58 +00:00
|
|
|
"@visx/annotation": "^2.10.0",
|
|
|
|
|
"@visx/axis": "^2.10.0",
|
|
|
|
|
"@visx/glyph": "^2.10.0",
|
|
|
|
|
"@visx/grid": "^2.10.0",
|
|
|
|
|
"@visx/group": "^2.10.0",
|
|
|
|
|
"@visx/responsive": "^2.10.0",
|
|
|
|
|
"@visx/scale": "^2.2.2",
|
|
|
|
|
"@visx/voronoi": "^2.10.0",
|
2022-04-13 16:41:07 +00:00
|
|
|
"@vscode/codicons": "^0.0.29",
|
|
|
|
|
"@vscode/webview-ui-toolkit": "^0.9.0",
|
2021-10-26 15:20:51 +00:00
|
|
|
"ajv": "^8.6.3",
|
|
|
|
|
"ajv-formats": "^2.1.1",
|
2021-09-23 08:28:53 +00:00
|
|
|
"apollo3-cache-persist": "^0.12.1",
|
2021-05-25 07:48:33 +00:00
|
|
|
"bloomfilter": "^0.0.18",
|
2020-08-07 19:14:57 +00:00
|
|
|
"bootstrap": "^4.5.2",
|
2019-02-11 03:26:22 +00:00
|
|
|
"classnames": "^2.2.6",
|
2020-05-04 12:27:12 +00:00
|
|
|
"comlink": "^4.3.0",
|
2020-03-02 00:50:41 +00:00
|
|
|
"copy-to-clipboard": "^3.3.1",
|
2021-01-06 11:39:01 +00:00
|
|
|
"core-js": "^3.8.2",
|
2022-01-21 00:06:56 +00:00
|
|
|
"cross-fetch": "^3.1.4",
|
2019-05-01 14:28:21 +00:00
|
|
|
"d3-axis": "^1.0.12",
|
2021-04-09 12:34:06 +00:00
|
|
|
"d3-format": "^2.0.0",
|
2020-03-03 12:07:28 +00:00
|
|
|
"d3-scale": "^3.2.1",
|
2020-02-03 14:23:55 +00:00
|
|
|
"d3-selection": "^1.4.1",
|
2020-02-03 12:59:48 +00:00
|
|
|
"d3-shape": "^1.3.7",
|
2021-04-09 12:34:06 +00:00
|
|
|
"d3-time-format": "^3.0.0",
|
2020-11-21 04:32:41 +00:00
|
|
|
"date-fns": "^2.16.1",
|
2021-04-30 16:56:54 +00:00
|
|
|
"delay": "^4.4.1",
|
2020-01-02 02:21:31 +00:00
|
|
|
"downshift": "^3.4.8",
|
2022-03-02 17:02:36 +00:00
|
|
|
"escape-html": "^1.0.3",
|
2022-05-30 13:43:58 +00:00
|
|
|
"eventsource": "1.1.1",
|
2020-11-27 15:00:59 +00:00
|
|
|
"focus-visible": "^5.2.0",
|
2021-05-26 08:14:59 +00:00
|
|
|
"fzy.js": "^0.4.1",
|
2020-08-07 19:01:19 +00:00
|
|
|
"got": "^11.5.2",
|
2022-03-30 16:45:43 +00:00
|
|
|
"graphiql": "^1.8.0",
|
2021-01-06 13:47:09 +00:00
|
|
|
"highlight.js": "^10.5.0",
|
2020-11-27 14:46:58 +00:00
|
|
|
"highlightjs-graphql": "^1.0.2",
|
2021-11-17 10:18:38 +00:00
|
|
|
"http-status-codes": "^2.1.4",
|
2022-04-13 16:41:07 +00:00
|
|
|
"https-browserify": "^1.0.0",
|
2019-11-01 22:16:29 +00:00
|
|
|
"is-absolute-url": "^3.0.3",
|
2020-11-16 23:32:12 +00:00
|
|
|
"iterare": "^1.2.1",
|
2022-05-31 14:20:53 +00:00
|
|
|
"js-base64": "^3.7.2",
|
2020-11-20 22:52:02 +00:00
|
|
|
"js-cookie": "^2.2.1",
|
2021-10-26 15:20:51 +00:00
|
|
|
"js-yaml": "^4.1.0",
|
2021-05-13 21:20:21 +00:00
|
|
|
"linguist-languages": "^7.14.0",
|
2020-08-24 22:10:04 +00:00
|
|
|
"lodash": "^4.17.20",
|
2022-04-15 04:12:08 +00:00
|
|
|
"lru-cache": "^7.8.0",
|
2022-06-06 19:03:14 +00:00
|
|
|
"marked": "4.0.16",
|
2021-10-26 21:26:35 +00:00
|
|
|
"mdi-react": "^8.1.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"minimatch": "^3.0.4",
|
2021-05-13 17:51:00 +00:00
|
|
|
"monaco-editor": "^0.24.0",
|
2021-10-12 23:58:58 +00:00
|
|
|
"monaco-yaml": "^3.2.1",
|
2020-05-13 13:33:51 +00:00
|
|
|
"nice-ticks": "^1.0.1",
|
2021-01-06 11:36:36 +00:00
|
|
|
"open-color": "^1.8.0",
|
2022-06-06 23:01:49 +00:00
|
|
|
"ordinal": "^1.0.3",
|
2021-07-19 20:03:38 +00:00
|
|
|
"path-browserify": "^1.0.1",
|
2021-06-10 17:55:20 +00:00
|
|
|
"postcss-inset": "^1.0.0",
|
2019-08-06 10:41:11 +00:00
|
|
|
"pretty-bytes": "^5.3.0",
|
2021-05-14 22:55:42 +00:00
|
|
|
"prop-types": "^15.7.2",
|
2022-04-11 15:14:26 +00:00
|
|
|
"react": "^17.0.2",
|
2020-03-03 14:33:21 +00:00
|
|
|
"react-circular-progressbar": "^2.0.3",
|
2022-04-11 15:14:26 +00:00
|
|
|
"react-dom": "^17.0.2",
|
2020-07-03 00:47:01 +00:00
|
|
|
"react-dom-confetti": "^0.1.4",
|
2022-03-10 01:38:35 +00:00
|
|
|
"react-elm-components": "^1.1.0",
|
2022-03-13 12:09:18 +00:00
|
|
|
"react-focus-lock": "^2.7.1",
|
2021-12-03 13:11:44 +00:00
|
|
|
"react-grid-layout": "1.3.0",
|
2020-06-01 14:06:27 +00:00
|
|
|
"react-router": "^5.2.0",
|
|
|
|
|
"react-router-dom": "^5.2.0",
|
2022-06-21 12:30:54 +00:00
|
|
|
"react-router-dom-v5-compat": "^6.3.0",
|
2021-12-20 10:26:48 +00:00
|
|
|
"react-scroll-manager": "^1.0.3",
|
2022-03-09 17:56:19 +00:00
|
|
|
"react-select": "^5.2.2",
|
2022-01-24 23:02:54 +00:00
|
|
|
"react-spring": "^9.4.2",
|
2021-05-05 16:23:46 +00:00
|
|
|
"react-sticky-box": "^0.9.3",
|
2019-10-02 13:37:10 +00:00
|
|
|
"react-visibility-sensor": "^5.1.1",
|
2021-08-16 07:52:35 +00:00
|
|
|
"reactstrap": "^8.9.0",
|
2019-11-01 22:13:01 +00:00
|
|
|
"recharts": "^1.8.5",
|
2020-11-11 22:25:20 +00:00
|
|
|
"regexpp": "^3.1.0",
|
2020-11-27 04:51:49 +00:00
|
|
|
"rxjs": "^6.6.3",
|
2021-04-20 20:38:51 +00:00
|
|
|
"sanitize-html": "^2.0.0",
|
2020-05-08 15:26:09 +00:00
|
|
|
"semver": "^7.3.2",
|
2021-10-15 20:22:30 +00:00
|
|
|
"shepherd.js": "^8.3.1",
|
2022-04-13 16:41:07 +00:00
|
|
|
"stream-http": "^3.2.0",
|
2018-11-12 09:05:35 +00:00
|
|
|
"string-score": "^1.0.1",
|
2021-03-20 04:38:58 +00:00
|
|
|
"tabbable": "^5.1.5",
|
2020-04-20 16:05:16 +00:00
|
|
|
"tagged-template-noop": "^2.1.1",
|
2019-04-15 20:44:57 +00:00
|
|
|
"textarea-caret": "^3.1.0",
|
2021-01-13 11:19:23 +00:00
|
|
|
"ts-key-enum": "^2.0.7",
|
2021-01-06 13:49:58 +00:00
|
|
|
"tslib": "^2.1.0",
|
2021-08-17 14:30:46 +00:00
|
|
|
"use-callback-ref": "^1.2.5",
|
2021-01-14 13:39:59 +00:00
|
|
|
"use-deep-compare-effect": "^1.6.1",
|
2021-03-17 11:13:19 +00:00
|
|
|
"use-resize-observer": "^7.0.0",
|
2019-12-01 14:23:26 +00:00
|
|
|
"utility-types": "^3.10.0",
|
2020-08-07 19:55:38 +00:00
|
|
|
"uuid": "^8.3.0",
|
2020-05-15 16:24:12 +00:00
|
|
|
"webext-domain-permission-toggle": "^1.0.1",
|
2021-09-16 07:50:34 +00:00
|
|
|
"webextension-polyfill": "^0.6.0",
|
2021-09-20 22:24:40 +00:00
|
|
|
"yaml-ast-parser": "^0.0.43",
|
2022-01-17 18:56:52 +00:00
|
|
|
"zustand": "^3.6.9"
|
2019-06-12 12:07:44 +00:00
|
|
|
},
|
|
|
|
|
"resolutions": {
|
2020-09-23 20:21:31 +00:00
|
|
|
"history": "4.5.1",
|
2021-07-19 08:08:50 +00:00
|
|
|
"cssnano": "4.1.10",
|
2022-03-13 12:09:18 +00:00
|
|
|
"webpack": "5",
|
2022-06-07 03:30:11 +00:00
|
|
|
"tslib": "2.1.0",
|
|
|
|
|
"prettier": "2.2.1"
|
2018-10-01 06:08:12 +00:00
|
|
|
}
|
2022-04-11 05:56:45 +00:00
|
|
|
}
|