package.json 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "electron",
  3. "version": "3.0.16",
  4. "repository": "https://github.com/electron/electron",
  5. "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
  6. "devDependencies": {
  7. "asar": "^0.11.0",
  8. "browserify": "^13.1.0",
  9. "check-for-leaks": "^1.0.2",
  10. "clang-format": "^1.2.3",
  11. "colors": "^1.1.2",
  12. "dotenv-safe": "^4.0.4",
  13. "dugite": "^1.45.0",
  14. "electabul": "~0.0.4",
  15. "electron-docs-linter": "^2.3.4",
  16. "electron-typescript-definitions": "^1.3.5",
  17. "github": "^9.2.0",
  18. "html-entities": "^1.2.1",
  19. "husky": "^0.14.3",
  20. "lint": "^1.1.2",
  21. "minimist": "^1.2.0",
  22. "node-fetch": "^2.1.2",
  23. "nugget": "^2.0.1",
  24. "remark-cli": "^4.0.0",
  25. "remark-preset-lint-markdown-style-guide": "^2.1.1",
  26. "request": "^2.68.0",
  27. "semver": "^5.5.0",
  28. "serve": "^6.5.3",
  29. "standard": "^10.0.0",
  30. "standard-markdown": "^4.0.0",
  31. "sumchecker": "^2.0.2",
  32. "temp": "^0.8.3"
  33. },
  34. "standard": {
  35. "ignore": [
  36. "/out",
  37. "/spec",
  38. "/vendor"
  39. ],
  40. "env": {
  41. "browser": true
  42. }
  43. },
  44. "private": true,
  45. "scripts": {
  46. "asar": "asar",
  47. "bootstrap": "python ./script/bootstrap.py",
  48. "browserify": "browserify",
  49. "bump-version": "./script/bump-version.py",
  50. "build": "python ./script/build.py -c D",
  51. "rebuild-test-modules": "python ./script/rebuild-test-modules.py",
  52. "clean": "python ./script/clean.py",
  53. "clean-build": "python ./script/clean.py --build",
  54. "clang-format": "find atom/ brightray/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
  55. "coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
  56. "instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
  57. "lint": "npm run lint:js && npm run lint:cpp && npm run lint:clang-format && npm run lint:py && npm run lint:docs",
  58. "lint:js": "standard && cd spec && standard",
  59. "lint:clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  60. "lint:cpp": "python ./script/cpplint.py",
  61. "lint:py": "python ./script/pylint.py",
  62. "lint:docs": "remark docs -qf && npm run lint:js-in-markdown && npm run create-typescript-definitions && npm run lint:docs-relative-links",
  63. "lint:docs-relative-links": "python ./script/check-relative-doc-links.py",
  64. "lint:js-in-markdown": "standard-markdown docs",
  65. "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
  66. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
  67. "mock-release": "node ./script/ci-release-build.js",
  68. "preinstall": "node -e 'process.exit(0)'",
  69. "publish-to-npm": "node ./script/publish-to-npm.js",
  70. "precommit": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ && npm run lint:js && remark docs -qf || (echo \"Code not formatted correctly.\" && exit 1)",
  71. "prepack": "check-for-leaks",
  72. "prepush": "check-for-leaks",
  73. "prepare-release": "node ./script/prepare-release.js",
  74. "prerelease": "python ./script/bootstrap.py -v --dev && npm run build",
  75. "release": "node ./script/release.js",
  76. "repl": "python ./script/start.py --interactive",
  77. "start": "python ./script/start.py",
  78. "test": "python ./script/test.py"
  79. },
  80. "license": "MIT",
  81. "author": "Electron Community",
  82. "keywords": [
  83. "electron"
  84. ]
  85. }