package.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. {
  2. "name": "electron",
  3. "version": "0.0.0-dev",
  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.3",
  17. "github": "^9.2.0",
  18. "husky": "^0.14.3",
  19. "lint": "^1.1.2",
  20. "minimist": "^1.2.0",
  21. "nugget": "^2.0.1",
  22. "remark-cli": "^4.0.0",
  23. "remark-preset-lint-markdown-style-guide": "^2.1.1",
  24. "request": "^2.68.0",
  25. "serve": "^6.5.3",
  26. "standard": "^10.0.0",
  27. "standard-markdown": "^4.0.0",
  28. "sumchecker": "^2.0.2",
  29. "temp": "^0.8.3"
  30. },
  31. "standard": {
  32. "ignore": [
  33. "/out",
  34. "/spec",
  35. "/vendor"
  36. ],
  37. "env": {
  38. "browser": true
  39. }
  40. },
  41. "private": true,
  42. "scripts": {
  43. "bootstrap": "python ./script/bootstrap.py",
  44. "browserify": "browserify",
  45. "bump-version": "./script/bump-version.py",
  46. "build": "python ./script/build.py -c D",
  47. "rebuild-test-modules": "python ./script/rebuild-test-modules.py",
  48. "clean": "python ./script/clean.py",
  49. "clean-build": "python ./script/clean.py --build",
  50. "clang-format": "find atom/ brightray/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
  51. "coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
  52. "instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
  53. "lint": "npm run lint-js && npm run lint-cpp && npm run lint-clang-format && npm run lint-py && npm run lint-docs",
  54. "lint-js": "standard && cd spec && standard",
  55. "lint-clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  56. "lint-cpp": "python ./script/cpplint.py",
  57. "lint-py": "python ./script/pylint.py",
  58. "lint-docs": "remark docs -qf && npm run lint-js-in-markdown && npm run create-typescript-definitions && npm run lint-docs-relative-links",
  59. "lint-docs-relative-links": "python ./script/check-relative-doc-links.py",
  60. "lint-js-in-markdown": "standard-markdown docs",
  61. "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
  62. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
  63. "mock-release": "node ./script/ci-release-build.js",
  64. "preinstall": "node -e 'process.exit(0)'",
  65. "publish-to-npm": "node ./script/publish-to-npm.js",
  66. "precommit": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"Code not formatted correctly.\" && exit 1)",
  67. "prepack": "check-for-leaks",
  68. "prepush": "check-for-leaks",
  69. "prepare-release": "node ./script/prepare-release.js",
  70. "prerelease": "python ./script/bootstrap.py -v --dev && npm run build",
  71. "release": "node ./script/release.js",
  72. "repl": "python ./script/start.py --interactive",
  73. "start": "python ./script/start.py",
  74. "test": "python ./script/test.py"
  75. },
  76. "license": "MIT",
  77. "author": "Electron Community",
  78. "keywords": [
  79. "electron"
  80. ]
  81. }