package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "name": "electron",
  3. "version": "1.7.8",
  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. "colors": "^1.1.2",
  10. "check-for-leaks": "^1.0.2",
  11. "dotenv-safe": "^4.0.4",
  12. "electabul": "~0.0.4",
  13. "electron-docs-linter": "^2.3.3",
  14. "electron-typescript-definitions": "^1.2.7",
  15. "github": "^9.2.0",
  16. "heads": "^1.3.0",
  17. "husky": "^0.14.3",
  18. "request": "^2.68.0",
  19. "standard": "^8.4.0",
  20. "standard-markdown": "^4.0.0",
  21. "temp": "^0.8.3"
  22. },
  23. "standard": {
  24. "ignore": [
  25. "/out",
  26. "/spec",
  27. "/vendor"
  28. ],
  29. "env": {
  30. "browser": true
  31. }
  32. },
  33. "private": true,
  34. "scripts": {
  35. "bootstrap": "python ./script/bootstrap.py",
  36. "browserify": "browserify",
  37. "bump-version": "./script/bump-version.py",
  38. "build": "python ./script/build.py -c D",
  39. "rebuild-test-modules": "python ./script/rebuild-test-modules.py",
  40. "clean": "python ./script/clean.py",
  41. "clean-build": "python ./script/clean.py --build",
  42. "coverage": "npm run instrument-code-coverage && npm test -- --use_instrumented_asar",
  43. "instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
  44. "lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-docs",
  45. "lint-js": "standard && cd spec && standard",
  46. "lint-cpp": "python ./script/cpplint.py",
  47. "lint-py": "python ./script/pylint.py",
  48. "lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions",
  49. "lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
  50. "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
  51. "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
  52. "preinstall": "node -e 'process.exit(0)'",
  53. "prerelease": "node ./script/prerelease",
  54. "publish-to-npm": "node ./script/publish-to-npm.js",
  55. "prepack": "check-for-leaks",
  56. "prepush": "check-for-leaks",
  57. "release": "./script/upload.py -p",
  58. "repl": "python ./script/start.py --interactive",
  59. "start": "python ./script/start.py",
  60. "test": "python ./script/test.py"
  61. },
  62. "license": "MIT",
  63. "author": "Electron Community",
  64. "keywords": [
  65. "electron"
  66. ]
  67. }