Files
rrweb/packages/rrweb-snapshot/package.json
github-actions[bot] e904dab56a Version Packages (alpha) (#1484)
* Version Packages (alpha)
* Tweak description of file path changes

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Justin Halsall <Juice10@users.noreply.github.com>
2026-04-01 12:00:00 +08:00

68 lines
1.7 KiB
JSON

{
"name": "rrweb-snapshot",
"version": "2.0.0-alpha.15",
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
"scripts": {
"prepare": "npm run prepack",
"prepack": "npm run build",
"retest": "jest",
"test": "vitest run",
"test:watch": "vitest watch",
"test:update": "vitest run --update",
"dev": "vite build --watch",
"build": "yarn check-types && vite build",
"check-types": "tsc --noEmit",
"prepublish": "npm run build",
"lint": "yarn eslint src"
},
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/rrweb-io/rrweb.git"
},
"keywords": [
"rrweb",
"snapshot",
"DOM"
],
"main": "./dist/rrweb-snapshot.umd.cjs",
"module": "./dist/rrweb-snapshot.js",
"unpkg": "./dist/rrweb-snapshot.umd.cjs",
"typings": "dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/rrweb-snapshot.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/rrweb-snapshot.umd.cjs"
}
}
},
"files": [
"dist",
"package.json"
],
"author": "yanzhen@smartx.com",
"license": "MIT",
"bugs": {
"url": "https://github.com/rrweb-io/rrweb/issues"
},
"homepage": "https://github.com/rrweb-io/rrweb/tree/master/packages/rrweb-snapshot#readme",
"devDependencies": {
"@types/jsdom": "^20.0.0",
"@types/node": "^18.15.11",
"@types/puppeteer": "^5.4.4",
"cross-env": "^5.2.0",
"puppeteer": "^17.1.3",
"ts-node": "^7.0.1",
"tslib": "^1.9.3",
"typescript": "^4.7.3",
"vite": "^5.2.8",
"vite-plugin-dts": "^3.8.1",
"vitest": "^1.4.0"
}
}