package.json 3.0 KB

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