package.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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.5",
  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. "asar": "asar",
  44. "bootstrap": "python ./script/bootstrap.py",
  45. "browserify": "browserify",
  46. "bump-version": "./script/bump-version.py",
  47. "build": "python ./script/build.py -c D",
  48. "rebuild-test-modules": "python ./script/rebuild-test-modules.py",
  49. "clean": "python ./script/clean.py",
  50. "clean-build": "python ./script/clean.py --build",
  51. "clang-format": "find atom/ brightray/ chromium_src/ -iname *.h -o -iname *.cc -o -iname *.mm | xargs clang-format -i",
  52. "coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
  53. "instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
  54. "lint": "npm run lint-js && npm run lint-cpp && npm run lint-clang-format && npm run lint-py && npm run lint-docs",
  55. "lint-js": "standard && cd spec && standard",
  56. "lint-clang-format": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"\\nCode not formatted correctly.\" && exit 1)",
  57. "lint-cpp": "python ./script/cpplint.py",
  58. "lint-py": "python ./script/pylint.py",
  59. "lint-docs": "remark docs -qf && npm run lint-js-in-markdown && npm run create-typescript-definitions && npm run lint-docs-relative-links",
  60. "lint-docs-relative-links": "python ./script/check-relative-doc-links.py",
  61. "lint-js-in-markdown": "standard-markdown docs",
  62. "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
  63. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
  64. "mock-release": "node ./script/ci-release-build.js",
  65. "preinstall": "node -e 'process.exit(0)'",
  66. "publish-to-npm": "node ./script/publish-to-npm.js",
  67. "precommit": "python script/run-clang-format.py -r -c atom/ chromium_src/ brightray/ || (echo \"Code not formatted correctly.\" && exit 1)",
  68. "prepack": "check-for-leaks",
  69. "prepush": "check-for-leaks",
  70. "prepare-release": "node ./script/prepare-release.js",
  71. "prerelease": "python ./script/bootstrap.py -v --dev && npm run build",
  72. "release": "node ./script/release.js",
  73. "repl": "python ./script/start.py --interactive",
  74. "start": "python ./script/start.py",
  75. "test": "python ./script/test.py"
  76. },
  77. "license": "MIT",
  78. "author": "Electron Community",
  79. "keywords": [
  80. "electron"
  81. ]
  82. }