Skip to content

Commit

Permalink
Use npm-run-all for danger:prepush to run scripts in sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 16, 2022
1 parent 69aea27 commit be063c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@
"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": "yarn build:fast; yarn test:fixtures; node distribution/commands/danger.js local --base main --dangerfile dangerfile.lite.ts"
"danger:local": "node distribution/commands/danger.js local --base main --dangerfile dangerfile.lite.ts",
"danger:prepush": "npm-run-all build:fast test:fixtures danger:local"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -130,6 +131,7 @@
"lint-staged": "^7.3.0",
"madge": "^3.2.0",
"nock": "^10.0.6",
"npm-run-all": "^4.1.5",
"pkg": "^4.4.2",
"prettier": "^2.5.1",
"release-it": "^13.5.2",
Expand Down

0 comments on commit be063c6

Please sign in to comment.