package.json 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "electron",
  3. "version": "1.6.17",
  4. "devDependencies": {
  5. "asar": "^0.11.0",
  6. "browserify": "^13.1.0",
  7. "colors": "^1.1.2",
  8. "dugite": "^1.57.0",
  9. "electabul": "~0.0.4",
  10. "electron-docs-linter": "^2.3.3",
  11. "electron-typescript-definitions": "1.2.7",
  12. "github": "^9.2.0",
  13. "heads": "^1.3.0",
  14. "minimist": "^1.2.0",
  15. "nugget": "^2.0.1",
  16. "request": "*",
  17. "standard": "^8.4.0",
  18. "standard-markdown": "^2.1.1",
  19. "sumchecker": "^2.0.2"
  20. },
  21. "optionalDependencies": {
  22. "runas": "^3.0.0"
  23. },
  24. "standard": {
  25. "ignore": [
  26. "/out",
  27. "/spec",
  28. "/vendor"
  29. ],
  30. "env": {
  31. "browser": true
  32. }
  33. },
  34. "private": true,
  35. "scripts": {
  36. "bootstrap": "python ./script/bootstrap.py",
  37. "browserify": "browserify",
  38. "bump-version": "./script/bump-version.py",
  39. "build": "python ./script/build.py -c D",
  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-api-docs-js && npm run lint-api-docs",
  45. "lint-js": "standard && cd spec && standard",
  46. "lint-cpp": "python ./script/cpplint.py",
  47. "lint-py": "python ./script/pylint.py",
  48. "lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
  49. "lint-api-docs": "electron-docs-linter",
  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. "prepare-release": "node ./script/prepare-release.js",
  54. "prerelease": "python ./script/bootstrap.py -v --dev && npm run build",
  55. "release": "node ./script/release.js",
  56. "repl": "python ./script/start.py --interactive",
  57. "start": "python ./script/start.py",
  58. "test": "python ./script/test.py"
  59. }
  60. }