mirror of
https://github.com/desktop/desktop
synced 2024-11-05 20:49:32 +00:00
129 lines
5.2 KiB
JSON
129 lines
5.2 KiB
JSON
{
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/desktop/desktop.git"
|
|
},
|
|
"description": "GitHub Desktop build dependencies",
|
|
"scripts": {
|
|
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe mocha -t 10000 --compilers ts:ts-node/register,tsx: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 --compilers ts:ts-node/register,tsx:ts-node/register --require ./app/test/globals.ts app/test/unit/*.{ts,tsx} app/test/unit/**/*.{ts,tsx}",
|
|
"test": "npm run test:unit && npm run test:integration",
|
|
"test:setup": "ts-node script/test-setup.ts",
|
|
"test:review": "ts-node script/test-review.ts",
|
|
"postinstall": "cd app && npm install && cd .. && git submodule update --recursive --init && npm run compile:tslint",
|
|
"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": "npm run compile:dev && cross-env NODE_ENV=development ts-node script/build.ts",
|
|
"build:prod": "npm run compile:prod && cross-env NODE_ENV=production ts-node script/build.ts",
|
|
"package": "node script/package",
|
|
"generate-octicons": "ts-node script/generate-octicons.ts",
|
|
"clean:tslint": "rimraf tslint-rules/*.js",
|
|
"compile:tslint": "tsc -p tslint-rules",
|
|
"lint": "npm run compile:tslint && tslint \"./app/{src,test}/**/*.{ts,tsx}\" \"./scripts/*.ts\"",
|
|
"check-prettiness": "node script/is-it-pretty",
|
|
"publish": "node script/publish",
|
|
"clean-slate": "rimraf out node_modules app/node_modules && npm install",
|
|
"rebuild-hard:dev": "npm run clean-slate && npm run build:dev",
|
|
"rebuild-hard:prod": "npm run clean-slate && npm run build:prod",
|
|
"prettier:base": "prettier --single-quote --trailing-comma es5 --no-semi --write",
|
|
"prettify": "npm run prettier:base \"{app/{src,test}/**/*.{ts,tsx,js},app/webpack.*.js,script/!(*.ps1|*.bat|setup-macos-keychain)}\""
|
|
},
|
|
"author": {
|
|
"name": "GitHub, Inc.",
|
|
"email": "opensource+desktop@github.com",
|
|
"url": "https://desktop.github.com/"
|
|
},
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">= 7",
|
|
"npm": ">= 4"
|
|
},
|
|
"dependencies": {
|
|
"awesome-typescript-loader": "^3.1.2",
|
|
"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",
|
|
"clean-webpack-plugin": "^0.1.16",
|
|
"cross-env": "^5.0.5",
|
|
"css-loader": "^0.28.5",
|
|
"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": "^3.4.2",
|
|
"node-native-loader": "^1.1.1",
|
|
"node-sass": "^4.5.2",
|
|
"octicons": "^6.0.1",
|
|
"parallel-webpack": "^2.1.0",
|
|
"prettier": "~1.7.0",
|
|
"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-loader": "^2.0.3",
|
|
"ts-node": "^3.2.0",
|
|
"tslint": "^4.5.1",
|
|
"tslint-config-prettier": "^1.1.0",
|
|
"tslint-microsoft-contrib": "^4.0.1",
|
|
"tslint-react": "~3.0.0",
|
|
"typescript": "2.5.2",
|
|
"vrsource-tslint-rules": "^0.12.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.3",
|
|
"@types/chai-datetime": "0.0.30",
|
|
"@types/classnames": "^2.2.2",
|
|
"@types/codemirror": "0.0.46",
|
|
"@types/electron-packager": "^8.7.1",
|
|
"@types/event-kit": "^1.2.28",
|
|
"@types/fs-extra": "2.1.0",
|
|
"@types/keytar": "^4.0.0",
|
|
"@types/mocha": "^2.2.29",
|
|
"@types/node": "^7.0.18",
|
|
"@types/react": "^15.6.4",
|
|
"@types/react-addons-test-utils": "^0.14.20",
|
|
"@types/react-dom": "^15.5.5",
|
|
"@types/react-transition-group": "1.1.1",
|
|
"@types/react-virtualized": "^9.7.4",
|
|
"@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.8",
|
|
"electron-builder": "19.33.0",
|
|
"electron-installer-appimage": "^1.0.1",
|
|
"electron-mocha": "^4.0.0",
|
|
"electron-packager": "^8.7.2",
|
|
"electron-winstaller": "2.5.2"
|
|
},
|
|
"optionalDependencies": {
|
|
"electron-installer-redhat": "^0.5.0",
|
|
"electron-installer-debian": "^0.6.0"
|
|
},
|
|
"build": {
|
|
"linux": {
|
|
"category": "public.app-category.developer-tools",
|
|
"icon": "app/static/logos"
|
|
}
|
|
}
|
|
}
|