mirror of
https://github.com/desktop/desktop
synced 2024-08-27 12:11:00 +00:00
136 lines
5.6 KiB
JSON
136 lines
5.6 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.js app/src/cli/main.ts",
|
|
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe mocha -t 30000 --require ts-node/register app/test/integration/*.ts",
|
|
"test:unit": "cross-env GIT_AUTHOR_NAME=\"Joe Bloggs\" GIT_AUTHOR_EMAIL=\"joe.bloggs@somewhere.com\" GIT_COMMITTER_NAME=\"Joe Bloggs\" GIT_COMMITTER_EMAIL=\"joe.bloggs@somewhere.com\" TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe electron-mocha -t 10000 --renderer --require ts-node/register --require ./app/test/globals.ts app/test/unit/*.{ts,tsx} app/test/unit/**/*.{ts,tsx}",
|
|
"test": "yarn test:unit && yarn test:integration",
|
|
"test:setup": "ts-node script/test-setup.ts",
|
|
"test:review": "ts-node script/test-review.ts",
|
|
"postinstall": "cd app && yarn install --force && cd .. && git submodule update --recursive --init",
|
|
"start": "cross-env NODE_ENV=development node script/start",
|
|
"start:prod": "cross-env NODE_ENV=production node script/start",
|
|
"debug": "cross-env NODE_ENV=development node script/debug",
|
|
"compile:dev": "cross-env NODE_ENV=development parallel-webpack --config app/webpack.development.js",
|
|
"compile:prod": "cross-env NODE_ENV=production parallel-webpack --config app/webpack.production.js",
|
|
"build:dev": "yarn compile:dev && cross-env NODE_ENV=development ts-node script/build.ts",
|
|
"build:prod": "yarn compile:prod && cross-env NODE_ENV=production ts-node script/build.ts",
|
|
"package": "ts-node -P script script/package.ts",
|
|
"generate-octicons": "ts-node script/generate-octicons.ts",
|
|
"compile:script": "tsc -p script",
|
|
"lint": "yarn lint:src && yarn lint:md:check && yarn lint:css:check",
|
|
"lint:fix": "yarn lint:src:fix && yarn lint:md --write && yarn lint:css --write",
|
|
"lint:md": "prettier \"**/*.md\"",
|
|
"lint:md:check": "yarn lint:md --list-different",
|
|
"lint:css": "prettier \"app/styles/**/*.scss\"",
|
|
"lint:css:check": "yarn lint:css --list-different",
|
|
"lint:src": "yarn tslint && yarn eslint-check && yarn eslint",
|
|
"lint:src:fix": "yarn tslint --fix && yarn eslint --fix",
|
|
"tslint": "NODE_OPTIONS='-r ts-node/register' tslint ./{script,tslint-rules}/*.ts ./app/{src,typings,test}/**/*.{ts,tsx}",
|
|
"eslint": "ts-node script/eslint.ts",
|
|
"eslint-check": "eslint --print-config .eslintrc.* | eslint-config-prettier-check",
|
|
"publish": "node script/publish",
|
|
"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"
|
|
},
|
|
"author": {
|
|
"name": "GitHub, Inc.",
|
|
"email": "opensource+desktop@github.com",
|
|
"url": "https://desktop.github.com/"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 7",
|
|
"yarn": ">= 1.2.0"
|
|
},
|
|
"dependencies": {
|
|
"awesome-typescript-loader": "^3.4.0",
|
|
"aws-sdk": "^2.23.0",
|
|
"babel-core": "^6.24.1",
|
|
"babel-minify": "^0.2.0",
|
|
"babel-webpack-plugin": "^0.1.1",
|
|
"chai": "^4.1.1",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-datetime": "^1.4.1",
|
|
"chalk": "^2.2.0",
|
|
"clean-webpack-plugin": "^0.1.16",
|
|
"cross-env": "^5.0.5",
|
|
"css-loader": "^0.28.5",
|
|
"eslint": "^4.12.0",
|
|
"eslint-config-prettier": "^2.9.0",
|
|
"eslint-plugin-babel": "^4.1.2",
|
|
"eslint-plugin-prettier": "^2.1.2",
|
|
"eslint-plugin-react": "^7.5.1",
|
|
"eslint-plugin-typescript": "^0.8.1",
|
|
"express": "^4.15.0",
|
|
"extract-text-webpack-plugin": "^3.0.0",
|
|
"fs-extra": "^2.1.2",
|
|
"html-webpack-plugin": "^2.30.1",
|
|
"klaw-sync": "^3.0.0",
|
|
"legal-eagle": "0.15.0",
|
|
"mocha": "^4.0.1",
|
|
"node-native-loader": "^1.1.1",
|
|
"node-sass": "^4.5.2",
|
|
"octicons": "^7.0.1",
|
|
"parallel-webpack": "^2.1.0",
|
|
"prettier": "1.9.2",
|
|
"request": "^2.72.0",
|
|
"rimraf": "^2.5.2",
|
|
"sass-loader": "^6.0.6",
|
|
"spectron": "^3.7.2",
|
|
"style-loader": "^0.18.2",
|
|
"to-camel-case": "^1.0.0",
|
|
"ts-node": "^3.2.0",
|
|
"tslint": "^5.8.0",
|
|
"tslint-config-prettier": "^1.1.0",
|
|
"tslint-microsoft-contrib": "^5.0.1",
|
|
"tslint-react": "~3.2.0",
|
|
"typescript": "2.6.2",
|
|
"typescript-eslint-parser": "^10.0.0",
|
|
"webpack": "^3.5.5",
|
|
"webpack-dev-middleware": "^1.12.0",
|
|
"webpack-hot-middleware": "^2.18.0",
|
|
"webpack-merge": "^4.1.0",
|
|
"xml2js": "^0.4.16",
|
|
"xvfb-maybe": "^0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/byline": "^4.2.31",
|
|
"@types/chai": "^4.0.5",
|
|
"@types/chai-datetime": "^0.0.31",
|
|
"@types/classnames": "^2.2.2",
|
|
"@types/codemirror": "^0.0.49",
|
|
"@types/electron-packager": "^8.7.1",
|
|
"@types/electron-winstaller": "^2.6.0",
|
|
"@types/event-kit": "^1.2.28",
|
|
"@types/file-url": "^2.0.0",
|
|
"@types/fs-extra": "2.1.0",
|
|
"@types/keytar": "^4.0.0",
|
|
"@types/mocha": "^2.2.29",
|
|
"@types/mri": "^1.1.0",
|
|
"@types/node": "^7.0.18",
|
|
"@types/react": "^16.0.19",
|
|
"@types/react-addons-test-utils": "^0.14.20",
|
|
"@types/react-dom": "^16.0.2",
|
|
"@types/react-transition-group": "1.1.1",
|
|
"@types/react-virtualized": "^9.7.4",
|
|
"@types/strip-ansi": "^3.0.0",
|
|
"@types/temp": "^0.8.29",
|
|
"@types/to-camel-case": "^1.0.0",
|
|
"@types/ua-parser-js": "^0.7.30",
|
|
"@types/uuid": "^3.4.0",
|
|
"@types/winston": "^2.2.0",
|
|
"@types/xml2js": "^0.4.0",
|
|
"electron": "1.7.9",
|
|
"electron-builder": "19.48.3",
|
|
"electron-mocha": "^5.0.0",
|
|
"electron-packager": "^10.1.0",
|
|
"electron-winstaller": "2.5.2"
|
|
}
|
|
}
|