turbo.json 1021 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "$schema": "https://turbo.build/schema.json",
  3. "extends": ["//"],
  4. "tasks": {
  5. "build": {
  6. "env": [
  7. "VERCEL_ENV",
  8. "GOOGLE_ANALYTICS_ID",
  9. "AMPLITUDE_API_KEY",
  10. "DISABLE_ACCESSIBILITY_REPORTING"
  11. ]
  12. },
  13. "fix:lint": {
  14. "dependsOn": [
  15. "//#install:modules",
  16. "fix:lint:eslint",
  17. "fix:lint:stylelint"
  18. ]
  19. },
  20. "fix:lint:eslint": {
  21. "dependsOn": ["//#install:modules", "^build"],
  22. "cache": false
  23. },
  24. "fix:lint:stylelint": {
  25. "dependsOn": ["//#install:modules"],
  26. "cache": false
  27. },
  28. "start:prod": {
  29. "dependsOn": ["//#install:modules", "build"]
  30. },
  31. "test:lint": {
  32. "dependsOn": ["test:lint:eslint", "test:lint:stylelint"]
  33. },
  34. "test:lint:eslint": {
  35. "dependsOn": ["//#install:modules", "^build"]
  36. },
  37. "test:lint:stylelint": {
  38. "dependsOn": ["//#install:modules"]
  39. },
  40. "test:types": {
  41. "dependsOn": ["//#install:modules", "^build", "build"]
  42. }
  43. }
  44. }