package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. "devDependencies": {
  17. "babel-cli": "^6.5.1",
  18. "babel-core": "^6.5.2",
  19. "babel-loader": "^6.2.3",
  20. "babel-preset-es2015": "^6.5.0",
  21. "babel-preset-react": "^6.5.0",
  22. "chai": "^3.5.0",
  23. "enzyme": "^2.3.0",
  24. "eslint": "^2.9.0",
  25. "eslint-config-wagtail": "^0.1.0",
  26. "eslint-plugin-import": "^1.8.1",
  27. "eslint-plugin-jsx-a11y": "^1.5.3",
  28. "eslint-plugin-react": "^4.3.0",
  29. "glob": "^7.0.0",
  30. "gulp": "~3.8.11",
  31. "gulp-autoprefixer": "~3.0.2",
  32. "gulp-rename": "^1.2.2",
  33. "gulp-sass": "~2.3.1",
  34. "gulp-sourcemaps": "~1.5.2",
  35. "gulp-util": "~2.2.14",
  36. "isparta": "^4.0.0",
  37. "lodash": "^4.5.1",
  38. "mocha": "^2.4.5",
  39. "mustache": "^2.2.1",
  40. "react-addons-test-utils": "^0.14.8",
  41. "redux-devtools": "^3.1.1",
  42. "require-dir": "^0.3.0",
  43. "sinon": "^1.17.3"
  44. },
  45. "dependencies": {
  46. "babel-polyfill": "^6.5.0",
  47. "exports-loader": "^0.6.3",
  48. "imports-loader": "^0.6.5",
  49. "moment": "^2.11.2",
  50. "react": "^0.14.7",
  51. "react-accessible-modal": "0.0.5",
  52. "react-addons-css-transition-group": "^0.14.7",
  53. "react-dom": "^0.14.7",
  54. "react-onclickoutside": "^4.5.0",
  55. "react-redux": "^4.4.0",
  56. "redux": "^3.3.1",
  57. "redux-actions": "^0.10.0",
  58. "redux-logger": "^2.6.0",
  59. "redux-thunk": "^1.0.3",
  60. "webpack": "^1.12.14",
  61. "whatwg-fetch": "^0.11.0"
  62. },
  63. "scripts": {
  64. "postinstall": "cd ./client; npm install; cd ..",
  65. "build": "gulp build; webpack --progress --colors --config ./client/webpack/prod.config.js",
  66. "watch": "webpack --progress --colors --config ./client/webpack/dev.config.js & gulp watch",
  67. "start": "npm run watch",
  68. "lint:js": "eslint --max-warnings 16 ./client",
  69. "lint": "npm run lint:js",
  70. "test": "npm run test:unit",
  71. "test:unit": "env NODE_PATH=$NODE_PATH:$PWD/client/src mocha --compilers js:babel-core/register client/tests/**/*.test.js",
  72. "test:unit:watch": "env NODE_PATH=$NODE_PATH:$PWD/client/src mocha --watch --compilers js:babel-core/register client/tests/**/*.test.js",
  73. "test:unit:coverage": "env NODE_PATH=$NODE_PATH:$PWD/client/src babel-node $(npm bin)/isparta cover node_modules/mocha/bin/_mocha -- client/tests/**/*.test.js",
  74. "component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
  75. }
  76. }