Skip to content

Commit

Permalink
Merge pull request #639 from danger/more_dep_up
Browse files Browse the repository at this point in the history
Update the dependencies for Danger
  • Loading branch information
orta committed Jul 21, 2018
2 parents 90ebb01 + 1e67e09 commit f6313bc
Show file tree
Hide file tree
Showing 2 changed files with 623 additions and 578 deletions.
81 changes: 50 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,34 @@
},
"testResultsProcessor": "jest-json-reporter",
"testRegex": "(.test)\\.(ts|tsx)$",
"testPathIgnorePatterns": ["/node_modules/", "/distribution/", "/types/"],
"moduleFileExtensions": ["js", "jsx", "json", "ts", "tsx"],
"testPathIgnorePatterns": [
"/node_modules/",
"/distribution/",
"/types/"
],
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"cacheDirectory": ".jest/cache"
},
"lint-staged": {
"*.json": ["yarn prettier --write", "git add"],
"*.@(ts|tsx)": ["tslint --fix", "yarn prettier --write", "git add"],
"*.md": ["yarn prettier --write", "git add"]
"*.json": [
"yarn prettier --write",
"git add"
],
"*.@(ts|tsx)": [
"tslint --fix",
"yarn prettier --write",
"git add"
],
"*.md": [
"yarn prettier --write",
"git add"
]
},
"prettier": {
"printWidth": 120,
Expand All @@ -47,25 +67,24 @@
"prepublishOnly": "yarn build && yarn declarations && yarn build:flow-types && yarn build:pretty-types",
"build": "shx rm -rf ./distribution && tsc -p tsconfig.production.json && madge ./distribution --circular",
"build:fast": "tsc -p tsconfig.production.json",
"build:flow-types":
"cp source/danger.d.ts source/_danger.d.ts && sed -ie 's/api: GitHub/api: any/g' source/_danger.d.ts && npx flowgen source/_danger.d.ts -o distribution/danger.js.flow && node scripts/update_flow_types.js",
"build:pretty-types":
"yarn prettier --write distribution/danger.d.ts; yarn prettier --parser flow distribution/danger.js.flow --write",
"build:flow-types": "cp source/danger.d.ts source/_danger.d.ts && sed -ie 's/api: GitHub/api: any/g' source/_danger.d.ts && npx flowgen source/_danger.d.ts -o distribution/danger.js.flow && node scripts/update_flow_types.js",
"build:pretty-types": "yarn prettier --write distribution/danger.d.ts; yarn prettier --parser flow distribution/danger.js.flow --write",
"build:watch": "tsc -w",
"link": "yarn run build && chmod +x distribution/commands/danger.js && npm link",
"declarations": "ts-node ./scripts/create-danger-dts.ts",
"docs:cp_defs":
"mkdir docs/docs_generate; cp source/danger.d.ts docs/docs_generate; cp node_modules/@octokit/rest/index.d.ts docs/docs_generate/github.d.ts",
"docs":
"yarn run docs:cp_defs; yarn typedoc --ignoreCompilerErrors --mode modules --json docs/js_ref_dsl_docs.json --includeDeclarations source",
"docs:cp_defs": "mkdir docs/docs_generate; cp source/danger.d.ts docs/docs_generate; cp node_modules/@octokit/rest/index.d.ts docs/docs_generate/github.d.ts",
"docs": "yarn run docs:cp_defs; yarn typedoc --ignoreCompilerErrors --mode modules --json docs/js_ref_dsl_docs.json --includeDeclarations source",
"dts-lint": "yarn run declarations && yarn dtslint types",
"danger:prepush": "node distribution/commands/danger.js local --dangerfile dangerfile.lite.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/danger/danger-js.git"
},
"keywords": ["danger", "ci"],
"keywords": [
"danger",
"ci"
],
"author": "Orta Therox",
"license": "MIT",
"bugs": {
Expand All @@ -75,14 +94,14 @@
"devDependencies": {
"@types/debug": "0.0.30",
"@types/get-stdin": "^5.0.1",
"@types/jest": "^22.2.3",
"@types/jest": "^23.3.0",
"@types/json5": "^0.0.29",
"@types/jsonwebtoken": "^7.2.7",
"@types/jsonwebtoken": "^7.2.8",
"@types/lodash.includes": "^4.3.3",
"@types/node-fetch": "^1.6.6",
"@types/node-fetch": "^2.1.2",
"@types/p-limit": "^1.1.2",
"@types/readline-sync": "^1.4.2",
"@types/voca": "^1.3.0",
"@types/readline-sync": "^1.4.3",
"@types/voca": "^1.4.0",
"babel-cli": "7.0.0-alpha.19",
"babel-core": "7.0.0-alpha.19",
"babel-plugin-syntax-async-functions": "7.0.0-alpha.19",
Expand All @@ -93,22 +112,22 @@
"babel-preset-stage-3": "7.0.0-alpha.19",
"babel-traverse": "7.0.0-alpha.19",
"danger-plugin-jest": "^1.0.1",
"danger-plugin-yarn": "^1.2.1",
"danger-plugin-yarn": "^1.3.0",
"date-fns": "^1.29.0",
"flow-bin": "^0.71.0",
"flow-bin": "^0.77.0",
"husky": "^0.14.0",
"jest": "22.4.3",
"jest": "23.4.1",
"jest-json-reporter": "^1.2.2",
"lint-staged": "^7.2.0",
"madge": "^3.1.1",
"prettier": "^1.10.2",
"shx": "^0.2.1",
"ts-jest": "^22.4.2",
"ts-node": "^6.0.0",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.8.0",
"madge": "^3.2.0",
"prettier": "^1.13.7",
"shx": "^0.3.2",
"ts-jest": "^23.0.1",
"ts-node": "^7.0.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.14.0",
"typedoc": "0.9.0",
"typescript": "^2.9.1"
"typescript": "^2.9.2"
},
"dependencies": {
"@octokit/rest": "^15.5.0",
Expand All @@ -117,6 +136,7 @@
"commander": "^2.13.0",
"debug": "^3.1.0",
"get-stdin": "^6.0.0",
"https-proxy-agent": "^2.2.1",
"hyperlinker": "^1.0.0",
"jsome": "^2.3.25",
"json5": "^1.0.0",
Expand All @@ -128,7 +148,6 @@
"lodash.keys": "^4.0.8",
"node-cleanup": "^2.1.2",
"node-fetch": "^2.1.2",
"https-proxy-agent": "^2.2.1",
"p-limit": "^1.2.0",
"parse-diff": "^0.4.2",
"parse-git-config": "^2.0.2",
Expand Down

0 comments on commit f6313bc

Please sign in to comment.