package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. "styled-components": "^6.1.13",
  27. "typescript": "^4.9.5",
  28. "web-vitals": "^2.1.4"
  29. },
  30. "scripts": {
  31. "start": "react-scripts start",
  32. "build": "node ./scripts/build-react-no-split.js",
  33. "test": "react-scripts test --watchAll=false",
  34. "eject": "react-scripts eject",
  35. "lint": "eslint src --ext ts,tsx"
  36. },
  37. "eslintConfig": {
  38. "extends": [
  39. "react-app",
  40. "react-app/jest"
  41. ]
  42. },
  43. "browserslist": {
  44. "production": [
  45. ">0.2%",
  46. "not dead",
  47. "not op_mini all"
  48. ],
  49. "development": [
  50. "last 1 chrome version",
  51. "last 1 firefox version",
  52. "last 1 safari version"
  53. ]
  54. },
  55. "devDependencies": {
  56. "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
  57. "@types/vscode-webview": "^1.57.5",
  58. "eslint": "^8.57.0"
  59. },
  60. "jest": {
  61. "transformIgnorePatterns": [
  62. "/node_modules/(?!(rehype-highlight|react-remark|unist-util-visit|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)/)"
  63. ],
  64. "moduleNameMapper": {
  65. "\\.(css|less|scss|sass)$": "identity-obj-proxy"
  66. }
  67. }
  68. }