storywright/package.json

36 строки
795 B
JSON
Исходник Обычный вид История

Storywright - Capture screenshot for storybook (#13) * Initial changes * Added mouseDown, mouseUp and changed makeScreenshot and elementScreenshot * refactor steps * rename * Rename * rename * Renaming to storywright (#4) Co-authored-by: Sunil Surana <susurana@microsoft.com> * rename storyrunner * Refactoring changes and adding CLI args (#5) * Refactoring changes * Dont resolve path for https urls Co-authored-by: Sunil Surana <susurana@microsoft.com> * Synchronization changes and browser support (#6) * synchrinization changes * Add multiple browser support * remove log Co-authored-by: Sunil Surana <susurana@microsoft.com> * Add concurrency change (#8) Co-authored-by: Sunil Surana <susurana@microsoft.com> * update description * update imports * Remove package utils as that is not being used * Open pages as tabs instead of new instance * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts * Added waitForElementNotFound action (#9) * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts Co-authored-by: Vinod Kumar Sharma <vinodsharma@microsoft.com> * Refactoring * refactor playwright executor (#11) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Update screenshot prefix (#12) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Refactoring changes * Add browser null check * Add story id in log * Comment change * 1. Added try/catch in PlayWrightExecutor.ts 2. Changed elementScreenshot to take screenshot of full page if element is not visible. * 1. Added 'throw err' to all catch block. 2. Fixed Alignment * COde review comments * Resolving code review comments * Resolved more code review comments * Resolving more comments Co-authored-by: Sunil Surana <susurana@microsoft.com> Co-authored-by: Vinod Sharma <vinodsharma@microsoft.com> Co-authored-by: vinodkumarsharma276 <vinodkumarsharma276@gmail.com>
2021-07-09 08:45:22 +03:00
{
"name": "storywright",
"description": "Storybook setup.",
"license": "MIT",
2024-03-19 14:23:40 +03:00
"version": "0.0.33",
Storywright - Capture screenshot for storybook (#13) * Initial changes * Added mouseDown, mouseUp and changed makeScreenshot and elementScreenshot * refactor steps * rename * Rename * rename * Renaming to storywright (#4) Co-authored-by: Sunil Surana <susurana@microsoft.com> * rename storyrunner * Refactoring changes and adding CLI args (#5) * Refactoring changes * Dont resolve path for https urls Co-authored-by: Sunil Surana <susurana@microsoft.com> * Synchronization changes and browser support (#6) * synchrinization changes * Add multiple browser support * remove log Co-authored-by: Sunil Surana <susurana@microsoft.com> * Add concurrency change (#8) Co-authored-by: Sunil Surana <susurana@microsoft.com> * update description * update imports * Remove package utils as that is not being used * Open pages as tabs instead of new instance * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts * Added waitForElementNotFound action (#9) * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts Co-authored-by: Vinod Kumar Sharma <vinodsharma@microsoft.com> * Refactoring * refactor playwright executor (#11) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Update screenshot prefix (#12) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Refactoring changes * Add browser null check * Add story id in log * Comment change * 1. Added try/catch in PlayWrightExecutor.ts 2. Changed elementScreenshot to take screenshot of full page if element is not visible. * 1. Added 'throw err' to all catch block. 2. Fixed Alignment * COde review comments * Resolving code review comments * Resolved more code review comments * Resolving more comments Co-authored-by: Sunil Surana <susurana@microsoft.com> Co-authored-by: Vinod Sharma <vinodsharma@microsoft.com> Co-authored-by: vinodkumarsharma276 <vinodkumarsharma276@gmail.com>
2021-07-09 08:45:22 +03:00
"main": "lib/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"bin": {
"storywright": "./bin/storywright.js"
},
"scripts": {
"build": "tsc",
"start": "tsc -w --preserveWatchOutput"
},
2021-07-22 18:16:27 +03:00
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
Storywright - Capture screenshot for storybook (#13) * Initial changes * Added mouseDown, mouseUp and changed makeScreenshot and elementScreenshot * refactor steps * rename * Rename * rename * Renaming to storywright (#4) Co-authored-by: Sunil Surana <susurana@microsoft.com> * rename storyrunner * Refactoring changes and adding CLI args (#5) * Refactoring changes * Dont resolve path for https urls Co-authored-by: Sunil Surana <susurana@microsoft.com> * Synchronization changes and browser support (#6) * synchrinization changes * Add multiple browser support * remove log Co-authored-by: Sunil Surana <susurana@microsoft.com> * Add concurrency change (#8) Co-authored-by: Sunil Surana <susurana@microsoft.com> * update description * update imports * Remove package utils as that is not being used * Open pages as tabs instead of new instance * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts * Added waitForElementNotFound action (#9) * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts Co-authored-by: Vinod Kumar Sharma <vinodsharma@microsoft.com> * Refactoring * refactor playwright executor (#11) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Update screenshot prefix (#12) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Refactoring changes * Add browser null check * Add story id in log * Comment change * 1. Added try/catch in PlayWrightExecutor.ts 2. Changed elementScreenshot to take screenshot of full page if element is not visible. * 1. Added 'throw err' to all catch block. 2. Fixed Alignment * COde review comments * Resolving code review comments * Resolved more code review comments * Resolving more comments Co-authored-by: Sunil Surana <susurana@microsoft.com> Co-authored-by: Vinod Sharma <vinodsharma@microsoft.com> Co-authored-by: vinodkumarsharma276 <vinodkumarsharma276@gmail.com>
2021-07-09 08:45:22 +03:00
"types": "lib/index.d.ts",
"dependencies": {
2024-03-19 14:22:57 +03:00
"@types/react": "^17.0.30",
2023-03-27 16:17:33 +03:00
"domdiffing": "^0.0.9",
Storywright - Capture screenshot for storybook (#13) * Initial changes * Added mouseDown, mouseUp and changed makeScreenshot and elementScreenshot * refactor steps * rename * Rename * rename * Renaming to storywright (#4) Co-authored-by: Sunil Surana <susurana@microsoft.com> * rename storyrunner * Refactoring changes and adding CLI args (#5) * Refactoring changes * Dont resolve path for https urls Co-authored-by: Sunil Surana <susurana@microsoft.com> * Synchronization changes and browser support (#6) * synchrinization changes * Add multiple browser support * remove log Co-authored-by: Sunil Surana <susurana@microsoft.com> * Add concurrency change (#8) Co-authored-by: Sunil Surana <susurana@microsoft.com> * update description * update imports * Remove package utils as that is not being used * Open pages as tabs instead of new instance * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts * Added waitForElementNotFound action (#9) * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts Co-authored-by: Vinod Kumar Sharma <vinodsharma@microsoft.com> * Refactoring * refactor playwright executor (#11) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Update screenshot prefix (#12) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Refactoring changes * Add browser null check * Add story id in log * Comment change * 1. Added try/catch in PlayWrightExecutor.ts 2. Changed elementScreenshot to take screenshot of full page if element is not visible. * 1. Added 'throw err' to all catch block. 2. Fixed Alignment * COde review comments * Resolving code review comments * Resolved more code review comments * Resolving more comments Co-authored-by: Sunil Surana <susurana@microsoft.com> Co-authored-by: Vinod Sharma <vinodsharma@microsoft.com> Co-authored-by: vinodkumarsharma276 <vinodkumarsharma276@gmail.com>
2021-07-09 08:45:22 +03:00
"playwright": "^1.11.1",
2024-03-19 14:22:57 +03:00
"react": "^17.0.2",
Storywright - Capture screenshot for storybook (#13) * Initial changes * Added mouseDown, mouseUp and changed makeScreenshot and elementScreenshot * refactor steps * rename * Rename * rename * Renaming to storywright (#4) Co-authored-by: Sunil Surana <susurana@microsoft.com> * rename storyrunner * Refactoring changes and adding CLI args (#5) * Refactoring changes * Dont resolve path for https urls Co-authored-by: Sunil Surana <susurana@microsoft.com> * Synchronization changes and browser support (#6) * synchrinization changes * Add multiple browser support * remove log Co-authored-by: Sunil Surana <susurana@microsoft.com> * Add concurrency change (#8) Co-authored-by: Sunil Surana <susurana@microsoft.com> * update description * update imports * Remove package utils as that is not being used * Open pages as tabs instead of new instance * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts * Added waitForElementNotFound action (#9) * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts Co-authored-by: Vinod Kumar Sharma <vinodsharma@microsoft.com> * Refactoring * refactor playwright executor (#11) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Update screenshot prefix (#12) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Refactoring changes * Add browser null check * Add story id in log * Comment change * 1. Added try/catch in PlayWrightExecutor.ts 2. Changed elementScreenshot to take screenshot of full page if element is not visible. * 1. Added 'throw err' to all catch block. 2. Fixed Alignment * COde review comments * Resolving code review comments * Resolved more code review comments * Resolving more comments Co-authored-by: Sunil Surana <susurana@microsoft.com> Co-authored-by: Vinod Sharma <vinodsharma@microsoft.com> Co-authored-by: vinodkumarsharma276 <vinodkumarsharma276@gmail.com>
2021-07-09 08:45:22 +03:00
"yargs": "^16.2.0"
},
"devDependencies": {
"@types/node": "^15.6.1",
2022-09-11 12:20:22 +03:00
"@types/yargs": "^15.0.13",
"compress-json": "^2.1.1",
"prettier": "^2.3.2",
"typescript": "^4.1.2"
Storywright - Capture screenshot for storybook (#13) * Initial changes * Added mouseDown, mouseUp and changed makeScreenshot and elementScreenshot * refactor steps * rename * Rename * rename * Renaming to storywright (#4) Co-authored-by: Sunil Surana <susurana@microsoft.com> * rename storyrunner * Refactoring changes and adding CLI args (#5) * Refactoring changes * Dont resolve path for https urls Co-authored-by: Sunil Surana <susurana@microsoft.com> * Synchronization changes and browser support (#6) * synchrinization changes * Add multiple browser support * remove log Co-authored-by: Sunil Surana <susurana@microsoft.com> * Add concurrency change (#8) Co-authored-by: Sunil Surana <susurana@microsoft.com> * update description * update imports * Remove package utils as that is not being used * Open pages as tabs instead of new instance * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts * Added waitForElementNotFound action (#9) * Added waitForElementNotFound action Adding file suffix to duplicate screenshots * Update index.ts Co-authored-by: Vinod Kumar Sharma <vinodsharma@microsoft.com> * Refactoring * refactor playwright executor (#11) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Update screenshot prefix (#12) Co-authored-by: Sunil Surana <susurana@microsoft.com> * Refactoring changes * Add browser null check * Add story id in log * Comment change * 1. Added try/catch in PlayWrightExecutor.ts 2. Changed elementScreenshot to take screenshot of full page if element is not visible. * 1. Added 'throw err' to all catch block. 2. Fixed Alignment * COde review comments * Resolving code review comments * Resolved more code review comments * Resolving more comments Co-authored-by: Sunil Surana <susurana@microsoft.com> Co-authored-by: Vinod Sharma <vinodsharma@microsoft.com> Co-authored-by: vinodkumarsharma276 <vinodkumarsharma276@gmail.com>
2021-07-09 08:45:22 +03:00
},
"sideEffects": false
}