forked from desktop/desktop
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathpackage.json
More file actions
182 lines (182 loc) · 8.09 KB
/
package.json
File metadata and controls
182 lines (182 loc) · 8.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"repository": {
"type": "git",
"url": "https://github.com/desktop/desktop.git"
},
"description": "GitHub Desktop build dependencies",
"scripts": {
"cli": "ts-node app/src/cli/main.ts",
"check:eslint": "tsc -P eslint-rules/",
"test:eslint": "node script/test.mjs eslint-rules",
"test:script": "node script/test.mjs script",
"test": "node script/test.mjs",
"test:unit": "node script/test.mjs",
"test:setup": "ts-node -P script/tsconfig.json script/test-setup.ts",
"test:docker": "./script/testing-docker/run.sh",
"test:e2e": "yarn test:e2e:packaged",
"test:e2e:packaged": "yarn test:e2e:build:packaged && yarn test:e2e:run:packaged",
"test:e2e:unpackaged": "yarn test:e2e:build:unpackaged && yarn test:e2e:run:unpackaged",
"test:e2e:build": "yarn test:e2e:build:packaged",
"test:e2e:build:packaged": "cross-env DESKTOP_E2E_UPDATES_URL=http://127.0.0.1:51789/update NODE_ENV=production RELEASE_CHANNEL=production DESKTOP_E2E=1 yarn build:prod",
"test:e2e:build:unpackaged": "cross-env DESKTOP_E2E_UPDATES_URL=http://127.0.0.1:51789/update NODE_ENV=production RELEASE_CHANNEL=production DESKTOP_SKIP_PACKAGE=1 yarn build:prod",
"test:e2e:run": "yarn test:e2e:run:packaged",
"test:e2e:run:packaged": "npx playwright test --config app/test/e2e/playwright.config.ts",
"test:e2e:run:unpackaged": "cross-env DESKTOP_E2E_APP_MODE=unpackaged npx playwright test --config app/test/e2e/playwright.config.ts",
"postinstall": "ts-node -P script/tsconfig.json script/post-install.ts",
"start": "cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/start.ts",
"start:prod": "cross-env NODE_ENV=production ts-node -P script/tsconfig.json script/start.ts",
"compile:dev": "cross-env NODE_ENV=development TS_NODE_PROJECT=script/tsconfig.json webpack --config app/webpack.development.ts",
"compile:prod": "cross-env NODE_ENV=production TS_NODE_PROJECT=script/tsconfig.json NODE_OPTIONS='--max_old_space_size=4096' webpack --config app/webpack.production.ts",
"build:dev": "yarn compile:dev && cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/build.ts",
"build:prod": "yarn compile:prod && cross-env NODE_ENV=production ts-node -P script/tsconfig.json script/build.ts",
"package": "ts-node -P script/tsconfig.json script/package.ts",
"generate-octicons": "ts-node -P script/tsconfig.json script/generate-octicons.ts",
"compile:script": "tsc -P script/tsconfig.json",
"lint": "yarn prettier && yarn lint:src",
"lint:fix": "yarn prettier --write && yarn lint:src:fix",
"markdownlint": "markdownlint **/*.{md,mdx} --config .markdownlint.js --rules node_modules/@github/markdownlint-github --ignore node_modules --ignore gemoji",
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
"lint:src": "yarn eslint-check && yarn eslint",
"lint:src:fix": "yarn eslint --fix",
"eslint": "eslint --cache --rulesdir ./eslint-rules \"./eslint-rules/**/*.js\" \"./script/**/*.ts{,x}\" \"./app/{src,typings,test}/**/*.{j,t}s{,x}\" \"./changelog.json\"",
"eslint-check": "eslint --print-config .eslintrc.* | eslint-config-prettier-check",
"validate-electron-version": "ts-node -P script/tsconfig.json script/validate-electron-version.ts",
"validate-macos-version": "ts-node -P script/tsconfig.json script/validate-macos-version.ts",
"clean-slate": "rimraf out node_modules app/node_modules && yarn",
"rebuild-hard:dev": "yarn clean-slate && yarn build:dev",
"rebuild-hard:prod": "yarn clean-slate && yarn build:prod",
"draft-release": "ts-node -P script/tsconfig.json script/draft-release/index.ts",
"draft-release:format": "prettier --check --write changelog.json app/package.json && yarn validate-changelog",
"draft-release:pr": "ts-node -P script/tsconfig.json script/draft-release/draft-pull-request.ts",
"validate-changelog": "ts-node -P script/tsconfig.json script/validate-changelog.ts"
},
"author": {
"name": "GitHub, Inc.",
"email": "opensource+desktop@github.com",
"url": "https://desktop.github.com/"
},
"license": "MIT",
"engines": {
"node": ">= 10",
"yarn": ">= 1.9"
},
"resolutions": {
"@types/react-css-transition-replace/@types/react": "^16.14.62",
"wrap-ansi": "7.0.0"
},
"dependencies": {
"@azure/storage-blob": "^12.25.0",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
"@primer/octicons": "^19.0.0",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/experimental-utils": "^5.62.0",
"@typescript-eslint/parser": "^6.13.2",
"@typescript-eslint/typescript-estree": "^6.13.2",
"awesome-node-loader": "^1.1.1",
"chalk": "^5.3.0",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
"eslint": "^8.55.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-jsdoc": "^50.6.2",
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.33.2",
"fake-indexeddb": "^6.0.0",
"front-matter": "^2.3.0",
"glob": "^7.1.2",
"global-jsdom": "^26.0.0",
"html-webpack-plugin": "^5.6.0",
"jsdom": "^26.0.0",
"legal-eagle": "0.16.0",
"mini-css-extract-plugin": "^2.9.1",
"parse-dds": "^1.2.1",
"prettier": "^2.6.0",
"printenvz": "file:./vendor/printenvz",
"process-proxy": "^0.6.0",
"rimraf": "^6.0.1",
"sass": "^1.27.0",
"sass-loader": "^16.0.0",
"semver": "^7.6.3",
"style-loader": "^3.3.1",
"ts-loader": "^9",
"ts-node": "^7.0.0",
"typescript": "^5.8.2",
"webpack": "^5.104.1",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-dev-middleware": "^5.3.4",
"webpack-hot-middleware": "^2.25.1",
"webpack-merge": "^6.0.1"
},
"devDependencies": {
"@github/markdownlint-github": "^0.1.0",
"@playwright/test": "^1.58.2",
"@types/byline": "^4.2.31",
"@types/classnames": "^2.2.2",
"@types/codemirror": "^5.60.15",
"@types/deep-equal": "^1.0.1",
"@types/dompurify": "^2.3.1",
"@types/electron-winstaller": "^4.0.0",
"@types/eslint": "^8.4.1",
"@types/estree": "^0.0.49",
"@types/event-kit": "^2.4.1",
"@types/express": "^4.11.0",
"@types/fuzzaldrin-plus": "^0.0.1",
"@types/glob": "^5.0.35",
"@types/klaw-sync": "^6.0.0",
"@types/legal-eagle": "^0.15.0",
"@types/lodash": "^4.14.178",
"@types/marked": "^4.0.1",
"@types/memoize-one": "^3.1.1",
"@types/minimist": "^1.2.5",
"@types/mri": "^1.1.0",
"@types/node": "22.10.9",
"@types/parse-dds": "^1.0.3",
"@types/plist": "^3.0.2",
"@types/prettier": "^2.0.1",
"@types/react": "^16.14.62",
"@types/react-css-transition-replace": "^2.1.3",
"@types/react-dom": "^16.8.2",
"@types/react-transition-group": "^4.4.0",
"@types/react-virtualized": "^9.7.12",
"@types/request": "^2.0.9",
"@types/reserved-words": "^0.1.0",
"@types/semver": "^5.5.0",
"@types/source-map-support": "^0.5.2",
"@types/split2": "^4.2.3",
"@types/strip-ansi": "^3.0.0",
"@types/textarea-caret": "^3.0.0",
"@types/to-camel-case": "^1.0.0",
"@types/triple-beam": "^1.3.2",
"@types/ua-parser-js": "^0.7.30",
"@types/untildify": "^3.0.0",
"@types/username": "^3.0.0",
"@types/webgl2": "^0.0.11",
"@types/webpack": "^5.28.5",
"@types/webpack-bundle-analyzer": "^4.7.0",
"@types/webpack-hot-middleware": "^2.25.9",
"diff": "^8.0.3",
"electron": "40.8.1",
"electron-builder": "^25.1.8",
"electron-packager": "^17.1.1",
"electron-winstaller": "^5.0.0",
"eslint-plugin-github": "^5.1.5",
"markdownlint-cli": "^0.32.2",
"node-test-github-reporter": "^1.2.0",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"playwright": "^1.58.2",
"reserved-words": "^0.1.2",
"tsconfig-paths": "^3.9.0",
"tsx": "^4.19.3",
"webpack-cli": "^6.0.1"
},
"optionalDependencies": {
"electron-installer-debian": "3.2.0",
"electron-installer-redhat": "3.4.0",
"electron-winstaller": "^5.0.0"
},
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
}