github-desktop/package.json

167 lines
7.2 KiB
JSON
Raw Normal View History

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",
"check:eslint": "tsc -P eslint-rules/",
"test:eslint": "jest eslint-rules/tests/*.test.js",
"test:unit": "cross-env ELECTRON_RUN_AS_NODE=1 NODE_OPTIONS='--max_old_space_size=4096' ./node_modules/.bin/electron ./node_modules/jest/bin/jest --detectOpenHandles --silent --testLocationInResults --config ./app/jest.unit.config.js",
2018-12-31 18:26:20 +00:00
"test:script": "jest --silent --config ./script/jest.config.js",
2022-05-04 11:13:02 +00:00
"test": "yarn test:unit --runInBand && yarn test:script",
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",
"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",
"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",
"package": "ts-node -P script/tsconfig.json script/package.ts",
"generate-octicons": "ts-node -P script/tsconfig.json script/generate-octicons.ts",
2018-04-02 08:28:57 +00:00
"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",
2022-08-29 10:51:24 +00:00
"markdownlint": "markdownlint **/*.{md,mdx} --config .markdownlint.js --rules node_modules/@github/markdownlint-github --ignore node_modules --ignore gemoji",
2019-04-17 13:39:10 +00:00
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
2022-02-01 16:40:13 +00:00
"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",
2022-12-16 13:55:42 +00:00
"validate-electron-version": "ts-node -P script/tsconfig.json script/validate-electron-version.ts",
2022-05-04 10:13:38 +00:00
"clean-slate": "rimraf out node_modules app/node_modules && 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",
"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",
"draft-release:pr": "ts-node -P script/tsconfig.json script/draft-release/draft-pull-request.ts",
2022-03-11 13:28:12 +00:00
"validate-changelog": "ts-node -P script/tsconfig.json script/validate-changelog.ts"
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",
"engines": {
2019-05-10 16:59:16 +00:00
"node": ">= 10",
"yarn": ">= 1.9"
2016-05-16 21:22:43 +00:00
},
"dependencies": {
"@azure/storage-blob": "^12.13.0",
2020-07-17 14:45:56 +00:00
"@primer/octicons": "^10.0.0",
"@types/lodash": "^4.14.178",
"@types/marked": "^4.0.1",
2020-07-08 14:22:16 +00:00
"@types/plist": "^3.0.2",
2021-08-05 11:24:46 +00:00
"@types/react-color": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/experimental-utils": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@typescript-eslint/typescript-estree": "^5.10.2",
2018-09-21 17:15:22 +00:00
"airbnb-browser-shims": "^3.0.0",
"ajv": "^6.12.3",
"awesome-node-loader": "^1.1.0",
"chalk": "^2.2.0",
"cross-env": "^5.0.5",
"css-loader": "^6.7.1",
2020-07-02 14:09:07 +00:00
"eslint": "^7.3.1",
"eslint-config-prettier": "^6.11.0",
2023-05-01 19:02:34 +00:00
"eslint-plugin-jsdoc": "^43.0.1",
2020-07-02 14:09:07 +00:00
"eslint-plugin-json": "^2.1.1",
"eslint-plugin-prettier": "^3.1.4",
2022-02-01 16:40:13 +00:00
"eslint-plugin-react": "7.26.1",
"express": "^4.17.3",
2018-08-17 16:06:32 +00:00
"fake-indexeddb": "^2.0.4",
"front-matter": "^2.3.0",
2020-11-28 14:52:30 +00:00
"fs-extra": "^9.0.1",
"glob": "^7.1.2",
2022-02-14 17:22:25 +00:00
"html-webpack-plugin": "^5.5.0",
2020-11-28 14:52:30 +00:00
"jest": "^26.6.3",
"jest-diff": "^25.0.0",
2019-07-24 23:17:53 +00:00
"jest-extended": "^0.11.2",
"jest-localstorage-mock": "^2.3.0",
"jszip": "^3.8.0",
"klaw-sync": "^3.0.0",
"legal-eagle": "0.16.0",
"mini-css-extract-plugin": "^2.5.3",
2023-04-19 12:36:12 +00:00
"node-fetch": "^2.6.9",
"parallel-webpack": "^2.3.0",
"prettier": "^2.6.0",
"rimraf": "^2.5.2",
2020-10-21 14:19:52 +00:00
"sass": "^1.27.0",
"sass-loader": "^10.0.3",
"semver": "^5.7.2",
"split2": "^3.2.2",
"style-loader": "^3.3.1",
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",
"ts-loader": "^9",
2018-08-07 17:37:50 +00:00
"ts-node": "^7.0.0",
2022-05-04 07:06:35 +00:00
"typescript": "^4.6.4",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-dev-middleware": "^5.3.1",
"webpack-hot-middleware": "^2.25.1",
2022-02-14 17:22:25 +00:00
"webpack-merge": "^5.8.0",
"xml2js": "^0.5.0"
2016-08-03 18:00:26 +00:00
},
"devDependencies": {
2022-08-29 10:39:51 +00:00
"@github/markdownlint-github": "^0.1.0",
"@types/byline": "^4.2.31",
2017-08-20 00:19:28 +00:00
"@types/classnames": "^2.2.2",
"@types/codemirror": "5.60.4",
2020-07-10 19:22:00 +00:00
"@types/deep-equal": "^1.0.1",
2021-10-18 10:38:32 +00:00
"@types/dompurify": "^2.3.1",
2021-02-19 08:11:10 +00:00
"@types/electron-winstaller": "^4.0.0",
2022-02-14 17:22:25 +00:00
"@types/eslint": "^8.4.1",
"@types/estree": "^0.0.49",
"@types/event-kit": "^2.4.1",
2017-12-24 16:26:17 +00:00
"@types/express": "^4.11.0",
"@types/fs-extra": "^7.0.0",
"@types/fuzzaldrin-plus": "^0.0.1",
"@types/glob": "^5.0.35",
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",
"@types/memoize-one": "^3.1.1",
"@types/mri": "^1.1.0",
2021-12-01 17:36:03 +00:00
"@types/node": "16.11.11",
"@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",
"@types/react-transition-group": "^4.4.0",
"@types/react-virtualized": "^9.7.12",
2017-12-24 16:26:17 +00:00
"@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": "^2.1.6",
"@types/strip-ansi": "^3.0.0",
2017-08-29 05:55:42 +00:00
"@types/temp": "^0.8.29",
"@types/textarea-caret": "^3.0.0",
2017-09-26 15:26:38 +00:00
"@types/to-camel-case": "^1.0.0",
2022-02-21 13:21:59 +00:00
"@types/triple-beam": "^1.3.2",
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",
2022-02-14 17:22:25 +00:00
"@types/webpack": "^5.28.0",
"@types/webpack-bundle-analyzer": "^4.4.1",
"@types/webpack-hot-middleware": "^2.25.6",
2022-02-14 17:22:25 +00:00
"@types/webpack-merge": "^5.0.0",
"@types/xml2js": "^0.4.11",
2023-09-21 07:36:45 +00:00
"electron": "24.8.3",
"electron-packager": "^17.1.1",
"electron-winstaller": "^5.0.0",
2022-08-23 19:02:58 +00:00
"eslint-plugin-github": "^4.3.7",
"jest-esm-transformer": "^1.0.0",
2022-08-29 10:39:51 +00:00
"markdownlint-cli": "^0.32.2",
"reserved-words": "^0.1.2",
"tsconfig-paths": "^3.9.0"
}
2020-06-24 18:28:06 +00:00
}