Keine Beschreibung

package.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "editor",
  3. "version": "0.1.0",
  4. "private": true,
  5. "main": "build/lib/js/main.js",
  6. "dependencies": {
  7. "@fortawesome/fontawesome-svg-core": "^1.2.4",
  8. "@fortawesome/free-solid-svg-icons": "^5.3.1",
  9. "@fortawesome/react-fontawesome": "^0.1.3",
  10. "autoprefixer": "7.1.6",
  11. "babel-core": "6.26.0",
  12. "babel-eslint": "7.2.3",
  13. "babel-jest": "20.0.3",
  14. "babel-loader": "7.1.2",
  15. "babel-preset-react-app": "^3.1.2",
  16. "babel-runtime": "6.26.0",
  17. "braft-editor": "^2.0.5",
  18. "case-sensitive-paths-webpack-plugin": "2.1.1",
  19. "chalk": "1.1.3",
  20. "css-loader": "0.28.7",
  21. "dotenv": "4.0.0",
  22. "dotenv-expand": "4.2.0",
  23. "eslint": "4.10.0",
  24. "eslint-config-react-app": "^2.1.0",
  25. "eslint-loader": "1.9.0",
  26. "eslint-plugin-flowtype": "2.39.1",
  27. "eslint-plugin-import": "2.8.0",
  28. "eslint-plugin-jsx-a11y": "5.1.1",
  29. "eslint-plugin-react": "7.4.0",
  30. "extract-text-webpack-plugin": "3.0.2",
  31. "file-loader": "1.1.5",
  32. "fs-extra": "3.0.1",
  33. "html-webpack-plugin": "2.29.0",
  34. "jest": "20.0.4",
  35. "object-assign": "4.1.1",
  36. "postcss-flexbugs-fixes": "3.2.0",
  37. "postcss-loader": "2.0.8",
  38. "promise": "8.0.1",
  39. "raf": "3.4.0",
  40. "react": "^16.5.0",
  41. "react-dev-utils": "^5.0.2",
  42. "react-dom": "^16.5.0",
  43. "react-mde": "^5.8.0",
  44. "resolve": "1.6.0",
  45. "showdown": "^1.8.6",
  46. "style-loader": "0.19.0",
  47. "sw-precache-webpack-plugin": "0.11.4",
  48. "url-loader": "0.6.2",
  49. "webpack": "3.8.1",
  50. "webpack-dev-server": "2.11.3",
  51. "webpack-manifest-plugin": "1.3.2",
  52. "whatwg-fetch": "2.0.3"
  53. },
  54. "scripts": {
  55. "start": "node scripts/start.js",
  56. "build": "node scripts/build.js",
  57. "build:lib": "node scripts/build.lib.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. }