package.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "name": "atlas-app",
  3. "version": "1.0.0",
  4. "description": "A user governed video platform",
  5. "license": "ISC",
  6. "directories": {
  7. "src": "src",
  8. "test": "src/__tests__"
  9. },
  10. "files": [
  11. "src"
  12. ],
  13. "repository": {
  14. "type": "git",
  15. "url": "https://github.com/Joystream/joystream.git"
  16. },
  17. "bugs": {
  18. "url": "https://github.com/Joystream/joystream/issues"
  19. },
  20. "scripts": {
  21. "start": "react-app-rewired start",
  22. "dev": "react-app-rewired start",
  23. "build": "react-app-rewired build",
  24. "test": "react-app-rewired test --watchAll=false",
  25. "eject": "react-app-rewired eject",
  26. "lint": "eslint . --ext .js,.jsx,.ts,.tsx",
  27. "storybook": "start-storybook -p 6006 --quiet -c src/shared/.storybook",
  28. "build-storybook": "build-storybook -c src/shared/.storybook",
  29. "chromatic": "chromatic --project-token=qq8aetz26u",
  30. "queries:codegen": "apollo client:codegen --target typescript --passthroughCustomScalars --customScalarsPrefix=GQL",
  31. "queries:watch": "yarn queries:codegen --watch"
  32. },
  33. "dependencies": {
  34. "@apollo/client": "^3.1.1",
  35. "@emotion/babel-preset-css-prop": "^10.0.27",
  36. "@emotion/core": "^10.0.28",
  37. "@miragejs/graphql": "^0.1.3",
  38. "@reach/router": "^1.3.3",
  39. "@storybook/addon-actions": "^5.3.17",
  40. "@storybook/addon-docs": "^5.3.17",
  41. "@storybook/addon-knobs": "^5.3.17",
  42. "@storybook/addon-links": "^5.3.17",
  43. "@storybook/addon-storysource": "^5.3.17",
  44. "@storybook/addons": "^5.3.19",
  45. "@storybook/preset-create-react-app": "^3.1.4",
  46. "@storybook/react": "^5.3.17",
  47. "@storybook/theming": "^5.3.19",
  48. "@types/lodash": "^4.14.157",
  49. "@types/reach__router": "^1.3.5",
  50. "@types/react": "^16.9.0",
  51. "@types/react-dom": "^16.9.0",
  52. "@types/react-redux": "^7.1.9",
  53. "@types/redux": "^3.6.0",
  54. "@types/video.js": "^7.3.10",
  55. "apollo": "^2.30.2",
  56. "chromatic": "^4.0.3",
  57. "customize-cra": "^1.0.0",
  58. "date-fns": "^2.15.0",
  59. "emotion-normalize": "^10.1.0",
  60. "graphql": "^15.3.0",
  61. "graphql-tag": "^2.11.0",
  62. "lodash": "^4.17.19",
  63. "miragejs": "^0.1.40",
  64. "react": "^16.13.1",
  65. "react-app-rewired": "^2.1.6",
  66. "react-docgen-typescript-loader": "^3.7.1",
  67. "react-dom": "^16.13.1",
  68. "react-player": "^2.2.0",
  69. "react-redux": "^7.2.0",
  70. "react-scripts": "3.4.1",
  71. "react-spring": "^8.0.27",
  72. "redux": "^4.0.5",
  73. "storybook-addon-jsx": "^7.1.15",
  74. "use-resize-observer": "^6.1.0",
  75. "video.js": "^7.8.3"
  76. },
  77. "browserslist": {
  78. "production": [
  79. ">0.2%",
  80. "not dead",
  81. "not op_mini all"
  82. ],
  83. "development": [
  84. "last 1 chrome version",
  85. "last 1 firefox version",
  86. "last 1 safari version"
  87. ]
  88. },
  89. "jest": {
  90. "moduleNameMapper": {
  91. "@/(.*)$": "<rootDir>/src/$1",
  92. "\\.svg": "<rootDir>/src/__mocks__/svgrMock.js"
  93. },
  94. "clearMocks": true,
  95. "coverageDirectory": ".coverage"
  96. }
  97. }