You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "name": "@electron/get",
  3. "version": "2.0.3",
  4. "description": "Utility for downloading artifacts from different versions of Electron",
  5. "main": "dist/cjs/index.js",
  6. "module": "dist/esm/index.js",
  7. "repository": "https://github.com/electron/get",
  8. "author": "Samuel Attard",
  9. "license": "MIT",
  10. "scripts": {
  11. "build": "tsc && tsc -p tsconfig.esm.json",
  12. "build:docs": "typedoc --out docs",
  13. "eslint": "eslint --ext .ts src test",
  14. "jest": "jest --coverage",
  15. "lint": "npm run prettier && npm run eslint",
  16. "prettier": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
  17. "prepublishOnly": "npm run build",
  18. "test": "npm run lint && npm run jest",
  19. "test:nonetwork": "npm run lint && npm run jest -- --testPathIgnorePatterns network.spec"
  20. },
  21. "files": [
  22. "dist/*",
  23. "README.md"
  24. ],
  25. "engines": {
  26. "node": ">=12"
  27. },
  28. "dependencies": {
  29. "debug": "^4.1.1",
  30. "env-paths": "^2.2.0",
  31. "fs-extra": "^8.1.0",
  32. "got": "^11.8.5",
  33. "progress": "^2.0.3",
  34. "semver": "^6.2.0",
  35. "sumchecker": "^3.0.1"
  36. },
  37. "devDependencies": {
  38. "@continuous-auth/semantic-release-npm": "^3.0.0",
  39. "@types/debug": "^4.1.4",
  40. "@types/fs-extra": "^8.0.0",
  41. "@types/jest": "^24.0.13",
  42. "@types/node": "^12.20.55",
  43. "@types/progress": "^2.0.3",
  44. "@types/semver": "^6.2.0",
  45. "@typescript-eslint/eslint-plugin": "^2.34.0",
  46. "@typescript-eslint/parser": "^2.34.0",
  47. "eslint": "^6.8.0",
  48. "eslint-config-prettier": "^6.15.0",
  49. "eslint-plugin-import": "^2.22.1",
  50. "eslint-plugin-jest": "< 24.0.0",
  51. "husky": "^2.3.0",
  52. "jest": "^24.8.0",
  53. "lint-staged": "^8.1.7",
  54. "prettier": "^1.17.1",
  55. "ts-jest": "^24.0.0",
  56. "typedoc": "^0.17.2",
  57. "typescript": "^3.8.0"
  58. },
  59. "eslintConfig": {
  60. "parser": "@typescript-eslint/parser",
  61. "extends": [
  62. "eslint:recommended",
  63. "plugin:@typescript-eslint/eslint-recommended",
  64. "plugin:@typescript-eslint/recommended",
  65. "plugin:jest/recommended",
  66. "plugin:import/errors",
  67. "plugin:import/warnings",
  68. "plugin:import/typescript",
  69. "prettier",
  70. "prettier/@typescript-eslint"
  71. ]
  72. },
  73. "husky": {
  74. "hooks": {
  75. "pre-commit": "lint-staged"
  76. }
  77. },
  78. "lint-staged": {
  79. "*.ts": [
  80. "eslint --fix",
  81. "prettier --write",
  82. "git add"
  83. ]
  84. },
  85. "keywords": [
  86. "electron",
  87. "download",
  88. "prebuild",
  89. "get",
  90. "artifact",
  91. "release"
  92. ],
  93. "optionalDependencies": {
  94. "global-agent": "^3.0.0"
  95. },
  96. "resolutions": {
  97. "eslint/inquirer": "< 7.3.0",
  98. "**/@typescript-eslint/typescript-estree/semver": "^6.3.0"
  99. }
  100. }