package.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "_args": [
  3. [
  4. "vue-jest@3.0.4",
  5. "/Users/lihai/jolijoli/pad_spa"
  6. ]
  7. ],
  8. "_development": true,
  9. "_from": "vue-jest@3.0.4",
  10. "_id": "vue-jest@3.0.4",
  11. "_inBundle": false,
  12. "_integrity": "sha1-tqKw2HSWjyb6d1rJAZA/7OUx4Is=",
  13. "_location": "/vue-jest",
  14. "_phantomChildren": {},
  15. "_requested": {
  16. "type": "version",
  17. "registry": true,
  18. "raw": "vue-jest@3.0.4",
  19. "name": "vue-jest",
  20. "escapedName": "vue-jest",
  21. "rawSpec": "3.0.4",
  22. "saveSpec": null,
  23. "fetchSpec": "3.0.4"
  24. },
  25. "_requiredBy": [
  26. "/@vue/cli-plugin-unit-jest"
  27. ],
  28. "_resolved": "https://registry.npm.taobao.org/vue-jest/download/vue-jest-3.0.4.tgz",
  29. "_spec": "3.0.4",
  30. "_where": "/Users/lihai/jolijoli/pad_spa",
  31. "author": {
  32. "name": "Edd Yerburgh"
  33. },
  34. "bugs": {
  35. "url": "https://github.com/eddyerburgh/vue-jest/issues"
  36. },
  37. "dependencies": {
  38. "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
  39. "chalk": "^2.1.0",
  40. "extract-from-css": "^0.4.4",
  41. "find-babel-config": "^1.1.0",
  42. "js-beautify": "^1.6.14",
  43. "node-cache": "^4.1.1",
  44. "object-assign": "^4.1.1",
  45. "source-map": "^0.5.6",
  46. "tsconfig": "^7.0.0",
  47. "vue-template-es2015-compiler": "^1.6.0"
  48. },
  49. "description": "Jest Vue transform",
  50. "devDependencies": {
  51. "@vue/test-utils": "^1.0.0-beta.25",
  52. "babel-core": "^6.25.0",
  53. "babel-jest": "^20.0.3",
  54. "babel-plugin-istanbul": "^4.1.4",
  55. "babel-preset-env": "^1.6.1",
  56. "clear-module": "^2.1.0",
  57. "coffeescript": "^2.0.3",
  58. "conventional-changelog": "^1.1.5",
  59. "eslint": "^4.3.0",
  60. "eslint-plugin-html": "^3.1.1",
  61. "eslint-plugin-vue": "^2.1.0",
  62. "eslint-plugin-vue-libs": "^1.2.0",
  63. "hamljs": "^0.6.2",
  64. "jade": "^1.11.0",
  65. "jest": "^20.0.4",
  66. "node-sass": "^4.10.0",
  67. "pug": "^2.0.0-rc.3",
  68. "stylus": "^0.54.5",
  69. "typescript": "^2.5.2",
  70. "vue": "^2.4.2",
  71. "vue-template-compiler": "^2.4.2"
  72. },
  73. "files": [
  74. "vue-jest.js",
  75. "lib"
  76. ],
  77. "homepage": "https://github.com/eddyerburgh/vue-jest#readme",
  78. "jest": {
  79. "moduleFileExtensions": [
  80. "js",
  81. "json",
  82. "vue"
  83. ],
  84. "transform": {
  85. "^.+\\.js$": "<rootDir>/node_modules/babel-jest",
  86. ".*\\.(vue)$": "<rootDir>/vue-jest.js"
  87. },
  88. "mapCoverage": true,
  89. "moduleNameMapper": {
  90. "^~?__root/(.*)$": "<rootDir>/$1",
  91. "^~?__test/(.*)$": "<rootDir>/test/$1"
  92. }
  93. },
  94. "keywords": [
  95. "jest",
  96. "vue",
  97. "jest vue",
  98. "jest vue transform",
  99. "jest vue preprocessor",
  100. "vue jest",
  101. "vue jest",
  102. "vue jest transform",
  103. "vue jest preprocessor"
  104. ],
  105. "license": "MIT",
  106. "main": "vue-jest.js",
  107. "name": "vue-jest",
  108. "peerDependencies": {
  109. "babel-core": "^6.25.0 || ^7.0.0-0",
  110. "vue": "^2.x",
  111. "vue-template-compiler": "^2.x"
  112. },
  113. "repository": {
  114. "type": "git",
  115. "url": "git+https://github.com/eddyerburgh/vue-jest.git"
  116. },
  117. "scripts": {
  118. "lint": "eslint lib vue-jest.js test",
  119. "lint:fix": "npm run lint -- --fix",
  120. "release": "build/release.sh",
  121. "release:note": "node build/gen-release-note.js",
  122. "test": "npm run lint && ./test.sh",
  123. "unit": "./test.sh",
  124. "unit:run": "jest test --no-cache --runInBand --coverage --coverageDirectory test/coverage"
  125. },
  126. "version": "3.0.4"
  127. }