package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "name": "mocha-webpack",
  3. "version": "2.0.0-beta.0",
  4. "description": "mocha cli with webpack support",
  5. "bin": {
  6. "mocha-webpack": "./bin/mocha-webpack"
  7. },
  8. "main": "./lib/createMochaWebpack.js",
  9. "files": [
  10. "*.md",
  11. "bin",
  12. "src",
  13. "lib"
  14. ],
  15. "scripts": {
  16. "clean-lib": "del-cli \"lib/**\" \"!lib\" \"!lib/reporters\" \"!lib/utils.js\" \"!lib/entry.js\" \"!lib/reporters/base.js\"",
  17. "clean-tmp": "del-cli \".tmp/**\"",
  18. "build": "npm run clean-lib && babel ./src -d lib",
  19. "lint": "eslint --report-unused-disable-directives src test bin",
  20. "flow": "flow",
  21. "test": "npm run clean-tmp && npm run build && mocha --timeout 10000 --recursive --require babel-register \"test/**/*.test.js\"",
  22. "cover": "cross-env BABEL_ENV=coverage nyc --reporter=lcov --reporter=text npm test",
  23. "posttest": "npm run lint",
  24. "docs:clean": "del-cli _book",
  25. "docs:prepare": "gitbook install",
  26. "docs:build": "npm run docs:prepare && gitbook build",
  27. "docs:watch": "npm run docs:prepare && gitbook serve --port 3000",
  28. "docs:deploy": "npm run docs:clean && npm run docs:build && gh-pages -d _book",
  29. "prepublish": "npm run build",
  30. "postpublish": "npm run docs:deploy",
  31. "release": "np"
  32. },
  33. "repository": {
  34. "type": "git",
  35. "url": "https://github.com/zinserjan/mocha-webpack"
  36. },
  37. "bugs": {
  38. "url": "https://github.com/zinserjan/mocha-webpack/issues"
  39. },
  40. "keywords": [
  41. "webpack",
  42. "mocha"
  43. ],
  44. "author": "Jan-André Zinser",
  45. "license": "MIT",
  46. "peerDependencies": {
  47. "mocha": ">=4 <=5",
  48. "webpack": "^4.0.0"
  49. },
  50. "devDependencies": {
  51. "anymatch": "^2.0.0",
  52. "babel-cli": "^6.5.1",
  53. "babel-core": "^6.26.0",
  54. "babel-eslint": "^8.2.2",
  55. "babel-loader": "~7.1.0",
  56. "babel-plugin-istanbul": "^4.1.5",
  57. "babel-plugin-lodash": "^3.2.10",
  58. "babel-plugin-transform-class-properties": "^6.5.2",
  59. "babel-plugin-transform-decorators-legacy": "^1.3.4",
  60. "babel-plugin-transform-flow-strip-types": "^6.18.0",
  61. "babel-plugin-transform-object-rest-spread": "^6.19.0",
  62. "babel-plugin-transform-runtime": "^6.15.0",
  63. "babel-preset-env": "^1.6.1",
  64. "babel-register": "^6.5.2",
  65. "bdd-lazy-var": "^2.1.2",
  66. "chai": "^4.1.0",
  67. "coffee-script": "^1.11.1",
  68. "cross-env": "^5.1.0",
  69. "css-loader": "~0.28.7",
  70. "del": "^3.0.0",
  71. "del-cli": "^1.1.0",
  72. "eslint": "^4.19.0",
  73. "eslint-config-airbnb-base": "^12.1.0",
  74. "eslint-plugin-flowtype": "^2.29.1",
  75. "eslint-plugin-flowtype-errors": "^3.5.1",
  76. "eslint-plugin-import": "^2.9.0",
  77. "fast-async": "^6.1.2",
  78. "flow-bin": "^0.68.0",
  79. "fs-extra": "^5.0.0",
  80. "gh-pages": "^1.0.0",
  81. "gitbook-cli": "^2.3.2",
  82. "gitbook-plugin-anchors": "^0.7.1",
  83. "gitbook-plugin-edit-link": "^2.0.2",
  84. "gitbook-plugin-github": "^2.0.0",
  85. "gitbook-plugin-prism": "^2.0.0",
  86. "glob": "7.1.2",
  87. "mocha": "^5.0.1",
  88. "node-sass": "~4.7.2",
  89. "np": "^2.9.0",
  90. "nyc": "^11.3.0",
  91. "sass-loader": "~6.0.0",
  92. "sinon": "^4.0.1",
  93. "tiny-worker": "^2.1.2",
  94. "webpack": "^4",
  95. "worker-loader": "^1.1.1",
  96. "write-file-webpack-plugin": "^4.2.0"
  97. },
  98. "dependencies": {
  99. "babel-runtime": "^6.18.0",
  100. "chalk": "^2.3.0",
  101. "chokidar": "^2.0.2",
  102. "glob-parent": "^3.1.0",
  103. "globby": "^7.1.1",
  104. "interpret": "^1.0.1",
  105. "is-glob": "^4.0.0",
  106. "loader-utils": "^1.1.0",
  107. "lodash": "^4.3.0",
  108. "memory-fs": "^0.4.1",
  109. "nodent-runtime": "^3.0.3",
  110. "normalize-path": "^2.0.1",
  111. "progress": "^2.0.0",
  112. "source-map-support": "^0.5.0",
  113. "strip-ansi": "^4.0.0",
  114. "toposort": "^1.0.0",
  115. "yargs": "^11.0.0"
  116. },
  117. "greenkeeper": {
  118. "ignore": [
  119. "globby",
  120. "gitbook-cli",
  121. "gitbook-plugin-anchors",
  122. "gitbook-plugin-edit-link",
  123. "gitbook-plugin-github",
  124. "gitbook-plugin-prism"
  125. ]
  126. },
  127. "nyc": {
  128. "include": [
  129. "src/**/*.js"
  130. ],
  131. "sourceMap": false,
  132. "instrument": false
  133. }
  134. }