mirror of
https://github.com/desktop/desktop
synced 2024-08-27 12:11:00 +00:00
176 lines
7.4 KiB
JSON
176 lines
7.4 KiB
JSON
{
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/desktop/desktop.git"
|
|
},
|
|
"description": "GitHub Desktop build dependencies",
|
|
"scripts": {
|
|
"cli": "ts-node --require ./app/test/globals.ts --require ./app/src/cli/dev-commands-global.ts app/src/cli/main.ts",
|
|
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe --auto-servernum -- jest --config ./app/jest.integration.config.js",
|
|
"test:unit": "cross-env ELECTRON_RUN_AS_NODE=1 ./node_modules/.bin/electron ./node_modules/jest/bin/jest --detectOpenHandles --silent --config ./app/jest.unit.config.js",
|
|
"test:unit:cov": "yarn test:unit --coverage",
|
|
"test:script": "jest --silent --config ./script/jest.config.js",
|
|
"test:script:cov": "yarn test:script --coverage",
|
|
"test": "yarn test:unit:cov --runInBand && yarn test:script:cov && yarn test:integration",
|
|
"test:setup": "ts-node -P script/tsconfig.json script/test-setup.ts",
|
|
"test:review": "ts-node -P script/tsconfig.json script/test-review.ts",
|
|
"test:report": "codecov --disable=gcov -f app/coverage/coverage-final.json",
|
|
"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 parallel-webpack --config app/webpack.development.ts",
|
|
"compile:prod": "cross-env NODE_ENV=production NODE_OPTIONS='--max_old_space_size=4096' parallel-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",
|
|
"clean:tslint": "rimraf tslint-rules/*.js",
|
|
"compile:tslint": "tsc -P tslint-rules",
|
|
"compile:script": "tsc -P script/tsconfig.json",
|
|
"lint": "yarn prettier && yarn lint:src",
|
|
"lint:fix": "yarn prettier --write && yarn lint:src:fix",
|
|
"prettier": "prettier --check \"./**/*.{ts,tsx,js,json,jsx,scss,html,yaml,yml}\"",
|
|
"lint:src": "yarn tslint && yarn eslint-check && yarn eslint",
|
|
"lint:src:fix": "yarn tslint --fix && yarn eslint --fix",
|
|
"tslint": "tslint -p .",
|
|
"eslint": "eslint --cache --rulesdir ./eslint-rules \"./eslint-rules/**/*.js\" \"./{script,tslint-rules}/**/*.ts{,x}\" \"./app/{src,typings,test}/**/*.{j,t}s{,x}\" \"./changelog.json\"",
|
|
"eslint-check": "eslint --print-config .eslintrc.* | eslint-config-prettier-check",
|
|
"publish": "ts-node -P script/tsconfig.json script/publish.ts",
|
|
"clean-slate": "rimraf out node_modules app/node_modules coverage && yarn",
|
|
"rebuild-hard:dev": "yarn clean-slate && yarn build:dev",
|
|
"rebuild-hard:prod": "yarn clean-slate && yarn build:prod",
|
|
"draft-release": "ts-node script/draft-release/index.ts",
|
|
"draft-release:format": "prettier --check --write changelog.json app/package.json && yarn validate-changelog",
|
|
"validate-changelog": "ts-node script/validate-changelog.ts",
|
|
"check-modified": "stop-build"
|
|
},
|
|
"author": {
|
|
"name": "GitHub, Inc.",
|
|
"email": "opensource+desktop@github.com",
|
|
"url": "https://desktop.github.com/"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 10",
|
|
"yarn": ">= 1.9"
|
|
},
|
|
"dependencies": {
|
|
"@primer/octicons": "^9.1.0",
|
|
"@typescript-eslint/eslint-plugin": "^3.5.0",
|
|
"@typescript-eslint/parser": "^3.5.0",
|
|
"airbnb-browser-shims": "^3.0.0",
|
|
"ajv": "^6.4.0",
|
|
"awesome-node-loader": "^1.1.0",
|
|
"awesome-typescript-loader": "^5.2.1",
|
|
"aws-sdk": "^2.23.0",
|
|
"babel-core": "^6.26.3",
|
|
"babel-jest": "^23.4.2",
|
|
"babel-minify-webpack-plugin": "^0.3.1",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"chalk": "^2.2.0",
|
|
"clean-webpack-plugin": "^0.1.19",
|
|
"codecov": "^3.6.5",
|
|
"cross-env": "^5.0.5",
|
|
"css-loader": "^2.1.0",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-prettier": "^4.3.0",
|
|
"eslint-plugin-babel": "^5.3.0",
|
|
"eslint-plugin-json": "^1.4.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-react": "^7.13.0",
|
|
"express": "^4.15.0",
|
|
"fake-indexeddb": "^2.0.4",
|
|
"file-loader": "^2.0.0",
|
|
"front-matter": "^2.3.0",
|
|
"fs-extra": "^6.0.0",
|
|
"glob": "^7.1.2",
|
|
"html-webpack-plugin": "^3.2.0",
|
|
"jest": "^23.5.0",
|
|
"jest-diff": "^25.0.0",
|
|
"jest-extended": "^0.11.2",
|
|
"jest-junit": "^5.0.0",
|
|
"jest-localstorage-mock": "^2.3.0",
|
|
"klaw-sync": "^3.0.0",
|
|
"legal-eagle": "0.16.0",
|
|
"mini-css-extract-plugin": "^0.4.0",
|
|
"node-sass": "^4.13.1",
|
|
"parallel-webpack": "^2.3.0",
|
|
"prettier": "2.0.5",
|
|
"request": "^2.72.0",
|
|
"rimraf": "^2.5.2",
|
|
"sass-loader": "^7.0.1",
|
|
"semver": "^5.5.0",
|
|
"spectron": "5.0.0",
|
|
"stop-build": "^1.1.0",
|
|
"style-loader": "^0.21.0",
|
|
"to-camel-case": "^1.0.0",
|
|
"ts-jest": "^23.1.4",
|
|
"ts-node": "^7.0.0",
|
|
"tslint": "^5.11.0",
|
|
"tslint-config-prettier": "^1.14.0",
|
|
"tslint-microsoft-contrib": "^5.2.1",
|
|
"typescript": "^3.9.5",
|
|
"typescript-tslint-plugin": "^0.0.6",
|
|
"webpack": "^4.8.3",
|
|
"webpack-bundle-analyzer": "^3.3.2",
|
|
"webpack-dev-middleware": "^3.1.3",
|
|
"webpack-hot-middleware": "^2.22.2",
|
|
"webpack-merge": "^4.1.2",
|
|
"xml2js": "^0.4.16",
|
|
"xvfb-maybe": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/byline": "^4.2.31",
|
|
"@types/classnames": "^2.2.2",
|
|
"@types/clean-webpack-plugin": "^0.1.2",
|
|
"@types/codemirror": "0.0.76",
|
|
"@types/double-ended-queue": "^2.1.0",
|
|
"@types/electron-packager": "^13.0.0",
|
|
"@types/electron-winstaller": "^2.6.0",
|
|
"@types/event-kit": "^1.2.28",
|
|
"@types/express": "^4.11.0",
|
|
"@types/extract-text-webpack-plugin": "^3.0.3",
|
|
"@types/file-url": "^2.0.0",
|
|
"@types/fs-extra": "^7.0.0",
|
|
"@types/fuzzaldrin-plus": "^0.0.1",
|
|
"@types/glob": "^5.0.35",
|
|
"@types/html-webpack-plugin": "^2.30.3",
|
|
"@types/jest": "^23.3.1",
|
|
"@types/keytar": "^4.0.0",
|
|
"@types/legal-eagle": "^0.15.0",
|
|
"@types/memoize-one": "^3.1.1",
|
|
"@types/mini-css-extract-plugin": "^0.2.0",
|
|
"@types/moment-duration-format": "^2.2.2",
|
|
"@types/mri": "^1.1.0",
|
|
"@types/node": "12.12.24",
|
|
"@types/prettier": "^2.0.1",
|
|
"@types/react": "^16.8.7",
|
|
"@types/react-css-transition-replace": "^2.1.3",
|
|
"@types/react-dom": "^16.8.2",
|
|
"@types/react-transition-group": "1.1.1",
|
|
"@types/react-virtualized": "^9.7.12",
|
|
"@types/request": "^2.0.9",
|
|
"@types/semver": "^5.5.0",
|
|
"@types/strip-ansi": "^3.0.0",
|
|
"@types/temp": "^0.8.29",
|
|
"@types/textarea-caret": "^3.0.0",
|
|
"@types/to-camel-case": "^1.0.0",
|
|
"@types/ua-parser-js": "^0.7.30",
|
|
"@types/untildify": "^3.0.0",
|
|
"@types/uuid": "^3.4.0",
|
|
"@types/webdriverio": "^4.13.0",
|
|
"@types/webpack": "^4.4.0",
|
|
"@types/webpack-bundle-analyzer": "^2.9.2",
|
|
"@types/webpack-dev-middleware": "^2.0.1",
|
|
"@types/webpack-hot-middleware": "^2.16.3",
|
|
"@types/webpack-merge": "^4.1.3",
|
|
"@types/winston": "^2.2.0",
|
|
"@types/xml2js": "^0.4.0",
|
|
"electron": "7.1.8",
|
|
"electron-builder": "22.4.0",
|
|
"electron-packager": "^14.2.1",
|
|
"electron-winstaller": "4.0.0",
|
|
"eslint-plugin-jsdoc": "^28.6.1"
|
|
}
|
|
}
|