package.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "name": "electron",
  3. "version": "1.4.0",
  4. "devDependencies": {
  5. "asar": "^0.11.0",
  6. "electabul": "~0.0.4",
  7. "electron-docs-linter": "^1.6.2",
  8. "request": "*",
  9. "standard": "^7.1.2",
  10. "standard-markdown": "^1.2.1"
  11. },
  12. "optionalDependencies": {
  13. "runas": "^3.0.0"
  14. },
  15. "standard": {
  16. "ignore": [
  17. "/out",
  18. "/spec",
  19. "/vendor"
  20. ],
  21. "env": {
  22. "browser": true
  23. }
  24. },
  25. "private": true,
  26. "scripts": {
  27. "bootstrap": "python ./script/bootstrap.py",
  28. "build": "python ./script/build.py -c D",
  29. "clean": "python ./script/clean.py",
  30. "coverage": "npm run instrument-code-coverage && npm test -- --use-instrumented-asar",
  31. "instrument-code-coverage": "electabul instrument --input-path ./lib --output-path ./out/coverage/electron.asar",
  32. "lint": "npm run lint-js && npm run lint-cpp && npm run lint-py && npm run lint-api-docs-js && npm run lint-api-docs",
  33. "lint-js": "standard && cd spec && standard",
  34. "lint-cpp": "python ./script/cpplint.py",
  35. "lint-py": "python ./script/pylint.py",
  36. "lint-api-docs-js": "standard-markdown docs",
  37. "lint-api-docs": "electron-docs-linter docs/api --version=$npm_package_version --outfile=out/electron-api.json",
  38. "preinstall": "node -e 'process.exit(0)'",
  39. "repl": "python ./script/start.py --interactive",
  40. "start": "python ./script/start.py",
  41. "test": "python ./script/test.py"
  42. }
  43. }