openreplay/tracker/tracker/package.json

84 lines
2.5 KiB
JSON

{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "15.0.1",
"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/index.js",
"import": "./dist/lib/index.js",
"types": "./dist/lib/main/index.d.ts"
},
"./cjs": {
"require": "./dist/cjs/index.js",
"types": "./dist/cjs/main/index.d.ts"
}
},
"files": [
"dist/lib/**/*",
"dist/cjs/**/*",
"dist/types/**/*"
],
"main": "./dist/cjs/index.js",
"module": "./dist/lib/index.js",
"types": "./dist/lib/main/index.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": "yarn run clean && yarn compile && yarn create-types && rollup --config rollup.config.js",
"lint-front": "lint-staged",
"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.0",
"@jest/globals": "^29.7.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"eslint": "^9.15.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": "^3.2.0",
"@openreplay/network-proxy": "^1.0.5",
"error-stack-parser": "^2.0.6",
"error-stack-parser-es": "^0.1.5",
"fflate": "^0.8.2",
"web-vitals": "^4.2.3"
},
"engines": {
"node": ">=14.0"
},
"packageManager": "yarn@4.5.1"
}