63 lines
1.7 KiB
JSON
63 lines
1.7 KiB
JSON
{
|
|
"name": "rrweb-snapshot",
|
|
"version": "2.0.0-alpha.10",
|
|
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
|
|
"scripts": {
|
|
"prepare": "npm run prepack",
|
|
"prepack": "npm run bundle && npm run typings",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch",
|
|
"test:update": "jest --updateSnapshot",
|
|
"bundle": "rollup --config",
|
|
"bundle:es-only": "cross-env ES_ONLY=true rollup --config",
|
|
"dev": "yarn bundle:es-only --watch",
|
|
"typings": "tsc -d --declarationDir typings",
|
|
"prepublish": "yarn typings && yarn bundle",
|
|
"lint": "yarn eslint src"
|
|
},
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/rrweb-io/rrweb.git"
|
|
},
|
|
"keywords": [
|
|
"rrweb",
|
|
"snapshot",
|
|
"DOM"
|
|
],
|
|
"main": "lib/rrweb-snapshot.cjs",
|
|
"module": "es/rrweb-snapshot.js",
|
|
"unpkg": "dist/rrweb-snapshot.js",
|
|
"typings": "typings/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"lib",
|
|
"es",
|
|
"typings"
|
|
],
|
|
"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/chai": "^4.1.4",
|
|
"@types/jest": "^27.0.2",
|
|
"@types/jsdom": "^20.0.0",
|
|
"@types/node": "^18.15.11",
|
|
"@types/puppeteer": "^1.12.4",
|
|
"cross-env": "^5.2.0",
|
|
"jest": "^27.2.4",
|
|
"jest-snapshot": "^23.6.0",
|
|
"jsdom": "^16.4.0",
|
|
"puppeteer": "^17.1.3",
|
|
"rollup": "^2.45.2",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
"ts-jest": "^27.0.5",
|
|
"ts-node": "^7.0.1",
|
|
"tslib": "^1.9.3"
|
|
}
|
|
}
|