package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "wagtail",
  3. "version": "1.0.0",
  4. "repository": "https://github.com/wagtail/wagtail",
  5. "private": true,
  6. "engines": {
  7. "node": ">= 4"
  8. },
  9. "browser": {},
  10. "browserify": {
  11. "transform": [
  12. "browserify-shim"
  13. ]
  14. },
  15. "browserify-shim": {},
  16. "jest": {
  17. "rootDir": "client",
  18. "setupFiles": [
  19. "./tests/stubs.js"
  20. ],
  21. "snapshotSerializers": [
  22. "enzyme-to-json/serializer"
  23. ]
  24. },
  25. "devDependencies": {
  26. "babel-cli": "^6.22.2",
  27. "babel-core": "^6.22.1",
  28. "babel-jest": "^18.0.0",
  29. "babel-loader": "^6.2.10",
  30. "babel-plugin-lodash": "^3.2.11",
  31. "babel-polyfill": "^6.22.0",
  32. "babel-preset-es2015": "^6.22.0",
  33. "babel-preset-react": "^6.22.0",
  34. "enzyme": "^2.3.0",
  35. "enzyme-to-json": "^1.4.5",
  36. "eslint": "^2.9.0",
  37. "eslint-config-wagtail": "^0.1.1",
  38. "eslint-plugin-import": "^1.8.1",
  39. "eslint-plugin-jsx-a11y": "^1.5.3",
  40. "eslint-plugin-react": "^5.2.2",
  41. "exports-loader": "^0.6.3",
  42. "glob": "^7.0.0",
  43. "gulp": "~3.8.11",
  44. "gulp-autoprefixer": "~3.0.2",
  45. "gulp-rename": "^1.2.2",
  46. "gulp-sass": "~2.3.1",
  47. "gulp-sourcemaps": "~1.5.2",
  48. "gulp-util": "~2.2.14",
  49. "imports-loader": "^0.6.5",
  50. "jest": "^18.1.0",
  51. "mustache": "^2.2.1",
  52. "react-addons-test-utils": "^15.4.2",
  53. "require-dir": "^0.3.0",
  54. "webpack": "^1.12.14"
  55. },
  56. "dependencies": {
  57. "lodash": "^4.17.4",
  58. "moment": "^2.17.1",
  59. "react": "^15.4.2",
  60. "react-addons-css-transition-group": "^15.4.2",
  61. "react-dom": "^15.4.2",
  62. "react-redux": "^5.0.2",
  63. "redux": "^3.6.0",
  64. "redux-actions": "^1.2.1",
  65. "redux-thunk": "^2.2.0",
  66. "whatwg-fetch": "^2.0.2"
  67. },
  68. "scripts": {
  69. "postinstall": "cd ./client; npm install; cd ..",
  70. "build": "gulp build; webpack --progress --colors --config ./client/webpack/prod.config.js",
  71. "watch": "webpack --progress --colors --config ./client/webpack/dev.config.js & gulp watch",
  72. "start": "npm run watch",
  73. "lint:js": "eslint --max-warnings 16 ./client",
  74. "lint": "npm run lint:js",
  75. "test": "npm run test:unit",
  76. "test:unit": "jest",
  77. "test:unit:watch": "jest --watch",
  78. "test:unit:coverage": "jest --coverage",
  79. "component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
  80. }
  81. }