coder/site/package.json

139 lines
4.5 KiB
JSON
Raw Normal View History

{
"name": "coder-v2",
"description": "Coder V2 (Workspaces V2)",
"repository": "https://github.com/coder/coder",
"private": true,
"scripts": {
"postinstall": "yarn typegen",
2022-09-28 16:11:00 +00:00
"build": "NODE_ENV=production yarn vite build",
"check:all": "yarn format:check && yarn lint && yarn test",
"chromatic": "chromatic",
"dev": "vite",
"format:check": "prettier --cache --check '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
2022-04-19 16:18:12 +00:00
"format:types": "prettier --write 'src/api/typesGenerated.ts'",
"format:write": "prettier --write '../**/*.{css,html,js,json,jsx,md,ts,tsx,yaml,yml}'",
"format:write:only": "prettier --write",
"lint": "jest --selectProjects lint",
"lint:fix": "FIX=true yarn lint",
"playwright:install": "playwright install",
"playwright:install-deps": "playwright install-deps",
"playwright:test": "playwright test --config=e2e/playwright.config.ts",
"storybook": "start-storybook -p 6006",
"storybook:build": "build-storybook",
"test": "jest --selectProjects test",
"test:coverage": "jest --selectProjects test --collectCoverage",
"test:watch": "jest --selectProjects test --watch",
"typegen": "xstate typegen 'src/**/*.ts'"
},
"dependencies": {
2022-09-23 19:09:35 +00:00
"@emoji-mart/data": "1.0.5",
"@emoji-mart/react": "1.0.1",
"@fontsource/ibm-plex-mono": "4.5.10",
"@fontsource/inter": "4.5.11",
chore(site): fix material ui warning (#4161) * chore(deps): upgrade @material-ui/core to 4.12.4 This is the latest version which includes a fix for the warning we were seeing while running our tests about `css` function being deprecated. * refactor: use alpha() instead of fade `fade()` was deprecated in favor of `alpha()` in a previous version of `@material-ui/core/styles`. * refactor: rows -> minRows This was deprecated in a previous version of `@material-ui/core`. * refactor: overlap circle -> circular overlap="circle" was deprecated in favor of overlap="circular". * refactor: createMuiTheme -> createTheme This was deprecated and changed to `createTheme`. * fixup!: chore(deps): upgrade @material-ui/core to 4.12.4 * fixup!: refactor: createMuiTheme -> createTheme * fix: add SvgIconProps on icons I couldn't find any release notes or breaking changes related to this but it seems `props` can no longer be inferred on `SvgIcon`s so I had to manually add the type. * Revert "refactor: rows -> minRows" This reverts commit 94dae6fea86fd5fc9e07494613571b9cd37f9c9f. * chore(deps): downgrade @material-ui/core to 4.12.0 * fixup!: fix: add SvgIconProps on icons * fix: pass {} to useStyles Looks like we may need to pass an empty object if some components in a file use `props` in styles and some don't. * fix: update types in Pill.tsx We need to use generics so that `makeStyles` correctly infers the types for the `Pill.tsx` styles. I also updated the types to use `PillProps` directly to make sure they stay in sync.
2022-09-23 18:14:02 +00:00
"@material-ui/core": "4.12.1",
"@material-ui/icons": "4.5.1",
"@material-ui/lab": "4.0.0-alpha.42",
"@monaco-editor/react": "4.4.6",
"@testing-library/react-hooks": "8.0.1",
"@types/color-convert": "2.0.0",
"@types/react-color": "3.0.6",
"@vitejs/plugin-react": "2.1.0",
"@xstate/inspect": "0.6.5",
"@xstate/react": "3.0.1",
"axios": "0.26.1",
"can-ndjson-stream": "1.0.2",
"chart.js": "3.9.1",
2022-09-23 16:58:00 +00:00
"chartjs-adapter-date-fns": "2.0.0",
"color-convert": "2.0.1",
"cron-parser": "4.7.0",
"cronstrue": "2.14.0",
2022-09-23 16:58:00 +00:00
"date-fns": "2.29.3",
"dayjs": "1.11.4",
"emoji-mart": "5.3.3",
2022-09-23 19:09:35 +00:00
"eventsourcemock": "2.0.0",
"formik": "2.2.9",
"front-matter": "4.0.2",
"history": "5.3.0",
"i18next": "21.9.1",
"js-untar": "2.0.0",
"just-debounce-it": "3.1.1",
"react": "18.2.0",
2022-09-23 19:09:35 +00:00
"react-chartjs-2": "4.3.1",
"react-color": "2.19.3",
"react-dom": "18.2.0",
"react-helmet-async": "1.3.0",
"react-i18next": "12.1.1",
2022-05-26 16:19:11 +00:00
"react-markdown": "8.0.3",
"react-router-dom": "6.4.1",
"react-syntax-highlighter": "15.5.0",
"remark-gfm": "3.0.1",
"sourcemapped-stacktrace": "1.1.11",
"tzdata": "1.0.30",
2022-09-07 20:26:12 +00:00
"ua-parser-js": "1.0.2",
"uuid": "9.0.0",
"vite": "3.1.3",
"xstate": "4.33.5",
"xterm": "4.19.0",
"xterm-addon-fit": "0.5.0",
"xterm-addon-web-links": "0.6.0",
"xterm-addon-webgl": "0.11.4",
"xterm-for-react": "1.0.4",
"yup": "0.32.11"
},
"devDependencies": {
"@playwright/test": "1.26.1",
"@storybook/addon-actions": "6.5.9",
2022-09-23 19:09:35 +00:00
"@storybook/addon-essentials": "6.5.12",
"@storybook/addon-links": "6.5.9",
2022-09-23 19:09:35 +00:00
"@storybook/react": "6.5.12",
2022-05-04 16:10:38 +00:00
"@testing-library/jest-dom": "5.16.4",
2022-09-23 19:09:35 +00:00
"@testing-library/react": "13.4.0",
"@testing-library/user-event": "14.4.3",
"@types/express": "4.17.13",
"@types/jest": "27.4.1",
"@types/node": "14.18.22",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"@types/react-helmet": "6.1.5",
"@types/react-syntax-highlighter": "15.5.5",
2022-09-23 19:09:35 +00:00
"@types/semver": "7.3.12",
"@types/superagent": "4.1.15",
2022-09-23 19:09:35 +00:00
"@types/ua-parser-js": "0.7.36",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.38.1",
"@typescript-eslint/parser": "5.45.1",
"@xstate/cli": "0.3.0",
2022-09-23 19:09:35 +00:00
"canvas": "2.10.0",
"chromatic": "6.11.4",
"eslint": "8.29.0",
"eslint-config-prettier": "8.5.0",
"eslint-import-resolver-alias": "1.1.2",
"eslint-import-resolver-typescript": "3.5.0",
"eslint-plugin-compat": "4.0.2",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "27.0.1",
"eslint-plugin-jsx-a11y": "6.6.1",
"eslint-plugin-react": "7.31.1",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-unicorn": "44.0.0",
"jest": "27.5.1",
"jest-canvas-mock": "2.4.0",
"jest-runner-eslint": "1.1.0",
"jest-websocket-mock": "2.4.0",
2022-09-23 19:09:35 +00:00
"msw": "0.47.0",
"prettier": "2.7.1",
2022-09-23 19:09:35 +00:00
"resize-observer": "1.0.4",
"semver": "7.3.7",
"ts-jest": "27.1.4",
"ts-node": "10.9.1",
2022-09-29 21:28:44 +00:00
"typescript": "4.8.2"
},
"browserslist": [
"chrome 66",
"firefox 63",
"edge 79",
"safari 13.1"
]
}