UNPKG

@rrweb/packer

Version:

`@rrweb/packer` is a tool to compress rrweb events into a smaller size.

87 lines (86 loc) 1.93 kB
{ "name": "@rrweb/packer", "version": "2.0.0-alpha.18", "publishConfig": { "access": "public" }, "keywords": [ "rrweb", "@rrweb/packer" ], "scripts": { "dev": "vite build --watch", "build": "yarn turbo run prepublish", "test": "vitest run", "test:watch": "vitest watch", "check-types": "tsc -noEmit", "prepublish": "tsc -noEmit && vite build", "lint": "yarn eslint src/**/*.ts" }, "homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/@rrweb/packer#readme", "bugs": { "url": "https://github.com/rrweb-io/rrweb/issues" }, "repository": { "type": "git", "url": "git+https://github.com/rrweb-io/rrweb.git" }, "license": "MIT", "type": "module", "main": "./dist/packer.cjs", "module": "./dist/packer.js", "unpkg": "./dist/packer.js", "typings": "dist/packer.d.ts", "exports": { ".": { "import": { "types": "./dist/packer.d.ts", "default": "./dist/packer.js" }, "require": { "types": "./dist/packer.d.cts", "default": "./dist/packer.cjs" } }, "./pack": { "import": { "types": "./dist/pack.d.ts", "default": "./dist/pack.js" }, "require": { "types": "./dist/pack.d.cts", "default": "./dist/pack.cjs" } }, "./unpack": { "import": { "types": "./dist/unpack.d.ts", "default": "./dist/unpack.js" }, "require": { "types": "./dist/unpack.d.cts", "default": "./dist/unpack.cjs" } } }, "files": [ "pack", "unpack", "build", "dist", "package.json" ], "devDependencies": { "vite": "^5.3.1", "vite-plugin-dts": "^3.9.1", "vitest": "^1.4.0", "typescript": "^5.4.5" }, "dependencies": { "fflate": "^0.4.4", "@rrweb/types": "^2.0.0-alpha.18" }, "browserslist": [ "supports es6-class" ] }