package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "name": "coriolis-web",
  3. "version": "1.4.8",
  4. "license": "AGPL-3.0",
  5. "scripts": {
  6. "start": "npm run env:dev && node server.js --dev",
  7. "env:dev": "cross-env NODE_ENV=development",
  8. "env:prod": "cross-env NODE_ENV=production",
  9. "cypress": "cypress open",
  10. "test": "jest",
  11. "testc": "jest --runInBand -t 'WizardStorage Component'",
  12. "storybook": "start-storybook -p 9001 -c private/storybook",
  13. "lint": "eslint src private webpack.config.js --ext js,jsx",
  14. "build:clean": "rimraf \"dist/!(.git*|Procfile)**\"",
  15. "build:copy": "copyfiles -u 1 public/* public/**/* dist",
  16. "prebuild": "npm run build:clean && npm run build:copy",
  17. "build": "npm run env:prod -- webpack",
  18. "flow": "flow",
  19. "flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true"
  20. },
  21. "jest": {
  22. "verbose": true,
  23. "moduleDirectories": [
  24. "src",
  25. "node_modules"
  26. ],
  27. "moduleNameMapper": {
  28. "^.+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/private/jest/fileMock.js",
  29. "^components$": "<rootDir>/private/jest/componentsMock.js"
  30. },
  31. "setupFiles": [
  32. "<rootDir>/private/jest/shim.js",
  33. "<rootDir>/private/jest/setupTests.js"
  34. ],
  35. "testURL": "http://localhost/"
  36. },
  37. "devDependencies": {
  38. "@storybook/react": "^3.2.15",
  39. "babel-eslint": "^8.0.1",
  40. "babel-jest": "^21.2.0",
  41. "cypress": "^3.2.0",
  42. "enzyme": "^3.9.0",
  43. "enzyme-adapter-react-16": "^1.11.2",
  44. "eslint": "^4.8.0",
  45. "eslint-config-airbnb": "^15.1.0",
  46. "eslint-plugin-cypress": "^2.0.1",
  47. "eslint-plugin-flowtype": "^2.46.1",
  48. "eslint-plugin-import": "^2.7.0",
  49. "eslint-plugin-jsx-a11y": "^6.0.2",
  50. "eslint-plugin-react": "7.10.0",
  51. "flow-bin": "0.78.0",
  52. "flow-typed": "2.5.1",
  53. "jest": "22",
  54. "react-test-renderer": "^16.0.0",
  55. "sinon": "^4.1.2",
  56. "webpack-dev-middleware": "^1.12.0",
  57. "webpack-hot-middleware": "^2.19.1"
  58. },
  59. "dependencies": {
  60. "@webpack-blocks/webpack2": "^0.4.0",
  61. "autobind-decorator": "^2.1.0",
  62. "axios": "^0.18.0",
  63. "babel-core": "^6.26.0",
  64. "babel-loader": "^7.1.2",
  65. "babel-plugin-styled-components": "^1.2.1",
  66. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  67. "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
  68. "babel-plugin-transform-react-remove-prop-types": "^0.4.9",
  69. "babel-polyfill": "^6.26.0",
  70. "babel-preset-env": "^1.6.0",
  71. "babel-preset-flow": "^6.23.0",
  72. "babel-preset-react": "^6.24.1",
  73. "babel-preset-stage-1": "^6.24.1",
  74. "babel-register": "^6.26.0",
  75. "body-parser": "^1.18.2",
  76. "copyfiles": "^1.2.0",
  77. "cross-env": "^5.0.5",
  78. "express": "^4.16.1",
  79. "file-loader": "^1.1.5",
  80. "fs": "^0.0.1-security",
  81. "history": "^4.7.2",
  82. "html-webpack-plugin": "^2.30.1",
  83. "js-cookie": "^2.1.4",
  84. "lodash": "^4.17.13",
  85. "mobx": "^3.6.1",
  86. "mobx-react": "^4.4.2",
  87. "moment": "^2.18.1",
  88. "moment-timezone": "^0.5.21",
  89. "ms-rest-azure": "^2.4.5",
  90. "path": "^0.12.7",
  91. "raw-loader": "^0.5.1",
  92. "react": "^16.0.0",
  93. "react-collapse": "^4.0.3",
  94. "react-datetime": "^2.10.3",
  95. "react-dom": "^16.0.0",
  96. "react-hot-loader": "next",
  97. "react-modal": "^3.0.4",
  98. "react-motion": "^0.5.2",
  99. "react-notification-system": "^0.2.15",
  100. "react-router-dom": "^4.2.2",
  101. "react-tooltip": "^3.10.0",
  102. "request": "^2.88.0",
  103. "require-without-cache": "^0.0.6",
  104. "rimraf": "^2.6.2",
  105. "styled-components": "2.2.0",
  106. "styled-tools": "^0.2.2",
  107. "url-loader": "^0.6.2",
  108. "webpack": "^3.6.0",
  109. "webpack-blocks-happypack": "^0.1.3",
  110. "webpack-blocks-split-vendor": "^0.2.1"
  111. },
  112. "resolutions": {
  113. "mem": "^4.0.0"
  114. }
  115. }