Skip to content

Commit

Permalink
Updating Docs, adding prepare hook for npm and adding License
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamil-Natesan committed May 15, 2022
1 parent 1526413 commit 347ae52
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 8 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Tamil Selvan

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Configure the output directory in your wdio.conf.js file:
```js
exports.config = {
// ...
reporters: ['TestRecorder', {videoOutputPath: '', attachVideoToCucumberReport: false}]
reporters: ['TestRecorder', {videoOutputPath: '', attachVideoToCucumberReport: true, removeAttachedVideos: false}]
// ...
}
```
Expand All @@ -28,4 +28,4 @@ exports.config = {
- `removeAttachedVideos` - Delete the saved video from temp file

Note:
`attachVideoToCucumberReport` will work only if `cucumberjs-json` reporter is enabled
`attachVideoToCucumberReport` will work only if [cucumberjs-json](https://www.npmjs.com/package/wdio-cucumberjs-json-reporter) reporter is enabled
137 changes: 134 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"email": "[email protected]"
},
"homepage": "https://github.com/tamil777selvan/wdio-testrecorder-reporter#readme",
"license": "ISC",
"version": "1.1.0",
"license": "MIT",
"version": "1.1.1",
"main": "build/index",
"keywords": [
"webdriverio",
Expand All @@ -27,7 +27,8 @@
"url": "git+https://github.com/tamil777selvan/wdio-testrecorder-reporter.git"
},
"scripts": {
"build": "npx tsc"
"prepare": "npm run build",
"build": "tsc"
},
"dependencies": {
"@ffmpeg-installer/ffmpeg": "1.1.0",
Expand Down

0 comments on commit 347ae52

Please sign in to comment.