* chore: its important to run `yarn build:all` before running `yarn dev` * feat: trigger showModal from rrdom and rrweb * feat: Add support for replaying modal and non modal dialog elements * chore: Update dev script to remove CLEAR_DIST_DIR flag * Get modal recording and replay working * DRY up dialog test and dedupe snapshot images * feat: Refactor dialog test to use updated attribute name * feat: Update dialog test to include rr_open attribute * chore: Add npm dependency happy-dom@14.12.0 * Add more test cases for dialog * Clean up naming * Refactor dialog open code * Revert changed code that doesn't do anything * Add documentation for unimplemented type * chore: Remove unnecessary comments in dialog.test.ts * rename rr_open to rr_openMode * Replace todo with a skipped test * Add better logging for CI * Rename rr_openMode to rr_open_mode rrdom downcases all attribute names which made `rr_openMode` tricky to deal with * Remove unused images * Move after iframe append based on @YunFeng0817's comment https://github.com/rrweb-io/rrweb/pull/1503#discussion_r1666363931 * Remove redundant dialog handling from rrdom. rrdom already handles dialog element creation it's self * Rename variables for dialog handling in rrweb replay module * Update packages/rrdom/src/document.ts --------- Co-authored-by: Eoghan Murray <eoghan@getthere.ie>
59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"name": "rrdom",
|
|
"version": "2.0.0-alpha.16",
|
|
"homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/rrdom#readme",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./dist/rrdom.cjs",
|
|
"module": "./dist/rrdom.js",
|
|
"unpkg": "./dist/rrdom.umd.cjs",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/rrdom.js"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/rrdom.cjs"
|
|
}
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"package.json"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/rrweb-io/rrweb.git"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"build": "yarn turbo run prepublish",
|
|
"check-types": "tsc -noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"prepublish": "tsc -noEmit && vite build",
|
|
"lint": "yarn eslint src/**/*.ts"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/rrweb-io/rrweb/issues"
|
|
},
|
|
"devDependencies": {
|
|
"@rrweb/types": "^2.0.0-alpha.16",
|
|
"@types/puppeteer": "^5.4.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.23.0",
|
|
"@typescript-eslint/parser": "^5.23.0",
|
|
"eslint": "^8.15.0",
|
|
"happy-dom": "^14.12.0",
|
|
"puppeteer": "^17.1.3",
|
|
"typescript": "^5.4.5",
|
|
"vite": "^5.3.1",
|
|
"vite-plugin-dts": "^3.9.1"
|
|
},
|
|
"dependencies": {
|
|
"rrweb-snapshot": "^2.0.0-alpha.16"
|
|
}
|
|
}
|