package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "webview-ui",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "@testing-library/jest-dom": "^5.17.0",
  7. "@testing-library/react": "^13.4.0",
  8. "@testing-library/user-event": "^13.5.0",
  9. "@types/jest": "^27.5.2",
  10. "@types/node": "^16.18.101",
  11. "@types/react": "^18.3.3",
  12. "@types/react-dom": "^18.3.0",
  13. "@vscode/webview-ui-toolkit": "^1.4.0",
  14. "debounce": "^2.1.1",
  15. "fast-deep-equal": "^3.1.3",
  16. "fuse.js": "^7.0.0",
  17. "react": "^18.3.1",
  18. "react-dom": "^18.3.1",
  19. "react-remark": "^2.1.0",
  20. "react-scripts": "5.0.1",
  21. "react-textarea-autosize": "^8.5.3",
  22. "react-use": "^17.5.1",
  23. "react-virtuoso": "^4.7.13",
  24. "rehype-highlight": "^7.0.0",
  25. "rewire": "^7.0.0",
  26. "shell-quote": "^1.8.2",
  27. "styled-components": "^6.1.13",
  28. "typescript": "^4.9.5",
  29. "web-vitals": "^2.1.4"
  30. },
  31. "scripts": {
  32. "start": "react-scripts start",
  33. "build": "node ./scripts/build-react-no-split.js",
  34. "test": "react-scripts test --watchAll=false",
  35. "eject": "react-scripts eject",
  36. "lint": "eslint src --ext ts,tsx"
  37. },
  38. "eslintConfig": {
  39. "extends": [
  40. "react-app",
  41. "react-app/jest"
  42. ]
  43. },
  44. "browserslist": {
  45. "production": [
  46. ">0.2%",
  47. "not dead",
  48. "not op_mini all"
  49. ],
  50. "development": [
  51. "last 1 chrome version",
  52. "last 1 firefox version",
  53. "last 1 safari version"
  54. ]
  55. },
  56. "devDependencies": {
  57. "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
  58. "@types/shell-quote": "^1.7.5",
  59. "@types/vscode-webview": "^1.57.5",
  60. "eslint": "^8.57.0"
  61. },
  62. "jest": {
  63. "transformIgnorePatterns": [
  64. "/node_modules/(?!(rehype-highlight|react-remark|unist-util-visit|unist-util-find-after|vfile|unified|bail|is-plain-obj|trough|vfile-message|unist-util-stringify-position|mdast-util-from-markdown|mdast-util-to-string|micromark|decode-named-character-reference|character-entities|markdown-table|zwitch|longest-streak|escape-string-regexp|unist-util-is|hast-util-to-text|@vscode/webview-ui-toolkit|@microsoft/fast-react-wrapper|@microsoft/fast-element|@microsoft/fast-foundation|@microsoft/fast-web-utilities|exenv-es6)/)"
  65. ],
  66. "moduleNameMapper": {
  67. "\\.(css|less|scss|sass)$": "identity-obj-proxy"
  68. }
  69. }
  70. }