openreplay/tracker/tracker/package.json
2025-06-06 15:26:49 +02:00

88 lines
2.6 KiB
JSON

{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "17.1.0-beta.11",
"keywords": [
"logging",
"replay"
],
"author": "Alex Tsokurov",
"contributors": [
"Aleksandr K <alex@openreplay.com>",
"Nikita D <nikita@openreplay.com>"
],
"license": "MIT",
"type": "module",
"exports": {
".": {
"require": "./dist/cjs/entry.js",
"import": "./dist/lib/entry.js",
"types": "./dist/lib/main/entry.d.ts"
},
"./class": {
"require": "./dist/cjs/index.js",
"import": "./dist/lib/index.js",
"types": "./dist/lib/main/index.d.ts"
},
"./cjs": {
"require": "./dist/cjs/entry.js",
"types": "./dist/cjs/main/entry.d.ts"
}
},
"files": [
"dist/lib/**/*",
"dist/cjs/**/*",
"dist/types/**/*"
],
"main": "./dist/cjs/entry.js",
"module": "./dist/lib/entry.js",
"types": "./dist/lib/main/entry.d.ts",
"scripts": {
"lint": "eslint src --ext .ts,.js --fix --quiet",
"clean": "rm -Rf build && rm -Rf dist",
"build:common": "tsc -b src/common",
"compile": "tsc --project src/main/tsconfig.json",
"create-types": "mkdir dist/lib/ dist/cjs && cp -r dist/types/* dist/lib/ && cp -r dist/types/* dist/cjs/",
"build": "bun run clean && bun compile && bun create-types && rollup --config rollup.config.js",
"test": "jest --coverage=false",
"test:ci": "jest --coverage=true",
"postversion": "bun run build",
"prepublishOnly": "bun run test && bun run build"
},
"devDependencies": {
"@babel/core": "^7.26.10",
"@jest/globals": "^29.7.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@typescript-eslint/eslint-plugin": "^8.30.1",
"@typescript-eslint/parser": "^8.30.1",
"eslint": "^9.24.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"prettier": "^3.3.3",
"replace-in-files": "^2.0.3",
"rollup": "^4.27.2",
"semver": "^6.3.0",
"ts-jest": "^29.2.5",
"tslib": "^2.8.1",
"typescript": "^5.6.3"
},
"dependencies": {
"@medv/finder": "^4.0.2",
"@openreplay/network-proxy": "^1.1.3",
"error-stack-parser": "^2.1.4",
"error-stack-parser-es": "^0.1.5",
"fflate": "^0.8.2",
"web-vitals": "^4.2.4"
},
"engines": {
"node": ">=14.0"
},
"packageManager": "bun@1.2.7"
}