package.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "name": "wagtail",
  3. "version": "1.0.0",
  4. "repository": "https://github.com/wagtail/wagtail",
  5. "private": true,
  6. "babel": {
  7. "presets": [
  8. [
  9. "es2015",
  10. {
  11. "modules": false
  12. }
  13. ],
  14. "react"
  15. ],
  16. "plugins": [
  17. "lodash"
  18. ],
  19. "env": {
  20. "test": {
  21. "presets": [
  22. "es2015",
  23. "react"
  24. ]
  25. }
  26. }
  27. },
  28. "jest": {
  29. "setupFiles": [
  30. "./client/tests/stubs.js",
  31. "./client/tests/mock-fetch.js"
  32. ],
  33. "snapshotSerializers": [
  34. "enzyme-to-json/serializer"
  35. ]
  36. },
  37. "devDependencies": {
  38. "babel-core": "^6.24.1",
  39. "babel-jest": "^20.0.3",
  40. "babel-loader": "^7.0.0",
  41. "babel-plugin-lodash": "^3.2.11",
  42. "babel-preset-es2015": "^6.24.1",
  43. "babel-preset-react": "^6.24.1",
  44. "enzyme": "^2.8.2",
  45. "enzyme-to-json": "^1.5.1",
  46. "eslint": "^2.9.0",
  47. "eslint-config-wagtail": "0.1.1",
  48. "eslint-import-resolver-webpack": "^0.8.1",
  49. "eslint-plugin-import": "^1.8.1",
  50. "eslint-plugin-jsx-a11y": "^1.5.3",
  51. "eslint-plugin-react": "^5.2.2",
  52. "gulp": "^3.9.1",
  53. "gulp-autoprefixer": "~3.0.2",
  54. "gulp-rename": "^1.2.2",
  55. "gulp-sass": "^3.1.0",
  56. "gulp-sourcemaps": "~1.5.2",
  57. "gulp-util": "~2.2.14",
  58. "jest": "^20.0.4",
  59. "mustache": "^2.2.1",
  60. "react-addons-perf": "^15.4.2",
  61. "react-test-renderer": "^15.5.4",
  62. "redux-mock-store": "^1.2.2",
  63. "stylelint": "^8.0.0",
  64. "stylelint-scss": "^2.0.1",
  65. "webpack": "^2.6.1"
  66. },
  67. "dependencies": {
  68. "focus-trap-react": "^3.0.3",
  69. "lodash": "^4.17.4",
  70. "object-assign": "^4.1.1",
  71. "promise": "^7.1.1",
  72. "prop-types": "^15.5.10",
  73. "react": "^15.5.4",
  74. "react-dom": "^15.5.4",
  75. "react-redux": "^5.0.5",
  76. "react-transition-group": "^1.1.3",
  77. "redux": "^3.6.0",
  78. "redux-thunk": "^2.2.0",
  79. "whatwg-fetch": "^2.0.2"
  80. },
  81. "scripts": {
  82. "postinstall": "npm --prefix client install",
  83. "build": "gulp build; webpack --config ./client/webpack/prod.config.js",
  84. "watch": "webpack --config ./client/webpack/dev.config.js & gulp watch",
  85. "start": "npm run watch",
  86. "lint:js": "eslint --max-warnings 16 ./client",
  87. "lint:css": "stylelint **/*.scss",
  88. "lint": "npm run lint:js",
  89. "test": "npm run test:unit",
  90. "test:unit": "jest",
  91. "test:unit:watch": "jest --watch",
  92. "test:unit:coverage": "jest --coverage",
  93. "component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
  94. }
  95. }