2022-01-04 02:54:27 +00:00
|
|
|
{
|
|
|
|
"name": "coder-v2",
|
|
|
|
"description": "Coder V2 (Workspaces V2)",
|
|
|
|
"repository": "https://github.com/coder/coder",
|
|
|
|
"private": true,
|
2023-06-12 19:45:17 +00:00
|
|
|
"license": "AGPL-3.0",
|
2022-01-04 02:54:27 +00:00
|
|
|
"scripts": {
|
2023-08-02 18:28:16 +00:00
|
|
|
"build": "NODE_ENV=production pnpm vite build",
|
|
|
|
"check:all": "pnpm format:check && pnpm lint && pnpm test",
|
2022-04-06 21:51:49 +00:00
|
|
|
"chromatic": "chromatic",
|
2022-09-28 00:09:16 +00:00
|
|
|
"dev": "vite",
|
2024-03-05 23:31:22 +00:00
|
|
|
"format": "prettier --cache --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
|
2023-10-17 20:41:35 +00:00
|
|
|
"format:check": "prettier --cache --check '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
|
2024-03-05 23:31:22 +00:00
|
|
|
"lint": "pnpm run lint:types && jest --selectProjects lint",
|
|
|
|
"lint:fix": "eslint --fix e2e/ src/",
|
2024-01-24 20:53:44 +00:00
|
|
|
"lint:types": "tsc -p .",
|
2023-02-10 16:22:20 +00:00
|
|
|
"playwright:install": "playwright install --with-deps chromium",
|
2022-03-02 17:26:53 +00:00
|
|
|
"playwright:test": "playwright test --config=e2e/playwright.config.ts",
|
2024-04-11 21:10:40 +00:00
|
|
|
"playwright:test-ui": "playwright test --config=e2e/playwright.config.ts --ui $([[ \"$CODER\" == \"true\" ]] && echo --ui-port=7500 --ui-host=0.0.0.0)",
|
2023-08-18 08:50:43 +00:00
|
|
|
"gen:provisioner": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./e2e/ --ts_proto_opt=outputJsonMethods=false,outputEncodeMethods=encode-no-creation,outputClientImpl=false,nestJs=false,outputPartialMethods=false,fileSuffix=Generated,suffix=hey -I ../provisionersdk/proto ../provisionersdk/proto/provisioner.proto && pnpm exec prettier --ignore-path '/dev/null' --cache --write './e2e/provisionerGenerated.ts'",
|
2023-04-13 21:36:20 +00:00
|
|
|
"storybook": "STORYBOOK=true storybook dev -p 6006",
|
2023-08-23 18:12:00 +00:00
|
|
|
"storybook:build": "storybook build",
|
2024-01-30 21:23:40 +00:00
|
|
|
"storybook:ci": "storybook build --test",
|
2022-01-14 02:48:23 +00:00
|
|
|
"test": "jest --selectProjects test",
|
2023-01-19 16:48:32 +00:00
|
|
|
"test:ci": "jest --selectProjects test --silent",
|
2022-03-16 17:01:35 +00:00
|
|
|
"test:coverage": "jest --selectProjects test --collectCoverage",
|
2022-03-18 18:07:08 +00:00
|
|
|
"test:watch": "jest --selectProjects test --watch",
|
2024-01-30 21:23:40 +00:00
|
|
|
"test:storybook": "test-storybook",
|
2023-08-02 18:28:16 +00:00
|
|
|
"stats": "STATS=true pnpm build && npx http-server ./stats -p 8081 -c-1",
|
2023-11-14 18:34:38 +00:00
|
|
|
"deadcode": "ts-prune | grep -v \".stories\\|.config\\|e2e\\|__mocks__\\|used in module\\|testHelpers\\|typesGenerated\" || echo \"No deadcode found.\""
|
2022-01-04 02:54:27 +00:00
|
|
|
},
|
2022-03-15 00:24:26 +00:00
|
|
|
"dependencies": {
|
2023-07-12 20:22:56 +00:00
|
|
|
"@emoji-mart/data": "1.1.2",
|
2023-10-09 15:50:24 +00:00
|
|
|
"@emoji-mart/react": "1.1.1",
|
2023-09-29 19:08:17 +00:00
|
|
|
"@emotion/css": "11.11.2",
|
2023-07-12 14:58:24 +00:00
|
|
|
"@emotion/react": "11.11.1",
|
2023-05-23 15:43:46 +00:00
|
|
|
"@emotion/styled": "11.11.0",
|
2023-06-22 00:21:40 +00:00
|
|
|
"@fastly/performance-observer-polyfill": "2.0.0",
|
2023-11-27 21:35:29 +00:00
|
|
|
"@fontsource-variable/inter": "5.0.15",
|
2023-07-13 22:38:45 +00:00
|
|
|
"@fontsource/ibm-plex-mono": "5.0.5",
|
2023-11-01 14:28:04 +00:00
|
|
|
"@monaco-editor/react": "4.6.0",
|
2023-07-12 15:04:08 +00:00
|
|
|
"@mui/icons-material": "5.14.0",
|
2023-05-23 15:43:46 +00:00
|
|
|
"@mui/lab": "5.0.0-alpha.129",
|
2023-07-12 15:04:08 +00:00
|
|
|
"@mui/material": "5.14.0",
|
2023-08-02 18:28:16 +00:00
|
|
|
"@mui/system": "5.14.0",
|
2023-10-05 20:46:42 +00:00
|
|
|
"@mui/utils": "5.14.11",
|
2023-12-20 15:08:51 +00:00
|
|
|
"@tanstack/react-query-devtools": "4.35.3",
|
2023-04-14 13:11:28 +00:00
|
|
|
"ansi-to-html": "0.7.2",
|
2023-11-02 12:50:18 +00:00
|
|
|
"axios": "1.6.0",
|
2023-02-22 16:11:25 +00:00
|
|
|
"canvas": "2.11.0",
|
2023-08-30 22:45:59 +00:00
|
|
|
"chart.js": "4.4.0",
|
2023-01-05 20:58:04 +00:00
|
|
|
"chartjs-adapter-date-fns": "3.0.0",
|
2023-10-09 11:38:41 +00:00
|
|
|
"chartjs-plugin-annotation": "3.0.1",
|
2023-07-26 13:13:56 +00:00
|
|
|
"chroma-js": "2.4.2",
|
2022-12-08 15:24:15 +00:00
|
|
|
"color-convert": "2.0.1",
|
2023-08-30 23:13:48 +00:00
|
|
|
"cron-parser": "4.9.0",
|
2023-11-14 22:01:53 +00:00
|
|
|
"cronstrue": "2.43.0",
|
2023-05-15 19:05:52 +00:00
|
|
|
"date-fns": "2.30.0",
|
2022-07-25 16:35:42 +00:00
|
|
|
"dayjs": "1.11.4",
|
2023-01-04 23:30:56 +00:00
|
|
|
"emoji-mart": "5.4.0",
|
2023-06-02 12:58:59 +00:00
|
|
|
"formik": "2.4.1",
|
2022-05-27 15:19:32 +00:00
|
|
|
"front-matter": "4.0.2",
|
2023-01-18 17:31:31 +00:00
|
|
|
"lodash": "4.17.21",
|
2023-11-03 17:20:18 +00:00
|
|
|
"monaco-editor": "0.44.0",
|
2023-07-06 13:26:55 +00:00
|
|
|
"pretty-bytes": "6.1.0",
|
2022-08-24 21:28:02 +00:00
|
|
|
"react": "18.2.0",
|
2023-07-24 11:44:14 +00:00
|
|
|
"react-chartjs-2": "5.2.0",
|
2022-12-08 15:24:15 +00:00
|
|
|
"react-color": "2.19.3",
|
2023-05-05 21:46:51 +00:00
|
|
|
"react-confetti": "6.1.0",
|
2023-08-08 16:43:21 +00:00
|
|
|
"react-date-range": "1.4.0",
|
2022-08-22 20:42:06 +00:00
|
|
|
"react-dom": "18.2.0",
|
2023-11-29 20:11:59 +00:00
|
|
|
"react-helmet-async": "2.0.1",
|
|
|
|
"react-markdown": "9.0.1",
|
2023-10-06 23:15:03 +00:00
|
|
|
"react-query": "npm:@tanstack/react-query@4.35.3",
|
2023-11-29 20:11:59 +00:00
|
|
|
"react-router-dom": "6.20.0",
|
2022-12-12 18:46:33 +00:00
|
|
|
"react-syntax-highlighter": "15.5.0",
|
2023-05-05 21:46:51 +00:00
|
|
|
"react-use": "17.4.0",
|
2023-07-27 20:54:38 +00:00
|
|
|
"react-virtualized-auto-sizer": "1.0.20",
|
2023-04-13 21:36:20 +00:00
|
|
|
"react-window": "1.8.8",
|
2023-11-29 20:11:59 +00:00
|
|
|
"remark-gfm": "4.0.0",
|
2023-01-18 17:31:31 +00:00
|
|
|
"rollup-plugin-visualizer": "5.9.0",
|
2023-07-06 13:26:55 +00:00
|
|
|
"semver": "7.5.3",
|
2022-06-03 16:52:02 +00:00
|
|
|
"tzdata": "1.0.30",
|
2023-01-30 02:33:45 +00:00
|
|
|
"ua-parser-js": "1.0.33",
|
2023-10-09 15:49:26 +00:00
|
|
|
"ufuzzy": "npm:@leeoniya/ufuzzy@1.0.10",
|
2024-05-07 11:00:48 +00:00
|
|
|
"undici": "6.11.1",
|
2023-07-27 11:47:58 +00:00
|
|
|
"unique-names-generator": "4.7.1",
|
2022-09-07 02:57:32 +00:00
|
|
|
"uuid": "9.0.0",
|
2023-09-12 22:59:09 +00:00
|
|
|
"xterm": "5.2.0",
|
2023-09-12 07:21:59 +00:00
|
|
|
"xterm-addon-canvas": "0.5.0",
|
|
|
|
"xterm-addon-fit": "0.8.0",
|
|
|
|
"xterm-addon-unicode11": "0.6.0",
|
|
|
|
"xterm-addon-web-links": "0.9.0",
|
|
|
|
"xterm-addon-webgl": "0.16.0",
|
2023-10-01 11:41:38 +00:00
|
|
|
"yup": "1.3.2"
|
2022-03-15 00:24:26 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-11-14 22:02:53 +00:00
|
|
|
"@octokit/types": "12.3.0",
|
2024-04-10 19:08:25 +00:00
|
|
|
"@playwright/test": "1.40.1",
|
2024-04-01 19:12:17 +00:00
|
|
|
"@storybook/addon-actions": "8.0.5",
|
|
|
|
"@storybook/addon-essentials": "8.0.5",
|
|
|
|
"@storybook/addon-interactions": "8.0.5",
|
|
|
|
"@storybook/addon-links": "8.0.5",
|
|
|
|
"@storybook/addon-mdx-gfm": "8.0.5",
|
|
|
|
"@storybook/addon-themes": "8.0.5",
|
|
|
|
"@storybook/preview-api": "8.0.5",
|
|
|
|
"@storybook/react": "8.0.5",
|
|
|
|
"@storybook/react-vite": "8.0.5",
|
|
|
|
"@storybook/test": "8.0.5",
|
2023-03-13 16:35:09 +00:00
|
|
|
"@swc/core": "1.3.38",
|
|
|
|
"@swc/jest": "0.2.24",
|
2023-08-30 23:02:01 +00:00
|
|
|
"@testing-library/jest-dom": "6.1.2",
|
2023-11-14 22:00:46 +00:00
|
|
|
"@testing-library/react": "14.1.0",
|
2023-08-02 18:28:16 +00:00
|
|
|
"@testing-library/react-hooks": "8.0.1",
|
2023-09-18 13:24:05 +00:00
|
|
|
"@testing-library/user-event": "14.5.1",
|
2023-07-26 13:13:56 +00:00
|
|
|
"@types/chroma-js": "2.4.0",
|
2023-09-29 19:08:17 +00:00
|
|
|
"@types/color-convert": "2.0.0",
|
2023-08-02 18:28:16 +00:00
|
|
|
"@types/express": "4.17.17",
|
2023-06-01 18:43:26 +00:00
|
|
|
"@types/jest": "29.5.2",
|
2023-09-29 19:08:17 +00:00
|
|
|
"@types/lodash": "4.14.196",
|
2024-01-02 12:41:24 +00:00
|
|
|
"@types/node": "18.19.0",
|
2023-05-30 17:52:13 +00:00
|
|
|
"@types/react": "18.2.6",
|
2023-09-29 19:08:17 +00:00
|
|
|
"@types/react-color": "3.0.6",
|
|
|
|
"@types/react-date-range": "1.4.4",
|
2023-05-30 17:52:13 +00:00
|
|
|
"@types/react-dom": "18.2.4",
|
2022-06-29 17:43:41 +00:00
|
|
|
"@types/react-helmet": "6.1.5",
|
2022-12-12 18:46:33 +00:00
|
|
|
"@types/react-syntax-highlighter": "15.5.5",
|
2023-04-14 13:11:28 +00:00
|
|
|
"@types/react-virtualized-auto-sizer": "1.0.1",
|
|
|
|
"@types/react-window": "1.8.5",
|
2023-09-29 19:08:17 +00:00
|
|
|
"@types/semver": "7.5.0",
|
2023-07-27 15:42:11 +00:00
|
|
|
"@types/ssh2": "1.11.13",
|
2022-09-23 19:09:35 +00:00
|
|
|
"@types/ua-parser-js": "0.7.36",
|
2023-07-10 14:11:54 +00:00
|
|
|
"@types/uuid": "9.0.2",
|
2023-11-01 14:26:56 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "6.9.1",
|
|
|
|
"@typescript-eslint/parser": "6.9.1",
|
2024-01-24 20:53:44 +00:00
|
|
|
"@vitejs/plugin-react": "4.1.0",
|
2024-04-01 19:12:17 +00:00
|
|
|
"chromatic": "11.3.0",
|
2023-11-01 14:26:56 +00:00
|
|
|
"eslint": "8.52.0",
|
2023-08-30 22:42:48 +00:00
|
|
|
"eslint-config-prettier": "9.0.0",
|
|
|
|
"eslint-import-resolver-typescript": "3.6.0",
|
|
|
|
"eslint-plugin-compat": "4.2.0",
|
2022-11-18 18:03:15 +00:00
|
|
|
"eslint-plugin-eslint-comments": "3.2.0",
|
2023-11-01 14:26:56 +00:00
|
|
|
"eslint-plugin-import": "2.29.0",
|
|
|
|
"eslint-plugin-jest": "27.6.0",
|
2023-06-05 15:33:38 +00:00
|
|
|
"eslint-plugin-jsx-a11y": "6.7.1",
|
2023-07-27 13:51:18 +00:00
|
|
|
"eslint-plugin-react": "7.33.0",
|
2022-07-11 18:01:50 +00:00
|
|
|
"eslint-plugin-react-hooks": "4.6.0",
|
2024-04-01 19:12:17 +00:00
|
|
|
"eslint-plugin-storybook": "0.8.0",
|
2024-01-24 20:53:44 +00:00
|
|
|
"eslint-plugin-testing-library": "6.1.0",
|
2023-11-01 14:26:56 +00:00
|
|
|
"eslint-plugin-unicorn": "49.0.0",
|
2024-01-24 20:53:44 +00:00
|
|
|
"eventsourcemock": "2.0.0",
|
2024-05-07 15:08:33 +00:00
|
|
|
"express": "4.19.2",
|
2023-08-02 18:28:16 +00:00
|
|
|
"jest": "29.6.2",
|
2023-08-30 23:22:54 +00:00
|
|
|
"jest-canvas-mock": "2.5.2",
|
2024-01-24 20:53:44 +00:00
|
|
|
"jest-environment-jsdom": "29.5.0",
|
2023-09-18 13:46:08 +00:00
|
|
|
"jest-location-mock": "2.0.0",
|
2023-06-05 13:08:25 +00:00
|
|
|
"jest-runner-eslint": "2.1.0",
|
2023-09-12 09:24:10 +00:00
|
|
|
"jest-websocket-mock": "2.5.0",
|
2023-03-13 16:35:09 +00:00
|
|
|
"jest_workaround": "0.1.14",
|
2024-03-19 12:30:20 +00:00
|
|
|
"msw": "2.2.3",
|
2023-11-21 16:48:40 +00:00
|
|
|
"prettier": "3.1.0",
|
2024-05-10 22:19:19 +00:00
|
|
|
"protobufjs": "7.2.5",
|
2023-08-02 18:28:16 +00:00
|
|
|
"rxjs": "7.8.1",
|
2023-07-27 15:42:11 +00:00
|
|
|
"ssh2": "1.14.0",
|
2024-04-01 19:12:17 +00:00
|
|
|
"storybook": "8.0.5",
|
|
|
|
"storybook-addon-remix-react-router": "3.0.0",
|
2023-04-20 14:28:56 +00:00
|
|
|
"storybook-react-context": "0.6.0",
|
2023-08-02 18:28:16 +00:00
|
|
|
"ts-node": "10.9.1",
|
2024-01-24 20:53:44 +00:00
|
|
|
"ts-proto": "1.164.0",
|
|
|
|
"ts-prune": "0.10.3",
|
2023-09-19 05:32:14 +00:00
|
|
|
"typescript": "5.2.2",
|
2024-05-07 11:01:13 +00:00
|
|
|
"vite": "4.5.3",
|
2023-08-23 18:12:00 +00:00
|
|
|
"vite-plugin-checker": "0.6.0",
|
|
|
|
"vite-plugin-turbosnap": "1.0.2"
|
2022-01-18 21:13:19 +00:00
|
|
|
},
|
2022-01-21 19:34:26 +00:00
|
|
|
"browserslist": [
|
2024-01-22 18:44:33 +00:00
|
|
|
"chrome 110",
|
|
|
|
"firefox 111",
|
|
|
|
"safari 16.0"
|
2023-07-06 13:26:55 +00:00
|
|
|
],
|
|
|
|
"resolutions": {
|
|
|
|
"optionator": "0.9.3",
|
|
|
|
"semver": "7.5.3"
|
2023-07-27 20:54:38 +00:00
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"npm": ">=9.0.0 <10.0.0",
|
2024-05-06 22:21:20 +00:00
|
|
|
"node": ">=18.0.0 <21.0.0"
|
2023-07-06 13:26:55 +00:00
|
|
|
}
|
2022-01-04 02:54:27 +00:00
|
|
|
}
|