2
0

package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. "setupFiles": [
  18. "./client/tests/stubs.js",
  19. "./client/tests/mock-fetch.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": "^19.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-import-resolver-webpack": "^0.8.1",
  39. "eslint-plugin-import": "^1.8.1",
  40. "eslint-plugin-jsx-a11y": "^1.5.3",
  41. "eslint-plugin-react": "^5.2.2",
  42. "exports-loader": "^0.6.3",
  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": "^19.0.0",
  51. "mustache": "^2.2.1",
  52. "react-addons-test-utils": "^15.4.2",
  53. "redux-mock-store": "^1.2.2",
  54. "require-dir": "^0.3.0",
  55. "webpack": "^1.12.14"
  56. },
  57. "dependencies": {
  58. "focus-trap-react": "^3.0.2",
  59. "lodash": "^4.17.4",
  60. "react": "^15.4.2",
  61. "react-addons-css-transition-group": "^15.4.2",
  62. "react-dom": "^15.4.2",
  63. "react-redux": "^5.0.2",
  64. "redux": "^3.6.0",
  65. "redux-actions": "^1.2.1",
  66. "redux-thunk": "^2.2.0",
  67. "whatwg-fetch": "^2.0.2"
  68. },
  69. "scripts": {
  70. "postinstall": "cd ./client; npm install; cd ..",
  71. "build": "gulp build; webpack --config ./client/webpack/prod.config.js",
  72. "watch": "webpack --config ./client/webpack/dev.config.js & gulp watch",
  73. "start": "npm run watch",
  74. "lint:js": "eslint --max-warnings 16 ./client",
  75. "lint": "npm run lint:js",
  76. "test": "npm run test:unit",
  77. "test:unit": "jest",
  78. "test:unit:watch": "jest --watch",
  79. "test:unit:coverage": "jest --coverage",
  80. "component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
  81. }
  82. }