package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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.1.1",
  8. "@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
  9. "dequal": "^1.0.0",
  10. "fuse.js": "^6.4.6",
  11. "iso-3166-1": "^2.0.1",
  12. "pretty-ms": "^5.1.0",
  13. "react": "17.0.2",
  14. "react-dom": "17.0.2",
  15. "react-scripts": "4.0.3",
  16. "react-transition-group": "^4.4.1"
  17. },
  18. "scripts": {
  19. "start": "react-scripts start",
  20. "build": "react-scripts build",
  21. "format": "prettier --check src/",
  22. "format:fix": "prettier --write src/",
  23. "lint": "eslint --report-unused-disable-directives 'src/**/*.js{,x}'",
  24. "lint:fix": "yarn lint --fix",
  25. "validate": "yarn format && yarn lint",
  26. "fix": "yarn format:fix && yarn lint:fix",
  27. "test": "react-scripts test",
  28. "test:ci": "CI=true yarn test",
  29. "test:u": "yarn test -u --watchAll=false",
  30. "test:cov": "yarn test --coverage --watchAll=false",
  31. "eject": "react-scripts eject",
  32. "deploy": "scp -r build hiram:/opt/terrassumptions/srv/build-$(date +'%Y-%m-%dT%H:%M:%S')"
  33. },
  34. "proxy": "http://localhost:5000/",
  35. "prettier": {
  36. "arrowParens": "avoid"
  37. },
  38. "jest": {
  39. "coveragePathIgnorePatterns": [
  40. "src/serviceWorker.js",
  41. "src/index.js"
  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. "enzyme": "^3.11.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-enzyme": "^7.1.2",
  63. "prettier": "^2.2.1",
  64. "react-test-renderer": "^16.13.1",
  65. "wait-for-expect": "^3.0.2"
  66. }
  67. }