package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "name": "vue-jest",
  3. "version": "3.0.7",
  4. "description": "Jest Vue transform",
  5. "main": "vue-jest.js",
  6. "files": [
  7. "vue-jest.js",
  8. "lib"
  9. ],
  10. "keywords": [
  11. "jest",
  12. "vue",
  13. "jest vue",
  14. "jest vue transform",
  15. "jest vue preprocessor",
  16. "vue jest",
  17. "vue jest",
  18. "vue jest transform",
  19. "vue jest preprocessor"
  20. ],
  21. "scripts": {
  22. "lint": "eslint lib vue-jest.js test",
  23. "lint:fix": "npm run lint -- --fix",
  24. "release": "build/release.sh",
  25. "release:note": "node build/gen-release-note.js",
  26. "test": "npm run lint && ./test.sh",
  27. "unit": "./test.sh",
  28. "unit:run": "jest test --no-cache --runInBand --coverage --coverageDirectory test/coverage"
  29. },
  30. "author": "Edd Yerburgh",
  31. "license": "MIT",
  32. "devDependencies": {
  33. "@vue/test-utils": "^1.0.0-beta.25",
  34. "babel-core": "^6.25.0",
  35. "babel-jest": "^20.0.3",
  36. "babel-plugin-istanbul": "^4.1.4",
  37. "babel-preset-env": "^1.6.1",
  38. "clear-module": "^2.1.0",
  39. "coffeescript": "^2.0.3",
  40. "conventional-changelog": "^1.1.5",
  41. "eslint": "^4.3.0",
  42. "eslint-plugin-html": "^3.1.1",
  43. "eslint-plugin-vue": "^2.1.0",
  44. "eslint-plugin-vue-libs": "^1.2.0",
  45. "hamljs": "^0.6.2",
  46. "jade": "^1.11.0",
  47. "jest": "^20.0.4",
  48. "node-sass": "^4.10.0",
  49. "postcss": "^7.0.18",
  50. "postcss-css-variables": "^0.13.0",
  51. "postcss-load-config": "^2.1.0",
  52. "postcss-nested": "^4.1.2",
  53. "pug": "^2.0.0-rc.3",
  54. "stylus": "^0.54.5",
  55. "typescript": "^2.5.2",
  56. "vue": "^2.4.2",
  57. "vue-template-compiler": "^2.4.2"
  58. },
  59. "peerDependencies": {
  60. "babel-core": "^6.25.0 || ^7.0.0-0",
  61. "vue": "^2.x",
  62. "vue-template-compiler": "^2.x"
  63. },
  64. "dependencies": {
  65. "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
  66. "chalk": "^2.1.0",
  67. "deasync": "^0.1.15",
  68. "extract-from-css": "^0.4.4",
  69. "find-babel-config": "^1.1.0",
  70. "js-beautify": "^1.6.14",
  71. "node-cache": "^4.1.1",
  72. "object-assign": "^4.1.1",
  73. "source-map": "^0.5.6",
  74. "tsconfig": "^7.0.0",
  75. "vue-template-es2015-compiler": "^1.6.0"
  76. },
  77. "jest": {
  78. "moduleFileExtensions": [
  79. "js",
  80. "json",
  81. "vue"
  82. ],
  83. "transform": {
  84. "^.+\\.js$": "<rootDir>/node_modules/babel-jest",
  85. ".*\\.(vue)$": "<rootDir>/vue-jest.js"
  86. },
  87. "mapCoverage": true,
  88. "moduleNameMapper": {
  89. "^~?__root/(.*)$": "<rootDir>/$1",
  90. "^~?__test/(.*)$": "<rootDir>/test/$1"
  91. }
  92. },
  93. "repository": {
  94. "type": "git",
  95. "url": "git+https://github.com/vuejs/vue-jest.git"
  96. }
  97. }