package.json 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "electron",
  3. "version": "4.1.5",
  4. "repository": "https://github.com/electron/electron",
  5. "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
  6. "devDependencies": {
  7. "aliasify": "^2.1.0",
  8. "asar": "^0.11.0",
  9. "browserify": "^13.1.0",
  10. "check-for-leaks": "^1.0.2",
  11. "clang-format": "^1.2.3",
  12. "colors": "^1.1.2",
  13. "dotenv-safe": "^4.0.4",
  14. "dugite": "^1.45.0",
  15. "electabul": "~0.0.4",
  16. "electron-docs-linter": "^2.4.0",
  17. "electron-typescript-definitions": "^2.1.1",
  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. "github": "^9.2.0",
  23. "html-entities": "^1.2.1",
  24. "husky": "^0.14.3",
  25. "lint": "^1.1.2",
  26. "minimist": "^1.2.0",
  27. "node-fetch": "^2.1.2",
  28. "nugget": "^2.0.1",
  29. "octicons": "^7.3.0",
  30. "recursive-readdir": "^2.2.2",
  31. "remark-cli": "^4.0.0",
  32. "remark-preset-lint-markdown-style-guide": "^2.1.1",
  33. "request": "^2.88.0",
  34. "semver": "^5.5.0",
  35. "serve": "^6.5.8",
  36. "standard-markdown": "^5.0.0",
  37. "sumchecker": "^2.0.2",
  38. "temp": "^0.8.3"
  39. },
  40. "private": true,
  41. "scripts": {
  42. "asar": "asar",
  43. "browserify": "browserify",
  44. "bump-version": "./script/bump-version.py",
  45. "check-tls": "python ./script/tls.py",
  46. "clang-format": "find atom/ brightray/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
  47. "lint": "node ./script/lint.js && npm run lint:clang-format && npm run lint:docs",
  48. "lint:js": "node ./script/lint.js --js",
  49. "lint:clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  50. "lint:cpp": "node ./script/lint.js --cc",
  51. "lint:py": "node ./script/lint.js --py",
  52. "lint:gn": "node ./script/lint.js --gn",
  53. "lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links",
  54. "lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
  55. "lint:js-in-markdown": "standard-markdown docs",
  56. "create-api-json": "electron-docs-linter docs --outfile=electron-api.json",
  57. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=electron-api.json --out=electron.d.ts",
  58. "preinstall": "node -e 'process.exit(0)'",
  59. "precommit": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ && node ./script/lint.js -c && remark docs -qf || (echo \"Code not formatted correctly.\" && exit 1)",
  60. "prepack": "check-for-leaks",
  61. "prepush": "check-for-leaks",
  62. "repl": "node ./script/start.js --interactive",
  63. "start": "node ./script/start.js",
  64. "test": "node ./script/spec-runner.js electron/spec"
  65. },
  66. "license": "MIT",
  67. "author": "Electron Community",
  68. "keywords": [
  69. "electron"
  70. ],
  71. "aliasify": {
  72. "replacements": {
  73. "@electron/internal/(.+)": "./lib/$1"
  74. }
  75. }
  76. }