package.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. {
  2. "name": "electron",
  3. "version": "6.0.0-nightly.20190123",
  4. "repository": "https://github.com/electron/electron",
  5. "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
  6. "devDependencies": {
  7. "@octokit/rest": "^16.3.2",
  8. "aliasify": "^2.1.0",
  9. "asar": "^0.11.0",
  10. "browserify": "^13.1.0",
  11. "check-for-leaks": "^1.0.2",
  12. "clang-format": "^1.2.3",
  13. "colors": "^1.1.2",
  14. "dotenv-safe": "^4.0.4",
  15. "dugite": "^1.45.0",
  16. "electron-docs-linter": "^2.4.0",
  17. "electron-typescript-definitions": "^6.0.0",
  18. "eslint": "^5.6.0",
  19. "eslint-config-standard": "^12.0.0",
  20. "eslint-plugin-mocha": "^5.2.0",
  21. "folder-hash": "^2.1.1",
  22. "husky": "^0.14.3",
  23. "lint": "^1.1.2",
  24. "lint-staged": "^8.1.0",
  25. "minimist": "^1.2.0",
  26. "nugget": "^2.0.1",
  27. "octicons": "^7.3.0",
  28. "plist": "^3.0.1",
  29. "remark-cli": "^4.0.0",
  30. "remark-preset-lint-markdown-style-guide": "^2.1.1",
  31. "request": "^2.88.0",
  32. "semver": "^5.6.0",
  33. "serve": "^6.5.8",
  34. "standard-markdown": "^5.0.0",
  35. "sumchecker": "^2.0.2",
  36. "temp": "^0.8.3"
  37. },
  38. "private": true,
  39. "scripts": {
  40. "asar": "asar",
  41. "browserify": "browserify",
  42. "bump-version": "./script/bump-version.js",
  43. "check-tls": "python ./script/tls.py",
  44. "clang-format": "find atom/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
  45. "lint": "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs",
  46. "lint:js": "node ./script/lint.js --js",
  47. "lint:clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  48. "lint:cpp": "node ./script/lint.js --cc",
  49. "lint:py": "node ./script/lint.js --py",
  50. "lint:gn": "node ./script/lint.js --gn",
  51. "lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links",
  52. "lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
  53. "lint:js-in-markdown": "standard-markdown docs",
  54. "create-api-json": "electron-docs-linter docs --outfile=electron-api.json",
  55. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=electron-api.json --out=electron.d.ts",
  56. "preinstall": "node -e 'process.exit(0)'",
  57. "precommit": "lint-staged",
  58. "prepack": "check-for-leaks",
  59. "prepush": "check-for-leaks",
  60. "repl": "node ./script/start.js --interactive",
  61. "start": "node ./script/start.js",
  62. "test": "node ./script/spec-runner.js electron/spec"
  63. },
  64. "license": "MIT",
  65. "author": "Electron Community",
  66. "keywords": [
  67. "electron"
  68. ],
  69. "aliasify": {
  70. "replacements": {
  71. "@electron/internal/(.+)": "./lib/$1"
  72. }
  73. },
  74. "lint-staged": {
  75. "*.{js,ts}": [
  76. "node script/lint.js --js --fix --only --",
  77. "git add"
  78. ],
  79. "*.{cc,mm,c,h}": [
  80. "python script/run-clang-format.py -r -c --fix",
  81. "git add"
  82. ],
  83. "*.md": [
  84. "remark -qf"
  85. ]
  86. }
  87. }