You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "with-typescript-eslint-jest",
  3. "author": "@erikdstock",
  4. "license": "MIT",
  5. "version": "1.0.0",
  6. "scripts": {
  7. "build": "next build",
  8. "dev": "next dev",
  9. "format": "prettier --write .",
  10. "lint": "eslint . --ext ts --ext tsx --ext js",
  11. "scripts": "node scripts/type-gen && prettier --write './components/code-panel/types-import.ts'",
  12. "start": "next start",
  13. "test-all": "yarn lint && yarn type-check && yarn test",
  14. "test:update": "jest --updateSnapshot",
  15. "test:watch": "jest --watchAll --verbose=false --silent=false",
  16. "test": "jest --watchAll=false",
  17. "type-check": "tsc --pretty --noEmit"
  18. },
  19. "husky": {
  20. "hooks": {
  21. "pre-commit": "lint-staged",
  22. "pre-push": "yarn run type-check"
  23. }
  24. },
  25. "lint-staged": {
  26. "*.@(ts|tsx)": [
  27. "yarn lint",
  28. "yarn format"
  29. ]
  30. },
  31. "dependencies": {
  32. "@monaco-editor/react": "^4.2.1",
  33. "@radix-ui/react-checkbox": "^0.0.16",
  34. "@radix-ui/react-context-menu": "^0.0.22",
  35. "@radix-ui/react-dialog": "^0.0.18",
  36. "@radix-ui/react-dropdown-menu": "^0.0.21",
  37. "@radix-ui/react-hover-card": "^0.0.3",
  38. "@radix-ui/react-icons": "^1.0.3",
  39. "@radix-ui/react-radio-group": "^0.0.17",
  40. "@radix-ui/react-tooltip": "^0.0.19",
  41. "@sentry/integrations": "^6.7.2",
  42. "@sentry/nextjs": "^6.7.2",
  43. "@sentry/node": "^6.7.2",
  44. "@sentry/react": "^6.7.2",
  45. "@sentry/tracing": "^6.7.2",
  46. "@sentry/webpack-plugin": "^1.15.1",
  47. "@state-designer/react": "^1.7.32",
  48. "@stitches/react": "^0.2.2",
  49. "@types/uuid": "^8.3.0",
  50. "browser-fs-access": "^0.17.3",
  51. "framer-motion": "^4.1.17",
  52. "gtag": "^1.0.1",
  53. "idb-keyval": "^5.0.6",
  54. "ismobilejs": "^1.1.1",
  55. "monaco-editor": "^0.25.2",
  56. "next": "^11.0.1",
  57. "next-auth": "^3.27.0",
  58. "next-pwa": "^5.2.21",
  59. "perfect-freehand": "^0.4.9",
  60. "react": "^17.0.2",
  61. "react-dom": "^17.0.2",
  62. "react-error-boundary": "^3.1.3",
  63. "react-feather": "^2.0.9",
  64. "react-use-gesture": "^9.1.3",
  65. "sucrase": "^3.19.0",
  66. "uuid": "^8.3.2"
  67. },
  68. "devDependencies": {
  69. "@babel/core": "^7.14.6",
  70. "@types/jest": "^26.0.23",
  71. "@types/node": "^14.14.25",
  72. "@types/react": "^17.0.1",
  73. "@typescript-eslint/eslint-plugin": "^4.14.2",
  74. "@typescript-eslint/parser": "^4.14.2",
  75. "babel-jest": "^27.0.5",
  76. "eslint": "^7.19.0",
  77. "eslint-config-next": "^11.0.0",
  78. "eslint-config-prettier": "^7.2.0",
  79. "eslint-plugin-react": "^7.19.0",
  80. "husky": "^4.2.3",
  81. "identity-obj-proxy": "^3.0.0",
  82. "jest": "^27.0.5",
  83. "jest-esm-transformer": "^1.0.0",
  84. "jest-watch-typeahead": "^0.6.1",
  85. "lint-staged": "^10.0.10",
  86. "prettier": "^2.3.1",
  87. "typescript": "^4.1.3"
  88. },
  89. "prettier": {
  90. "semi": false,
  91. "singleQuote": true,
  92. "tabWidth": 2,
  93. "useTabs": false
  94. }
  95. }