package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "geoguessr-selfhost",
  3. "version": "0.1.0",
  4. "private": true,
  5. "homepage": "https://hiram.services/terrassumptions/",
  6. "dependencies": {
  7. "@craco/craco": "^6.4.3",
  8. "dequal": "^1.0.0",
  9. "fuse.js": "^6.4.6",
  10. "iso-3166-1": "^2.0.1",
  11. "pretty-ms": "^5.1.0",
  12. "react": "^18.0.0",
  13. "react-dom": "^18.0.0",
  14. "react-scripts": "^5.0.0",
  15. "react-transition-group": "^4.4.2"
  16. },
  17. "scripts": {
  18. "start": "ESLINT_NO_DEV_ERRORS=true react-scripts start",
  19. "build": "react-scripts build",
  20. "format": "prettier --check src/",
  21. "format:fix": "prettier --write src/",
  22. "lint": "eslint --report-unused-disable-directives 'src/**/*.js{,x}'",
  23. "lint:fix": "yarn lint --fix",
  24. "validate": "yarn format && yarn lint",
  25. "fix": "yarn format:fix && yarn lint:fix",
  26. "test": "react-scripts test",
  27. "test:ci": "CI=true yarn test",
  28. "test:u": "yarn test -u --watchAll=false",
  29. "test:cov": "yarn test --coverage --watchAll=false",
  30. "eject": "react-scripts eject",
  31. "deploy": "scp -r build hiram:/opt/terrassumptions/srv/build-$(date +'%Y-%m-%dT%H:%M:%S')"
  32. },
  33. "proxy": "https://hiram.services/",
  34. "prettier": {
  35. "arrowParens": "avoid"
  36. },
  37. "jest": {
  38. "coveragePathIgnorePatterns": [
  39. "src/serviceWorker.js",
  40. "src/index.js"
  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. "@testing-library/jest-dom": "^5.16.4",
  57. "@testing-library/react": "^13.0.0",
  58. "eslint-config-airbnb": "^18.2.1",
  59. "eslint-config-prettier": "^8.2.0",
  60. "eslint-plugin-jsx-a11y": "^6.4.1",
  61. "eslint-plugin-prettier": "^3.4.0",
  62. "jest": "^27.5.1",
  63. "prettier": "^2.2.1"
  64. }
  65. }