2016-05-11 16:16:32 +00:00
|
|
|
{
|
2016-05-11 16:43:54 +00:00
|
|
|
"repository": {
|
2016-05-16 19:00:56 +00:00
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/desktop/desktop.git"
|
2016-05-11 16:43:54 +00:00
|
|
|
},
|
2017-05-15 21:18:05 +00:00
|
|
|
"description": "GitHub Desktop build dependencies",
|
2016-05-11 16:16:32 +00:00
|
|
|
"scripts": {
|
2017-12-22 11:58:15 +00:00
|
|
|
"cli": "ts-node --require ./app/test/globals.ts --require ./app/src/cli/dev-commands-global.ts app/src/cli/main.ts",
|
2020-07-09 17:49:06 +00:00
|
|
|
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe --auto-servernum -- jest --testLocationInResults --config ./app/jest.integration.config.js",
|
2020-07-09 17:31:18 +00:00
|
|
|
"test:unit": "cross-env ELECTRON_RUN_AS_NODE=1 ./node_modules/.bin/electron ./node_modules/jest/bin/jest --detectOpenHandles --silent --testLocationInResults --config ./app/jest.unit.config.js",
|
2018-08-17 19:49:46 +00:00
|
|
|
"test:unit:cov": "yarn test:unit --coverage",
|
2018-12-31 18:26:20 +00:00
|
|
|
"test:script": "jest --silent --config ./script/jest.config.js",
|
2019-01-02 16:38:57 +00:00
|
|
|
"test:script:cov": "yarn test:script --coverage",
|
|
|
|
"test": "yarn test:unit:cov --runInBand && yarn test:script:cov && yarn test:integration",
|
2018-04-02 08:28:57 +00:00
|
|
|
"test:setup": "ts-node -P script/tsconfig.json script/test-setup.ts",
|
2018-07-03 17:44:55 +00:00
|
|
|
"test:review": "ts-node -P script/tsconfig.json script/test-review.ts",
|
2019-03-01 21:10:58 +00:00
|
|
|
"test:report": "codecov --disable=gcov -f app/coverage/coverage-final.json",
|
2020-02-05 23:30:23 +00:00
|
|
|
"postinstall": "ts-node -P script/tsconfig.json script/post-install.ts",
|
2018-04-02 08:28:57 +00:00
|
|
|
"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",
|
2020-07-10 19:36:51 +00:00
|
|
|
"compile:dev": "cross-env NODE_ENV=development TS_NODE_PROJECT=script/tsconfig.json parallel-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' parallel-webpack --config app/webpack.production.ts",
|
2018-04-02 08:28:57 +00:00
|
|
|
"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",
|
2018-03-22 01:56:26 +00:00
|
|
|
"package": "ts-node -P script/tsconfig.json script/package.ts",
|
2018-04-02 08:15:41 +00:00
|
|
|
"generate-octicons": "ts-node -P script/tsconfig.json script/generate-octicons.ts",
|
2016-11-17 10:42:17 +00:00
|
|
|
"clean:tslint": "rimraf tslint-rules/*.js",
|
2018-04-02 08:28:57 +00:00
|
|
|
"compile:tslint": "tsc -P tslint-rules",
|
|
|
|
"compile:script": "tsc -P script/tsconfig.json",
|
2018-11-19 20:16:28 +00:00
|
|
|
"lint": "yarn prettier && yarn lint:src",
|
|
|
|
"lint:fix": "yarn prettier --write && yarn lint:src:fix",
|
2019-04-17 13:39:10 +00:00
|
|
|
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
|
2018-02-01 23:43:54 +00:00
|
|
|
"lint:src": "yarn tslint && yarn eslint-check && yarn eslint",
|
|
|
|
"lint:src:fix": "yarn tslint --fix && yarn eslint --fix",
|
2018-05-21 01:26:56 +00:00
|
|
|
"tslint": "tslint -p .",
|
2019-01-21 14:06:26 +00:00
|
|
|
"eslint": "eslint --cache --rulesdir ./eslint-rules \"./eslint-rules/**/*.js\" \"./{script,tslint-rules}/**/*.ts{,x}\" \"./app/{src,typings,test}/**/*.{j,t}s{,x}\" \"./changelog.json\"",
|
2017-10-19 23:01:08 +00:00
|
|
|
"eslint-check": "eslint --print-config .eslintrc.* | eslint-config-prettier-check",
|
2018-04-02 08:15:41 +00:00
|
|
|
"publish": "ts-node -P script/tsconfig.json script/publish.ts",
|
2018-08-17 13:43:07 +00:00
|
|
|
"clean-slate": "rimraf out node_modules app/node_modules coverage && yarn",
|
2017-10-21 01:54:26 +00:00
|
|
|
"rebuild-hard:dev": "yarn clean-slate && yarn build:dev",
|
2018-01-30 23:43:44 +00:00
|
|
|
"rebuild-hard:prod": "yarn clean-slate && yarn build:prod",
|
2020-07-10 20:05:46 +00:00
|
|
|
"draft-release": "ts-node -P script/tsconfig.json script/draft-release/index.ts",
|
2020-01-31 20:12:08 +00:00
|
|
|
"draft-release:format": "prettier --check --write changelog.json app/package.json && yarn validate-changelog",
|
2020-07-10 20:05:46 +00:00
|
|
|
"validate-changelog": "ts-node -P script/tsconfig.json script/validate-changelog.ts",
|
2019-01-29 19:21:12 +00:00
|
|
|
"check-modified": "stop-build"
|
2016-05-11 16:16:32 +00:00
|
|
|
},
|
2017-04-11 15:38:50 +00:00
|
|
|
"author": {
|
|
|
|
"name": "GitHub, Inc.",
|
|
|
|
"email": "opensource+desktop@github.com",
|
|
|
|
"url": "https://desktop.github.com/"
|
|
|
|
},
|
2016-05-11 16:16:32 +00:00
|
|
|
"license": "MIT",
|
2016-07-21 18:31:30 +00:00
|
|
|
"engines": {
|
2019-05-10 16:59:16 +00:00
|
|
|
"node": ">= 10",
|
2018-08-03 17:02:17 +00:00
|
|
|
"yarn": ">= 1.9"
|
2016-05-16 21:22:43 +00:00
|
|
|
},
|
2016-07-21 18:31:30 +00:00
|
|
|
"dependencies": {
|
2020-07-17 14:45:56 +00:00
|
|
|
"@primer/octicons": "^10.0.0",
|
2020-07-08 14:22:16 +00:00
|
|
|
"@types/plist": "^3.0.2",
|
2020-07-02 12:32:39 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^3.5.0",
|
|
|
|
"@typescript-eslint/parser": "^3.5.0",
|
2018-09-21 17:15:22 +00:00
|
|
|
"airbnb-browser-shims": "^3.0.0",
|
2018-03-26 23:54:21 +00:00
|
|
|
"ajv": "^6.4.0",
|
2018-05-04 06:14:11 +00:00
|
|
|
"awesome-node-loader": "^1.1.0",
|
2018-09-07 18:23:09 +00:00
|
|
|
"awesome-typescript-loader": "^5.2.1",
|
2017-03-07 01:50:43 +00:00
|
|
|
"aws-sdk": "^2.23.0",
|
2018-05-04 06:14:11 +00:00
|
|
|
"babel-core": "^6.26.3",
|
2018-08-27 22:48:35 +00:00
|
|
|
"babel-jest": "^23.4.2",
|
2018-05-22 13:43:50 +00:00
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
2017-10-21 20:08:58 +00:00
|
|
|
"chalk": "^2.2.0",
|
2018-05-04 06:14:11 +00:00
|
|
|
"clean-webpack-plugin": "^0.1.19",
|
2020-07-21 12:37:37 +00:00
|
|
|
"codecov": "^3.7.1",
|
2017-08-17 05:01:19 +00:00
|
|
|
"cross-env": "^5.0.5",
|
2019-02-27 17:40:19 +00:00
|
|
|
"css-loader": "^2.1.0",
|
2020-07-02 14:09:07 +00:00
|
|
|
"eslint": "^7.3.1",
|
|
|
|
"eslint-config-prettier": "^6.11.0",
|
|
|
|
"eslint-plugin-babel": "^5.3.1",
|
2020-07-02 14:08:54 +00:00
|
|
|
"eslint-plugin-jsdoc": "^28.6.1",
|
2020-07-02 14:09:07 +00:00
|
|
|
"eslint-plugin-json": "^2.1.1",
|
|
|
|
"eslint-plugin-prettier": "^3.1.4",
|
|
|
|
"eslint-plugin-react": "^7.20.3",
|
2017-03-06 03:12:05 +00:00
|
|
|
"express": "^4.15.0",
|
2018-08-17 16:06:32 +00:00
|
|
|
"fake-indexeddb": "^2.0.4",
|
2018-12-17 18:32:51 +00:00
|
|
|
"file-loader": "^2.0.0",
|
2018-03-29 05:42:54 +00:00
|
|
|
"front-matter": "^2.3.0",
|
2020-11-28 14:52:30 +00:00
|
|
|
"fs-extra": "^9.0.1",
|
2018-08-03 15:59:59 +00:00
|
|
|
"glob": "^7.1.2",
|
2018-05-04 06:14:11 +00:00
|
|
|
"html-webpack-plugin": "^3.2.0",
|
2020-11-28 14:52:30 +00:00
|
|
|
"jest": "^26.6.3",
|
2020-05-12 11:11:26 +00:00
|
|
|
"jest-diff": "^25.0.0",
|
2019-07-24 23:17:53 +00:00
|
|
|
"jest-extended": "^0.11.2",
|
2018-10-23 18:41:24 +00:00
|
|
|
"jest-localstorage-mock": "^2.3.0",
|
2017-08-19 11:16:24 +00:00
|
|
|
"klaw-sync": "^3.0.0",
|
2018-07-20 10:30:48 +00:00
|
|
|
"legal-eagle": "0.16.0",
|
2018-05-04 06:14:11 +00:00
|
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
|
|
"parallel-webpack": "^2.3.0",
|
2020-06-18 21:20:57 +00:00
|
|
|
"prettier": "2.0.5",
|
2016-06-07 16:39:03 +00:00
|
|
|
"request": "^2.72.0",
|
2016-06-02 13:01:57 +00:00
|
|
|
"rimraf": "^2.5.2",
|
2020-10-21 14:19:52 +00:00
|
|
|
"sass": "^1.27.0",
|
|
|
|
"sass-loader": "^10.0.3",
|
2018-01-31 00:13:28 +00:00
|
|
|
"semver": "^5.5.0",
|
2020-11-30 21:16:39 +00:00
|
|
|
"spectron": "^13.0.0",
|
2021-01-11 09:45:09 +00:00
|
|
|
"split2": "^3.2.2",
|
2019-01-29 19:21:12 +00:00
|
|
|
"stop-build": "^1.1.0",
|
2018-05-04 06:14:11 +00:00
|
|
|
"style-loader": "^0.21.0",
|
2016-06-15 17:38:56 +00:00
|
|
|
"to-camel-case": "^1.0.0",
|
2020-11-28 14:52:30 +00:00
|
|
|
"ts-jest": "^26.4.4",
|
2018-08-07 17:37:50 +00:00
|
|
|
"ts-node": "^7.0.0",
|
2018-08-01 21:40:45 +00:00
|
|
|
"tslint": "^5.11.0",
|
|
|
|
"tslint-config-prettier": "^1.14.0",
|
2020-07-02 14:09:07 +00:00
|
|
|
"tslint-microsoft-contrib": "^6.2.0",
|
2020-06-15 21:28:07 +00:00
|
|
|
"typescript": "^3.9.5",
|
2018-11-15 00:53:47 +00:00
|
|
|
"typescript-tslint-plugin": "^0.0.6",
|
2018-05-23 04:41:49 +00:00
|
|
|
"webpack": "^4.8.3",
|
2019-05-23 14:34:56 +00:00
|
|
|
"webpack-bundle-analyzer": "^3.3.2",
|
2018-05-04 06:14:11 +00:00
|
|
|
"webpack-dev-middleware": "^3.1.3",
|
2018-05-23 04:41:49 +00:00
|
|
|
"webpack-hot-middleware": "^2.22.2",
|
2018-05-04 06:14:11 +00:00
|
|
|
"webpack-merge": "^4.1.2",
|
2018-08-20 20:12:20 +00:00
|
|
|
"xml2js": "^0.4.16",
|
|
|
|
"xvfb-maybe": "^0.2.1"
|
2016-08-03 18:00:26 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2017-10-03 06:47:46 +00:00
|
|
|
"@types/byline": "^4.2.31",
|
2017-08-20 00:19:28 +00:00
|
|
|
"@types/classnames": "^2.2.2",
|
2018-05-23 05:27:18 +00:00
|
|
|
"@types/clean-webpack-plugin": "^0.1.2",
|
2019-11-15 04:29:04 +00:00
|
|
|
"@types/codemirror": "0.0.76",
|
2020-07-10 19:22:00 +00:00
|
|
|
"@types/deep-equal": "^1.0.1",
|
2018-07-18 15:24:45 +00:00
|
|
|
"@types/double-ended-queue": "^2.1.0",
|
2017-10-15 06:02:33 +00:00
|
|
|
"@types/electron-winstaller": "^2.6.0",
|
2016-08-03 18:00:26 +00:00
|
|
|
"@types/event-kit": "^1.2.28",
|
2017-12-24 16:26:17 +00:00
|
|
|
"@types/express": "^4.11.0",
|
2018-05-23 05:27:18 +00:00
|
|
|
"@types/extract-text-webpack-plugin": "^3.0.3",
|
2017-10-24 01:35:31 +00:00
|
|
|
"@types/file-url": "^2.0.0",
|
2020-03-09 02:08:35 +00:00
|
|
|
"@types/fs-extra": "^7.0.0",
|
2018-01-28 20:20:02 +00:00
|
|
|
"@types/fuzzaldrin-plus": "^0.0.1",
|
2018-08-03 15:59:59 +00:00
|
|
|
"@types/glob": "^5.0.35",
|
2018-05-23 05:27:18 +00:00
|
|
|
"@types/html-webpack-plugin": "^2.30.3",
|
2018-08-08 00:25:36 +00:00
|
|
|
"@types/jest": "^23.3.1",
|
2020-07-14 12:53:27 +00:00
|
|
|
"@types/klaw-sync": "^6.0.0",
|
2018-01-17 12:26:55 +00:00
|
|
|
"@types/legal-eagle": "^0.15.0",
|
2018-11-22 19:01:17 +00:00
|
|
|
"@types/memoize-one": "^3.1.1",
|
2018-05-23 05:27:18 +00:00
|
|
|
"@types/mini-css-extract-plugin": "^0.2.0",
|
2020-04-09 23:42:22 +00:00
|
|
|
"@types/moment-duration-format": "^2.2.2",
|
2017-08-24 06:09:38 +00:00
|
|
|
"@types/mri": "^1.1.0",
|
2020-06-15 23:19:30 +00:00
|
|
|
"@types/node": "12.12.24",
|
2020-06-18 21:20:57 +00:00
|
|
|
"@types/prettier": "^2.0.1",
|
2020-04-07 21:35:07 +00:00
|
|
|
"@types/react": "^16.8.7",
|
2019-01-14 13:53:30 +00:00
|
|
|
"@types/react-css-transition-replace": "^2.1.3",
|
2020-04-07 21:35:07 +00:00
|
|
|
"@types/react-dom": "^16.8.2",
|
2020-08-04 10:50:49 +00:00
|
|
|
"@types/react-transition-group": "^4.4.0",
|
2018-03-06 20:14:24 +00:00
|
|
|
"@types/react-virtualized": "^9.7.12",
|
2017-12-24 16:26:17 +00:00
|
|
|
"@types/request": "^2.0.9",
|
2018-01-31 00:13:28 +00:00
|
|
|
"@types/semver": "^5.5.0",
|
2020-07-14 11:56:59 +00:00
|
|
|
"@types/source-map-support": "^0.5.2",
|
2021-01-11 09:45:09 +00:00
|
|
|
"@types/split2": "^2.1.6",
|
2017-08-03 16:51:46 +00:00
|
|
|
"@types/strip-ansi": "^3.0.0",
|
2017-08-29 05:55:42 +00:00
|
|
|
"@types/temp": "^0.8.29",
|
2018-03-16 00:09:34 +00:00
|
|
|
"@types/textarea-caret": "^3.0.0",
|
2017-09-26 15:26:38 +00:00
|
|
|
"@types/to-camel-case": "^1.0.0",
|
2017-04-05 18:47:09 +00:00
|
|
|
"@types/ua-parser-js": "^0.7.30",
|
2018-01-23 05:12:54 +00:00
|
|
|
"@types/untildify": "^3.0.0",
|
2020-07-14 11:44:27 +00:00
|
|
|
"@types/username": "^3.0.0",
|
2017-08-20 00:19:28 +00:00
|
|
|
"@types/uuid": "^3.4.0",
|
2018-05-23 05:27:18 +00:00
|
|
|
"@types/webpack": "^4.4.0",
|
2018-04-08 04:38:57 +00:00
|
|
|
"@types/webpack-bundle-analyzer": "^2.9.2",
|
2018-05-23 05:27:18 +00:00
|
|
|
"@types/webpack-dev-middleware": "^2.0.1",
|
|
|
|
"@types/webpack-hot-middleware": "^2.16.3",
|
|
|
|
"@types/webpack-merge": "^4.1.3",
|
2017-06-28 17:12:33 +00:00
|
|
|
"@types/winston": "^2.2.0",
|
2017-10-01 22:42:57 +00:00
|
|
|
"@types/xml2js": "^0.4.0",
|
2021-01-12 11:31:31 +00:00
|
|
|
"electron": "^11.1.1",
|
2020-07-16 13:45:47 +00:00
|
|
|
"electron-builder": "^22.7.0",
|
2020-11-28 14:33:13 +00:00
|
|
|
"electron-packager": "^15.1.0",
|
2021-02-11 11:18:07 +00:00
|
|
|
"electron-winstaller": "4.0.2"
|
2017-06-29 00:54:10 +00:00
|
|
|
}
|
2020-06-24 18:28:06 +00:00
|
|
|
}
|