1 | {
|
2 | "name": "@electron/get",
|
3 | "version": "3.1.0",
|
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": "npx typedoc",
|
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": ">=14"
|
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 | "@types/debug": "^4.1.4",
|
39 | "@types/fs-extra": "^8.0.0",
|
40 | "@types/jest": "^29.0.0",
|
41 | "@types/node": "^12.20.55",
|
42 | "@types/progress": "^2.0.3",
|
43 | "@types/semver": "^6.2.0",
|
44 | "@typescript-eslint/eslint-plugin": "^2.34.0",
|
45 | "@typescript-eslint/parser": "^2.34.0",
|
46 | "eslint": "^6.8.0",
|
47 | "eslint-config-prettier": "^6.15.0",
|
48 | "eslint-plugin-import": "^2.22.1",
|
49 | "eslint-plugin-jest": "< 24.0.0",
|
50 | "husky": "^2.3.0",
|
51 | "jest": "^29.3.1",
|
52 | "lint-staged": "^13.0.4",
|
53 | "prettier": "^1.17.1",
|
54 | "ts-jest": "^29.0.0",
|
55 | "typedoc": "~0.24.8",
|
56 | "typescript": "^4.9.3"
|
57 | },
|
58 | "eslintConfig": {
|
59 | "parser": "@typescript-eslint/parser",
|
60 | "extends": [
|
61 | "eslint:recommended",
|
62 | "plugin:@typescript-eslint/eslint-recommended",
|
63 | "plugin:@typescript-eslint/recommended",
|
64 | "plugin:jest/recommended",
|
65 | "plugin:import/errors",
|
66 | "plugin:import/warnings",
|
67 | "plugin:import/typescript",
|
68 | "prettier",
|
69 | "prettier/@typescript-eslint"
|
70 | ]
|
71 | },
|
72 | "husky": {
|
73 | "hooks": {
|
74 | "pre-commit": "lint-staged"
|
75 | }
|
76 | },
|
77 | "lint-staged": {
|
78 | "*.ts": [
|
79 | "eslint --fix",
|
80 | "prettier --write"
|
81 | ]
|
82 | },
|
83 | "keywords": [
|
84 | "electron",
|
85 | "download",
|
86 | "prebuild",
|
87 | "get",
|
88 | "artifact",
|
89 | "release"
|
90 | ],
|
91 | "optionalDependencies": {
|
92 | "global-agent": "^3.0.0"
|
93 | },
|
94 | "resolutions": {
|
95 | "eslint/inquirer": "< 7.3.0",
|
96 | "**/@typescript-eslint/typescript-estree/semver": "^6.3.0"
|
97 | }
|
98 | }
|