package.json 3.4 KB

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