package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "_from": "html2canvas",
  3. "_id": "html2canvas@1.0.0-rc.5",
  4. "_inBundle": false,
  5. "_integrity": "sha1-TuPKyfbiCg+gwvNab5nJYK5+xME=",
  6. "_location": "/html2canvas",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "tag",
  10. "registry": true,
  11. "raw": "html2canvas",
  12. "name": "html2canvas",
  13. "escapedName": "html2canvas",
  14. "rawSpec": "",
  15. "saveSpec": null,
  16. "fetchSpec": "latest"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npm.taobao.org/html2canvas/download/html2canvas-1.0.0-rc.5.tgz",
  23. "_shasum": "4ee3cac9f6e20a0fa0c2f35a6f99c960ae7ec4c1",
  24. "_spec": "html2canvas",
  25. "_where": "/Users/zhengjunchao/workspace/dailyquotation/html2canvas-renderjs-demo",
  26. "author": {
  27. "name": "Niklas von Hertzen",
  28. "email": "niklasvh@gmail.com",
  29. "url": "https://hertzen.com"
  30. },
  31. "browser": "dist/html2canvas.js",
  32. "bugs": {
  33. "url": "https://github.com/niklasvh/html2canvas/issues"
  34. },
  35. "bundleDependencies": false,
  36. "dependencies": {
  37. "css-line-break": "1.1.1"
  38. },
  39. "deprecated": false,
  40. "description": "Screenshots with JavaScript",
  41. "devDependencies": {
  42. "@babel/cli": "^7.4.3",
  43. "@babel/core": "^7.4.3",
  44. "@babel/preset-env": "^7.4.3",
  45. "@babel/preset-flow": "^7.0.0",
  46. "@types/chai": "^4.1.7",
  47. "@types/glob": "^7.1.1",
  48. "@types/jest": "^24.0.18",
  49. "@types/mocha": "^5.2.6",
  50. "@types/node": "^11.13.2",
  51. "@types/platform": "^1.3.2",
  52. "@types/promise-polyfill": "^6.0.3",
  53. "@typescript-eslint/eslint-plugin": "^1.7.0",
  54. "@typescript-eslint/parser": "^1.7.0",
  55. "appium-ios-simulator": "^3.10.0",
  56. "babel-eslint": "^10.0.1",
  57. "babel-loader": "^8.0.5",
  58. "babel-plugin-add-module-exports": "^1.0.0",
  59. "babel-plugin-dev-expression": "^0.2.1",
  60. "base64-arraybuffer": "0.2.0",
  61. "body-parser": "^1.18.3",
  62. "chai": "4.1.1",
  63. "chromeless": "^1.5.2",
  64. "cors": "2.8.4",
  65. "es6-promise": "^4.2.6",
  66. "eslint": "^5.16.0",
  67. "eslint-config-prettier": "^4.2.0",
  68. "eslint-plugin-prettier": "3.0.1",
  69. "express": "^4.16.4",
  70. "filenamify-url": "1.0.0",
  71. "glob": "7.1.3",
  72. "html2canvas-proxy": "1.0.1",
  73. "jest": "^24.9.0",
  74. "jquery": "^3.4.0",
  75. "js-polyfills": "^0.1.42",
  76. "karma": "^4.0.1",
  77. "karma-chrome-launcher": "^2.2.0",
  78. "karma-edge-launcher": "^0.4.2",
  79. "karma-firefox-launcher": "^1.1.0",
  80. "karma-ie-launcher": "^1.0.0",
  81. "karma-junit-reporter": "^1.2.0",
  82. "karma-mocha": "^1.3.0",
  83. "karma-safari-launcher": "^1.0.0",
  84. "karma-sauce-launcher": "^2.0.2",
  85. "mocha": "^6.1.4",
  86. "node-simctl": "^5.0.0",
  87. "platform": "1.3.4",
  88. "prettier": "1.17.0",
  89. "replace-in-file": "^3.0.0",
  90. "rimraf": "2.6.1",
  91. "rollup": "^1.10.1",
  92. "rollup-plugin-commonjs": "^9.3.4",
  93. "rollup-plugin-json": "^4.0.0",
  94. "rollup-plugin-node-resolve": "^4.2.3",
  95. "rollup-plugin-sourcemaps": "^0.4.2",
  96. "rollup-plugin-typescript2": "^0.21.0",
  97. "serve-index": "^1.9.1",
  98. "slash": "1.0.0",
  99. "standard-version": "^5.0.2",
  100. "ts-jest": "^24.1.0",
  101. "ts-loader": "^5.3.3",
  102. "ts-node": "^8.0.3",
  103. "typescript": "^3.4.3",
  104. "uglify-js": "^3.5.11",
  105. "uglifyjs-webpack-plugin": "^1.1.2",
  106. "webpack": "^4.29.6",
  107. "webpack-cli": "^3.3.0"
  108. },
  109. "engines": {
  110. "node": ">=8.0.0"
  111. },
  112. "homepage": "https://html2canvas.hertzen.com",
  113. "license": "MIT",
  114. "main": "dist/html2canvas.js",
  115. "module": "dist/html2canvas.esm.js",
  116. "name": "html2canvas",
  117. "repository": {
  118. "type": "git",
  119. "url": "git+ssh://git@github.com/niklasvh/html2canvas.git"
  120. },
  121. "scripts": {
  122. "build": "tsc --module commonjs && rollup -c rollup.config.ts && npm run build:create-reftest-list && npm run build:testrunner && npm run build:minify",
  123. "build:create-reftest-list": "ts-node scripts/create-reftest-list.ts tests/reftests/ignore.txt build/reftests.ts",
  124. "build:minify": "uglifyjs --compress --comments /^!/ -o dist/html2canvas.min.js --mangle -- dist/html2canvas.js",
  125. "build:reftest-preview": "webpack --config www/webpack.config.js",
  126. "build:reftest-result-list": "ts-node scripts/create-reftest-result-list.ts",
  127. "build:testrunner": "rollup -c tests/rollup.config.ts",
  128. "format": "prettier --write \"{src,www/src,tests,scripts}/**/*.ts\"",
  129. "karma": "node karma",
  130. "lint": "eslint src/**/*.ts",
  131. "prebuild": "rimraf dist/ && rimraf build/ && mkdirp dist && mkdirp build",
  132. "release": "standard-version",
  133. "start": "node tests/server",
  134. "test": "npm run lint && npm run unittest && npm run karma",
  135. "unittest": "jest",
  136. "watch": "rollup -c rollup.config.ts -w",
  137. "watch:unittest": "mocha --require ts-node/register --watch-extensions ts -w src/**/__tests__/*.ts"
  138. },
  139. "title": "html2canvas",
  140. "typings": "dist/types/index.d.ts",
  141. "version": "1.0.0-rc.5"
  142. }