Merge branch 'main' of github.com:usebruno/bruno

This commit is contained in:
Anoop M D 2023-08-30 20:31:57 +05:30
commit 97678b05fc
4 changed files with 17 additions and 3 deletions

4
.husky/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
npx pretty-quick --staged

7
.prettierrc.json Normal file
View File

@ -0,0 +1,7 @@
{
"trailingComma": "none",
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 180
}

View File

@ -17,7 +17,9 @@
"@faker-js/faker": "^7.6.0",
"@jest/globals": "^29.2.0",
"@playwright/test": "^1.27.1",
"husky": "^8.0.3",
"jest": "^29.2.0",
"pretty-quick": "^3.1.3",
"randomstring": "^1.2.2",
"ts-jest": "^29.0.5"
},
@ -30,9 +32,10 @@
"build:graphql-docs": "npm run build --workspace=packages/bruno-graphql-docs",
"build:electron": "./scripts/build-electron.sh",
"test:e2e": "npx playwright test",
"test:report": "npx playwright show-report"
"test:report": "npx playwright show-report",
"prepare": "husky install"
},
"overrides": {
"rollup": "3.2.5"
}
}
}

View File

@ -21,7 +21,7 @@ This command will run all the requests in your collection. You can also run a si
bru run request.bru
```
Or run all requests in a folder:
Or run all requests in a collection's subfolder:
```bash
bru run folder
```