package.json 5.0 KB

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