package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "name": "electron",
  3. "version": "22.0.0-nightly.20220908",
  4. "repository": "https://github.com/electron/electron",
  5. "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
  6. "devDependencies": {
  7. "@azure/storage-blob": "^12.9.0",
  8. "@electron/docs-parser": "^0.12.4",
  9. "@electron/typescript-definitions": "^8.9.6",
  10. "@octokit/auth-app": "^2.10.0",
  11. "@octokit/rest": "^18.0.3",
  12. "@primer/octicons": "^10.0.0",
  13. "@types/basic-auth": "^1.1.3",
  14. "@types/busboy": "^0.2.3",
  15. "@types/chai": "^4.2.12",
  16. "@types/chai-as-promised": "^7.1.3",
  17. "@types/dirty-chai": "^2.0.2",
  18. "@types/express": "^4.17.13",
  19. "@types/fs-extra": "^9.0.1",
  20. "@types/klaw": "^3.0.1",
  21. "@types/minimist": "^1.2.0",
  22. "@types/mocha": "^7.0.2",
  23. "@types/node": "^16.11.26",
  24. "@types/semver": "^7.3.3",
  25. "@types/send": "^0.14.5",
  26. "@types/split": "^1.0.0",
  27. "@types/stream-json": "^1.5.1",
  28. "@types/temp": "^0.8.34",
  29. "@types/uuid": "^3.4.6",
  30. "@types/webpack": "^5.28.0",
  31. "@types/webpack-env": "^1.17.0",
  32. "@typescript-eslint/eslint-plugin": "^4.4.1",
  33. "@typescript-eslint/parser": "^4.4.1",
  34. "asar": "^3.1.0",
  35. "aws-sdk": "^2.814.0",
  36. "buffer": "^6.0.3",
  37. "check-for-leaks": "^1.2.1",
  38. "colors": "1.4.0",
  39. "dotenv-safe": "^4.0.4",
  40. "dugite": "^1.103.0",
  41. "eslint": "^7.4.0",
  42. "eslint-config-standard": "^14.1.1",
  43. "eslint-plugin-import": "^2.22.0",
  44. "eslint-plugin-mocha": "^7.0.1",
  45. "eslint-plugin-node": "^11.1.0",
  46. "eslint-plugin-standard": "^4.0.1",
  47. "eslint-plugin-typescript": "^0.14.0",
  48. "express": "^4.16.4",
  49. "folder-hash": "^2.1.1",
  50. "fs-extra": "^9.0.1",
  51. "got": "^11.8.5",
  52. "husky": "^8.0.1",
  53. "klaw": "^3.0.0",
  54. "lint": "^1.1.2",
  55. "lint-staged": "^10.2.11",
  56. "markdownlint": "^0.21.1",
  57. "markdownlint-cli": "^0.25.0",
  58. "minimist": "^1.2.6",
  59. "null-loader": "^4.0.0",
  60. "pre-flight": "^1.1.0",
  61. "process": "^0.11.10",
  62. "remark-cli": "^10.0.0",
  63. "remark-preset-lint-markdown-style-guide": "^4.0.0",
  64. "semver": "^5.6.0",
  65. "shx": "^0.3.2",
  66. "standard-markdown": "^6.0.0",
  67. "stream-json": "^1.7.1",
  68. "tap-xunit": "^2.4.1",
  69. "temp": "^0.8.3",
  70. "timers-browserify": "1.4.2",
  71. "ts-loader": "^8.0.2",
  72. "ts-node": "6.2.0",
  73. "typescript": "^4.5.5",
  74. "webpack": "^5.73.0",
  75. "webpack-cli": "^4.10.0",
  76. "wrapper-webpack-plugin": "^2.2.0"
  77. },
  78. "private": true,
  79. "scripts": {
  80. "asar": "asar",
  81. "generate-version-json": "node script/generate-version-json.js",
  82. "lint": "node ./script/lint.js && npm run lint:docs",
  83. "lint:js": "node ./script/lint.js --js",
  84. "lint:clang-format": "python3 script/run-clang-format.py -r -c shell/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  85. "lint:clang-tidy": "ts-node ./script/run-clang-tidy.ts",
  86. "lint:cpp": "node ./script/lint.js --cc",
  87. "lint:objc": "node ./script/lint.js --objc",
  88. "lint:py": "node ./script/lint.js --py",
  89. "lint:gn": "node ./script/lint.js --gn",
  90. "lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links && npm run lint:markdownlint",
  91. "lint:docs-relative-links": "python3 ./script/check-relative-doc-links.py",
  92. "lint:markdownlint": "markdownlint \"*.md\" \"docs/**/*.md\"",
  93. "lint:js-in-markdown": "standard-markdown docs",
  94. "create-api-json": "electron-docs-parser --dir=./",
  95. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --api=electron-api.json && node spec/ts-smoke/runner.js",
  96. "gn-typescript-definitions": "npm run create-typescript-definitions && shx cp electron.d.ts",
  97. "pre-flight": "pre-flight",
  98. "gn-check": "node ./script/gn-check.js",
  99. "gn-format": "python3 script/run-gn-format.py",
  100. "precommit": "lint-staged",
  101. "preinstall": "node -e 'process.exit(0)'",
  102. "prepack": "check-for-leaks",
  103. "prepare": "husky install",
  104. "repl": "node ./script/start.js --interactive",
  105. "start": "node ./script/start.js",
  106. "test": "node ./script/spec-runner.js",
  107. "tsc": "tsc",
  108. "webpack": "webpack"
  109. },
  110. "license": "MIT",
  111. "author": "Electron Community",
  112. "keywords": [
  113. "electron"
  114. ],
  115. "lint-staged": {
  116. "*.{js,ts}": [
  117. "node script/lint.js --js --fix --only --"
  118. ],
  119. "*.{js,ts,d.ts}": [
  120. "ts-node script/gen-filenames.ts"
  121. ],
  122. "*.{cc,mm,c,h}": [
  123. "python3 script/run-clang-format.py -r -c --fix"
  124. ],
  125. "*.md": [
  126. "npm run lint:docs"
  127. ],
  128. "*.{gn,gni}": [
  129. "npm run gn-check",
  130. "npm run gn-format"
  131. ],
  132. "*.py": [
  133. "node script/lint.js --py --fix --only --"
  134. ],
  135. "docs/api/**/*.md": [
  136. "ts-node script/gen-filenames.ts",
  137. "markdownlint --config .markdownlint.autofix.json --fix",
  138. "git add filenames.auto.gni"
  139. ],
  140. "{*.patch,.patches}": [
  141. "node script/lint.js --patches --only --",
  142. "ts-node script/check-patch-diff.ts"
  143. ],
  144. "DEPS": [
  145. "node script/gen-hunspell-filenames.js"
  146. ]
  147. },
  148. "resolutions": {
  149. "nan": "nodejs/nan#16fa32231e2ccd89d2804b3f765319128b20c4ac"
  150. }
  151. }