- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
392 additions
and
522 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ | |
"lint": "eslint \"source/*.ts\" \"source/**/*.ts\"", | ||
"lint:fix": "yarn --silent lint --fix", | ||
"prepublishOnly": "yarn build && yarn jest && yarn declarations && yarn build:flow-types && yarn build:pretty-types", | ||
"build": "shx rm -rf ./distribution && tsc -p tsconfig.production.json && madge ./distribution --circular", | ||
"build": "shx rm -rf ./distribution && tsc -p tsconfig.production.json && yarn madge ./distribution --circular --exclude debug.js", | ||
"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 [email protected] source/_danger.d.ts -o distribution/danger.js.flow && node scripts/update_flow_types.js", | ||
"build:schemas": "typescript-json-schema tsconfig.json DangerJSON > source/danger-incoming-process-schema.json; typescript-json-schema tsconfig.json DangerResults > source/danger-outgoing-process-schema.json; yarn prettier --write source/danger-outgoing-process-schema.json source/danger-incoming-process-schema.json", | ||
|
@@ -129,12 +129,12 @@ | |
"jest": "^24.0.0", | ||
"jest-json-reporter": "^1.2.2", | ||
"lint-staged": "^12.3.7", | ||
"madge": "^3.2.0", | ||
"madge": "^5.0.1", | ||
"nock": "^10.0.6", | ||
"pkg": "^5.4.0", | ||
"prettier": "^2.5.1", | ||
"release-it": "^13.5.2", | ||
"shx": "^0.3.2", | ||
"shx": "^0.3.4", | ||
"ts-jest": "^24.0.2", | ||
"ts-node": "^8.0.2", | ||
"typedoc": "0.9.0", | ||
|