package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. {
  2. "_from": "jest-canvas-mock@^2.1.0",
  3. "_id": "jest-canvas-mock@2.2.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-DcJdchb7eWFZkt6pvyceWWnu3lsp5QWbUeXiKgEMhwB3sMm5qHM1GQhDajvJgBeiYpgKcojbzZ53d/nz6tXvJw==",
  6. "_location": "/jest-canvas-mock",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "range",
  10. "registry": true,
  11. "raw": "jest-canvas-mock@^2.1.0",
  12. "name": "jest-canvas-mock",
  13. "escapedName": "jest-canvas-mock",
  14. "rawSpec": "^2.1.0",
  15. "saveSpec": null,
  16. "fetchSpec": "^2.1.0"
  17. },
  18. "_requiredBy": [
  19. "#DEV:/"
  20. ],
  21. "_resolved": "http://dev.dp.sagacloud.cn:8082/repository/npm-saga/jest-canvas-mock/-/jest-canvas-mock-2.2.0.tgz",
  22. "_shasum": "45fbc58589c6ce9df50dc90bd8adce747cbdada7",
  23. "_spec": "jest-canvas-mock@^2.1.0",
  24. "_where": "D:\\project\\persagy-web\\persagy-web-draw",
  25. "author": {
  26. "name": "hustcc"
  27. },
  28. "bugs": {
  29. "url": "https://github.com/hustcc/jest-canvas-mock/issues"
  30. },
  31. "bundleDependencies": false,
  32. "commitlint": {
  33. "extends": [
  34. "@commitlint/config-angular"
  35. ]
  36. },
  37. "dependencies": {
  38. "cssfontparser": "^1.2.1",
  39. "parse-color": "^1.0.0"
  40. },
  41. "deprecated": false,
  42. "description": "Mock a canvas in your jest tests.",
  43. "devDependencies": {
  44. "@babel/cli": "^7.6.4",
  45. "@babel/core": "^7.6.4",
  46. "@babel/plugin-proposal-class-properties": "^7.5.5",
  47. "@babel/preset-env": "^7.6.3",
  48. "@commitlint/cli": "^8.2.0",
  49. "@commitlint/config-angular": "^8.2.0",
  50. "babel-jest": "^24.9.0",
  51. "babel-plugin-version": "^0.2.3",
  52. "coveralls": "^3.0.7",
  53. "husky": "^3.0.9",
  54. "jest": "^24.9.0"
  55. },
  56. "homepage": "https://github.com/hustcc/jest-canvas-mock#readme",
  57. "husky": {
  58. "hooks": {
  59. "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
  60. "pre-commit": "npm run test && npm run build"
  61. }
  62. },
  63. "jest": {
  64. "collectCoverage": true,
  65. "collectCoverageFrom": [
  66. "src/classes/**/*.js",
  67. "src/mock/**/*.js"
  68. ],
  69. "setupFiles": [
  70. "./src/index.js"
  71. ]
  72. },
  73. "keywords": [
  74. "mock",
  75. "jest",
  76. "jest-mock",
  77. "echarts",
  78. "canvas",
  79. "test",
  80. "unit"
  81. ],
  82. "license": "MIT",
  83. "main": "lib/index.js",
  84. "name": "jest-canvas-mock",
  85. "repository": {
  86. "type": "git",
  87. "url": "git+https://github.com/hustcc/jest-canvas-mock.git"
  88. },
  89. "scripts": {
  90. "build": "babel src --out-dir lib",
  91. "coveralls": "cat ./coverage/lcov.info | coveralls",
  92. "prepare": "npm run build",
  93. "test": "jest --no-cache"
  94. },
  95. "types": "types/index.d.ts",
  96. "version": "2.2.0"
  97. }