No Description

package.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "editor_dev",
  3. "version": "0.1.0",
  4. "private": true,
  5. "dependencies": {
  6. "@fortawesome/fontawesome-svg-core": "^1.2.4",
  7. "@fortawesome/free-solid-svg-icons": "^5.3.1",
  8. "@fortawesome/react-fontawesome": "^0.1.3",
  9. "autoprefixer": "7.1.6",
  10. "babel-core": "6.26.0",
  11. "babel-eslint": "7.2.3",
  12. "babel-jest": "20.0.3",
  13. "babel-loader": "7.1.2",
  14. "babel-preset-react-app": "^3.1.2",
  15. "babel-runtime": "6.26.0",
  16. "braft-editor": "^2.0.5",
  17. "case-sensitive-paths-webpack-plugin": "2.1.1",
  18. "chalk": "1.1.3",
  19. "css-loader": "0.28.7",
  20. "dotenv": "4.0.0",
  21. "dotenv-expand": "4.2.0",
  22. "eslint": "4.10.0",
  23. "eslint-config-react-app": "^2.1.0",
  24. "eslint-loader": "1.9.0",
  25. "eslint-plugin-flowtype": "2.39.1",
  26. "eslint-plugin-import": "2.8.0",
  27. "eslint-plugin-jsx-a11y": "5.1.1",
  28. "eslint-plugin-react": "7.4.0",
  29. "extract-text-webpack-plugin": "3.0.2",
  30. "file-loader": "1.1.5",
  31. "fs-extra": "3.0.1",
  32. "html-webpack-plugin": "2.29.0",
  33. "i": "^0.3.6",
  34. "jest": "20.0.4",
  35. "npm": "^6.4.1",
  36. "object-assign": "4.1.1",
  37. "postcss-flexbugs-fixes": "3.2.0",
  38. "postcss-loader": "2.0.8",
  39. "promise": "8.0.1",
  40. "raf": "3.4.0",
  41. "react": "^16.5.0",
  42. "react-dev-utils": "^5.0.2",
  43. "react-dom": "^16.5.0",
  44. "react-mde": "^5.8.0",
  45. "resolve": "1.6.0",
  46. "showdown": "^1.8.6",
  47. "style-loader": "0.19.0",
  48. "sw-precache-webpack-plugin": "0.11.4",
  49. "url-loader": "0.6.2",
  50. "webpack": "3.8.1",
  51. "webpack-dev-server": "2.11.3",
  52. "webpack-manifest-plugin": "1.3.2",
  53. "whatwg-fetch": "2.0.3"
  54. },
  55. "scripts": {
  56. "start": "node scripts/start.js",
  57. "build": "node scripts/build.js",
  58. "test": "node scripts/test.js --env=jsdom"
  59. },
  60. "jest": {
  61. "collectCoverageFrom": [
  62. "src/**/*.{js,jsx,mjs}"
  63. ],
  64. "setupFiles": [
  65. "<rootDir>/config/polyfills.js"
  66. ],
  67. "testMatch": [
  68. "<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
  69. "<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
  70. ],
  71. "testEnvironment": "node",
  72. "testURL": "http://localhost",
  73. "transform": {
  74. "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
  75. "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
  76. "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
  77. },
  78. "transformIgnorePatterns": [
  79. "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
  80. ],
  81. "moduleNameMapper": {
  82. "^react-native$": "react-native-web"
  83. },
  84. "moduleFileExtensions": [
  85. "web.js",
  86. "js",
  87. "json",
  88. "web.jsx",
  89. "jsx",
  90. "node",
  91. "mjs"
  92. ]
  93. },
  94. "babel": {
  95. "presets": [
  96. "react-app"
  97. ]
  98. },
  99. "eslintConfig": {
  100. "extends": "react-app"
  101. }
  102. }