github-desktop/package.json
2018-03-27 12:21:02 +11:00

145 lines
5.9 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 && yarn 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": "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/tsconfig.json script/package.ts",
"generate-octicons": "ts-node script/generate-octicons.ts",
"clean:tslint": "rimraf tslint-rules/*.js",
"compile:tslint": "tsc -p tslint-rules",
"compile:script": "tsc -p script",
"lint": "yarn lint:src && yarn lint:prettier",
"lint:fix": "yarn lint:src:fix && yarn lint:prettier --fix",
"lint:prettier": "ts-node script/prettier.ts",
"lint:src": "yarn tslint && yarn eslint-check && yarn eslint",
"lint:src:fix": "yarn tslint --fix && yarn eslint --fix",
"tslint": "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",
"changelog": "ts-node script/changelog/index.ts",
"draft-release": "ts-node script/draft-release/index.ts",
"validate-changelog": "ts-node script/validate-changelog.ts"
},
"author": {
"name": "GitHub, Inc.",
"email": "opensource+desktop@github.com",
"url": "https://desktop.github.com/"
},
"license": "MIT",
"engines": {
"node": ">= 7",
"yarn": ">= 1.2.0"
},
"dependencies": {
"ajv": "^6.4.0",
"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.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-babel": "^4.1.2",
"eslint-plugin-json": "^1.2.0",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"eslint-plugin-typescript": "^0.10.0",
"express": "^4.15.0",
"extract-text-webpack-plugin": "^3.0.0",
"fs-extra": "^2.1.2",
"html-webpack-plugin": "^2.30.1",
"json-pretty": "^0.0.1",
"klaw-sync": "^3.0.0",
"legal-eagle": "0.15.0",
"mocha": "^5.0.4",
"node-native-loader": "^1.1.1",
"node-sass": "^4.7.2",
"octicons": "^7.0.1",
"parallel-webpack": "^2.1.0",
"prettier": "1.11.1",
"request": "^2.72.0",
"rimraf": "^2.5.2",
"sass-loader": "^6.0.6",
"semver": "^5.5.0",
"spectron": "^3.8.0",
"style-loader": "^0.19.1",
"to-camel-case": "^1.0.0",
"ts-node": "^5.0.1",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.10.0",
"tslint-microsoft-contrib": "^5.0.3",
"tslint-react": "^3.5.1",
"typescript": "2.7.2",
"typescript-eslint-parser": "^14.0.0",
"webpack": "^3.10.0",
"webpack-dev-middleware": "^2.0.3",
"webpack-hot-middleware": "^2.21.0",
"webpack-merge": "^4.1.0",
"xml2js": "^0.4.16",
"xvfb-maybe": "^0.2.1"
},
"devDependencies": {
"@types/byline": "^4.2.31",
"@types/chai": "^4.1.2",
"@types/chai-datetime": "^0.0.31",
"@types/classnames": "^2.2.2",
"@types/codemirror": "0.0.55",
"@types/electron-packager": "^10.1.0",
"@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/fuzzaldrin-plus": "^0.0.1",
"@types/keytar": "^4.0.0",
"@types/mocha": "^2.2.48",
"@types/mri": "^1.1.0",
"@types/node": "^7.0.18",
"@types/react": "^16.0.40",
"@types/react-dom": "^16.0.4",
"@types/react-transition-group": "1.1.1",
"@types/react-virtualized": "^9.7.12",
"@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/winston": "^2.2.0",
"@types/xml2js": "^0.4.0",
"electron": "1.8.3",
"electron-builder": "20.2.0",
"electron-mocha": "^6.0.1",
"electron-packager": "^11.0.0",
"electron-winstaller": "2.5.2"
}
}