github-desktop/package.json

145 lines
5.7 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": {
"cli": "ts-node --require ./app/test/globals.ts --require ./app/src/cli/dev-commands-global.js app/src/cli/main.ts",
2017-10-23 14:33:42 +00:00
"test:integration": "cross-env TEST_ENV=1 ELECTRON_NO_ATTACH_CONSOLE=1 xvfb-maybe mocha -t 30000 --compilers ts:ts-node/register,tsx:ts-node/register app/test/integration/*.ts",
2017-07-28 19:30:00 +00:00
"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}",
2017-10-21 01:54:26 +00:00
"test": "yarn test:unit && yarn test:integration",
2017-07-26 19:00:57 +00:00
"test:setup": "ts-node script/test-setup.ts",
2017-07-26 19:02:31 +00:00
"test:review": "ts-node script/test-review.ts",
2017-10-21 01:54:26 +00:00
"postinstall": "cd app && yarn install --force && cd .. && git submodule update --recursive --init && yarn compile:tslint",
2016-10-12 23:04:58 +00:00
"start": "cross-env NODE_ENV=development node script/start",
2017-04-17 20:23:45 +00:00
"start:prod": "cross-env NODE_ENV=production node script/start",
2017-02-07 22:08:45 +00:00
"debug": "cross-env NODE_ENV=development node script/debug",
2017-04-17 22:07:17 +00:00
"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",
2017-10-21 01:54:26 +00:00
"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",
2017-10-15 06:02:33 +00:00
"package": "ts-node script/package.ts",
2017-09-23 22:14:08 +00:00
"generate-octicons": "ts-node script/generate-octicons.ts",
"clean:tslint": "rimraf tslint-rules/*.js",
"compile:tslint": "tsc -p tslint-rules",
2017-10-21 01:54:26 +00:00
"lint": "yarn compile:tslint && yarn tslint && yarn eslint-check && yarn eslint",
"tslint": "tslint ./{scripts,tslint-rules}/*.ts ./app/{src,typings,test}/**/*.{ts,tsx}",
"eslint": "ts-node script/eslint.ts",
"eslint:fix": "ts-node script/eslint.ts --fix",
"eslint-check": "eslint --print-config .eslintrc.* | eslint-config-prettier-check",
2016-11-17 13:38:54 +00:00
"publish": "node script/publish",
2017-10-24 23:50:50 +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",
"rebuild-hard:prod": "yarn clean-slate && yarn build:prod"
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": {
2017-05-01 02:18:20 +00:00
"node": ">= 7",
2017-10-26 00:16:07 +00:00
"yarn": ">= 1.2.0"
2016-05-16 21:22:43 +00:00
},
"dependencies": {
"awesome-typescript-loader": "^3.1.2",
2017-03-07 01:50:43 +00:00
"aws-sdk": "^2.23.0",
"babel-core": "^6.24.1",
"babel-minify": "^0.2.0",
2017-04-18 09:04:19 +00:00
"babel-webpack-plugin": "^0.1.1",
"chai": "^4.1.1",
"chai-as-promised": "^7.1.1",
2016-10-19 00:05:43 +00:00
"chai-datetime": "^1.4.1",
"chalk": "^2.2.0",
2017-05-01 01:46:22 +00:00
"clean-webpack-plugin": "^0.1.16",
"cross-env": "^5.0.5",
2017-08-19 11:12:15 +00:00
"css-loader": "^0.28.5",
"eslint": "^4.3.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.1.0",
"eslint-plugin-typescript": "^0.4.0",
"eslint_d": "^5.1.0",
2017-03-06 03:12:05 +00:00
"express": "^4.15.0",
2017-08-19 11:12:15 +00:00
"extract-text-webpack-plugin": "^3.0.0",
2017-05-05 00:28:34 +00:00
"fs-extra": "^2.1.2",
"html-webpack-plugin": "^2.30.1",
"klaw-sync": "^3.0.0",
2017-05-31 14:40:12 +00:00
"legal-eagle": "0.15.0",
2017-06-21 16:17:56 +00:00
"mocha": "^3.4.2",
2017-04-17 21:50:22 +00:00
"node-native-loader": "^1.1.1",
2017-04-17 20:24:00 +00:00
"node-sass": "^4.5.2",
"octicons": "^6.0.1",
2017-08-19 11:12:15 +00:00
"parallel-webpack": "^2.1.0",
2017-10-09 02:55:51 +00:00
"prettier": "1.7.4",
2016-06-07 16:39:03 +00:00
"request": "^2.72.0",
"rimraf": "^2.5.2",
"sass-loader": "^6.0.6",
"spectron": "^3.7.2",
2017-08-19 11:12:15 +00:00
"style-loader": "^0.18.2",
2016-06-15 17:38:56 +00:00
"to-camel-case": "^1.0.0",
2017-04-17 20:24:00 +00:00
"ts-loader": "^2.0.3",
2017-07-12 14:16:56 +00:00
"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",
2017-10-09 02:55:51 +00:00
"typescript": "2.5.3",
"typescript-eslint-parser": "^8.0.0",
2016-07-28 14:12:33 +00:00
"vrsource-tslint-rules": "^0.12.0",
2017-08-19 11:12:15 +00:00
"webpack": "^3.5.5",
"webpack-dev-middleware": "^1.12.0",
2017-04-17 20:24:00 +00:00
"webpack-hot-middleware": "^2.18.0",
"webpack-merge": "^4.1.0",
2017-08-04 00:53:54 +00:00
"xml2js": "^0.4.16",
"xvfb-maybe": "^0.2.1"
2016-08-03 18:00:26 +00:00
},
"devDependencies": {
"@types/byline": "^4.2.31",
"@types/chai": "^4.0.3",
2016-10-19 00:05:43 +00:00
"@types/chai-datetime": "0.0.30",
2017-08-20 00:19:28 +00:00
"@types/classnames": "^2.2.2",
2017-10-23 09:43:00 +00:00
"@types/codemirror": "^0.0.49",
2017-08-06 20:35:48 +00:00
"@types/electron-packager": "^8.7.1",
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-10-24 01:35:31 +00:00
"@types/file-url": "^2.0.0",
2017-05-05 00:28:34 +00:00
"@types/fs-extra": "2.1.0",
2017-05-02 04:23:25 +00:00
"@types/keytar": "^4.0.0",
2016-08-03 18:00:26 +00:00
"@types/mocha": "^2.2.29",
"@types/mri": "^1.1.0",
"@types/node": "^7.0.18",
"@types/react": "^15.6.4",
2017-09-27 01:40:19 +00:00
"@types/react-addons-test-utils": "^0.14.20",
"@types/react-dom": "^15.5.5",
"@types/react-transition-group": "1.1.1",
2017-09-27 02:14:50 +00:00
"@types/react-virtualized": "^9.7.4",
"@types/strip-ansi": "^3.0.0",
2017-08-29 05:55:42 +00:00
"@types/temp": "^0.8.29",
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",
2017-08-20 00:19:28 +00:00
"@types/uuid": "^3.4.0",
"@types/winston": "^2.2.0",
"@types/xml2js": "^0.4.0",
2017-10-11 18:54:52 +00:00
"electron": "1.7.9",
2017-10-09 07:16:15 +00:00
"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"
2017-10-02 01:29:19 +00:00
},
"optionalDependencies": {
2017-10-23 09:47:16 +00:00
"electron-installer-debian": "^0.6.0",
"electron-installer-redhat": "^0.5.0"
},
2017-10-02 01:29:19 +00:00
"build": {
"linux": {
"category": "public.app-category.developer-tools",
"icon": "app/static/logos"
}
}
2016-05-11 16:16:32 +00:00
}