package.json 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. {
  2. "name": "electron",
  3. "version": "10.4.7",
  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.0",
  8. "@electron/typescript-definitions": "^8.7.2",
  9. "@octokit/auth-app": "^2.10.0",
  10. "@octokit/rest": "^16.3.2",
  11. "@primer/octicons": "^9.1.1",
  12. "@types/basic-auth": "^1.1.3",
  13. "@types/busboy": "^0.2.3",
  14. "@types/chai": "^4.2.11",
  15. "@types/chai-as-promised": "^7.1.2",
  16. "@types/dirty-chai": "^2.0.2",
  17. "@types/express": "^4.17.3",
  18. "@types/fs-extra": "^8.1.0",
  19. "@types/mocha": "^7.0.2",
  20. "@types/node": "^12.12.6",
  21. "@types/semver": "^7.1.0",
  22. "@types/send": "^0.14.5",
  23. "@types/split": "^1.0.0",
  24. "@types/uuid": "^3.4.6",
  25. "@types/webpack": "^4.41.7",
  26. "@types/webpack-env": "^1.15.1",
  27. "@typescript-eslint/eslint-plugin": "^2.24.0",
  28. "@typescript-eslint/parser": "^2.24.0",
  29. "asar": "^3.0.1",
  30. "check-for-leaks": "^1.2.1",
  31. "colors": "^1.1.2",
  32. "dotenv-safe": "^4.0.4",
  33. "dugite": "^1.45.0",
  34. "eslint": "^5.13.0",
  35. "eslint-config-standard": "^12.0.0",
  36. "eslint-plugin-import": "^2.17.2",
  37. "eslint-plugin-mocha": "^5.2.0",
  38. "eslint-plugin-node": "^8.0.1",
  39. "eslint-plugin-standard": "^4.0.0",
  40. "eslint-plugin-typescript": "^0.14.0",
  41. "express": "^4.16.4",
  42. "folder-hash": "^2.1.1",
  43. "fs-extra": "^7.0.1",
  44. "husky": "^2.2.0",
  45. "klaw": "^3.0.0",
  46. "lint": "^1.1.2",
  47. "lint-staged": "^8.1.0",
  48. "minimist": "^1.2.0",
  49. "nugget": "^2.0.1",
  50. "null-loader": "^4.0.0",
  51. "pre-flight": "^1.1.0",
  52. "remark-cli": "^4.0.0",
  53. "remark-preset-lint-markdown-style-guide": "^2.1.1",
  54. "request": "^2.88.0",
  55. "semver": "^5.6.0",
  56. "shx": "^0.3.2",
  57. "standard-markdown": "^5.0.0",
  58. "sumchecker": "^2.0.2",
  59. "tap-xunit": "^2.4.1",
  60. "temp": "^0.8.3",
  61. "timers-browserify": "1.4.2",
  62. "ts-loader": "^6.0.2",
  63. "ts-node": "^6.0.3",
  64. "typescript": "^3.8.3",
  65. "webpack": "^4.42.0",
  66. "webpack-cli": "^3.3.11"
  67. },
  68. "private": true,
  69. "scripts": {
  70. "asar": "asar",
  71. "generate-version-json": "node script/generate-version-json.js",
  72. "lint": "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs",
  73. "lint:js": "node ./script/lint.js --js",
  74. "lint:clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  75. "lint:cpp": "node ./script/lint.js --cc",
  76. "lint:objc": "node ./script/lint.js --objc",
  77. "lint:py": "node ./script/lint.js --py",
  78. "lint:gn": "node ./script/lint.js --gn",
  79. "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",
  80. "lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
  81. "lint:check-trailing-whitespace": "python ./script/check-trailing-whitespace.py",
  82. "lint:js-in-markdown": "standard-markdown docs",
  83. "create-api-json": "electron-docs-parser --dir=./",
  84. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --api=electron-api.json && node spec/ts-smoke/runner.js",
  85. "gn-typescript-definitions": "npm run create-typescript-definitions && shx cp electron.d.ts",
  86. "pre-flight": "pre-flight",
  87. "gn-check": "node ./script/gn-check.js",
  88. "preinstall": "node -e 'process.exit(0)'",
  89. "prepack": "check-for-leaks",
  90. "repl": "node ./script/start.js --interactive",
  91. "start": "node ./script/start.js",
  92. "test": "node ./script/spec-runner.js",
  93. "tsc": "tsc",
  94. "webpack": "node build/webpack/run-compiler"
  95. },
  96. "license": "MIT",
  97. "author": "Electron Community",
  98. "keywords": [
  99. "electron"
  100. ],
  101. "husky": {
  102. "hooks": {
  103. "pre-push": "check-for-leaks"
  104. }
  105. },
  106. "lint-staged": {
  107. "*.{js,ts}": [
  108. "node script/lint.js --js --fix --only --",
  109. "git add"
  110. ],
  111. "*.{js,ts,d.ts}": [
  112. "node script/gen-filenames.js",
  113. "git add"
  114. ],
  115. "*.{cc,mm,c,h}": [
  116. "python script/run-clang-format.py -r -c --fix",
  117. "git add"
  118. ],
  119. "*.md": [
  120. "npm run lint:docs"
  121. ],
  122. "*.{gn,gni}": [
  123. "npm run gn-check",
  124. "python script/run-gn-format.py",
  125. "git add"
  126. ],
  127. "*.py": [
  128. "node script/lint.js --py --fix --only --",
  129. "git add"
  130. ],
  131. "docs/api/**/*.md": [
  132. "node script/gen-filenames.js",
  133. "python script/check-trailing-whitespace.py --fix",
  134. "git add filenames.auto.gni"
  135. ],
  136. "{*.patch,.patches}": [
  137. "node script/lint.js --patches --only --"
  138. ],
  139. "DEPS": [
  140. "node script/gen-hunspell-filenames.js"
  141. ]
  142. },
  143. "dependencies": {
  144. "@types/temp": "^0.8.34"
  145. }
  146. }