版博士V2.0程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

79 lignes
2.6 KiB

  1. {
  2. "name": "happy-dom",
  3. "version": "8.9.0",
  4. "license": "MIT",
  5. "homepage": "https://github.com/capricorn86/happy-dom",
  6. "repository": "https://github.com/capricorn86/happy-dom",
  7. "author": "David Ortner",
  8. "description": "Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.",
  9. "main": "lib/index.js",
  10. "keywords": [
  11. "jsdom",
  12. "dom",
  13. "browser",
  14. "custom",
  15. "elements",
  16. "web",
  17. "components",
  18. "html",
  19. "whatwg",
  20. "w3c"
  21. ],
  22. "publishConfig": {
  23. "access": "public"
  24. },
  25. "scripts": {
  26. "compile": "tsc",
  27. "watch": "tsc -w --preserveWatchOutput",
  28. "lint": "eslint --ignore-path .gitignore --max-warnings 0 .",
  29. "lint:fix": "eslint --ignore-path .gitignore --max-warnings 0 --fix .",
  30. "test": "jest --setupFilesAfterEnv ./test/setup.js",
  31. "test:coverage": "jest --setupFilesAfterEnv ./test/setup.js --collectCoverage",
  32. "test:watch": "jest --setupFilesAfterEnv ./test/setup.js --watch",
  33. "test:debug": "node --inspect-brk ./node_modules/.bin/jest --setupFilesAfterEnv ./test/setup.js --runInBand"
  34. },
  35. "jest": {
  36. "transform": {
  37. "^.+\\.ts?$": [
  38. "ts-jest",
  39. {
  40. "tsconfig": "./test/tsconfig.json"
  41. }
  42. ]
  43. },
  44. "testMatch": [
  45. "**/test/**/*.test.ts"
  46. ],
  47. "testEnvironment": "node"
  48. },
  49. "dependencies": {
  50. "css.escape": "^1.5.1",
  51. "he": "^1.2.0",
  52. "node-fetch": "^2.x.x",
  53. "webidl-conversions": "^7.0.0",
  54. "whatwg-encoding": "^2.0.0",
  55. "whatwg-mimetype": "^3.0.0",
  56. "iconv-lite": "^0.6.3"
  57. },
  58. "devDependencies": {
  59. "@types/he": "^1.1.2",
  60. "@types/jest": "^29.4.0",
  61. "@types/node": "^15.6.0",
  62. "@types/node-fetch": "^2.6.1",
  63. "@typescript-eslint/eslint-plugin": "^5.16.0",
  64. "@typescript-eslint/parser": "^5.16.0",
  65. "eslint": "^8.11.0",
  66. "eslint-config-prettier": "^8.5.0",
  67. "eslint-plugin-filenames": "^1.3.2",
  68. "eslint-plugin-import": "^2.25.4",
  69. "eslint-plugin-jest": "^26.1.2",
  70. "eslint-plugin-jsdoc": "^38.0.6",
  71. "eslint-plugin-json": "^3.1.0",
  72. "eslint-plugin-prettier": "^4.0.0",
  73. "eslint-plugin-turbo": "^0.0.7",
  74. "jest": "^29.4.0",
  75. "prettier": "^2.6.0",
  76. "ts-jest": "^29.0.5",
  77. "typescript": "^4.6.2"
  78. }
  79. }