package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "wagtail",
  3. "version": "1.0.0",
  4. "repository": "https://github.com/torchbox/wagtail",
  5. "private": true,
  6. "browser": {},
  7. "browserify": {
  8. "transform": [
  9. "browserify-shim"
  10. ]
  11. },
  12. "browserify-shim": {},
  13. "devDependencies": {
  14. "babel-cli": "^6.5.1",
  15. "babel-core": "^6.5.2",
  16. "babel-loader": "^6.2.3",
  17. "babel-preset-es2015": "^6.5.0",
  18. "babel-preset-react": "^6.5.0",
  19. "chai": "^3.5.0",
  20. "eslint": "^2.2.0",
  21. "eslint-config-airbnb": "^6.0.2",
  22. "eslint-plugin-react": "^4.1.0",
  23. "glob": "^7.0.0",
  24. "gulp": "~3.8.11",
  25. "gulp-autoprefixer": "~3.0.2",
  26. "gulp-rename": "^1.2.2",
  27. "gulp-sass": "~2.3.1",
  28. "gulp-sourcemaps": "~1.5.2",
  29. "gulp-util": "~2.2.14",
  30. "isparta": "^4.0.0",
  31. "lodash": "^4.5.1",
  32. "mocha": "^2.4.5",
  33. "mustache": "^2.2.1",
  34. "redux-devtools": "^3.1.1",
  35. "require-dir": "^0.3.0",
  36. "sinon": "^1.17.3"
  37. },
  38. "dependencies": {
  39. "exports-loader": "^0.6.3",
  40. "imports-loader": "^0.6.5",
  41. "react": "^0.14.7",
  42. "react-dom": "^0.14.7",
  43. "react-redux": "^4.4.0",
  44. "redux": "^3.3.1",
  45. "webpack": "^1.12.14",
  46. "whatwg-fetch": "^0.11.0"
  47. },
  48. "scripts": {
  49. "postinstall": "cd ./client; npm install; cd ..",
  50. "build": "gulp build; webpack --progress --colors --config webpack.prd.config.js",
  51. "watch": "webpack --progress --colors --config webpack.dev.config.js & gulp watch",
  52. "start": "npm run watch",
  53. "lint:js": "eslint --max-warnings 16 webpack.*.config.js ./client/src",
  54. "lint": "npm run lint:js",
  55. "test": "npm run test:unit",
  56. "test:unit": "env NODE_PATH=$NODE_PATH:$PWD/client/src mocha --compilers js:babel-core/register client/tests/**/*.test.js",
  57. "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",
  58. "component": "node ./client/src/cli/index.js component --dir ./client/src/components/"
  59. }
  60. }