74 lines
2.1 KiB
JSON
74 lines
2.1 KiB
JSON
{
|
|
"name": "@openreplay/tracker",
|
|
"description": "The OpenReplay tracker main package",
|
|
"version": "11.0.1-20",
|
|
"keywords": [
|
|
"logging",
|
|
"replay"
|
|
],
|
|
"author": "Alex Tsokurov",
|
|
"contributors": [
|
|
"Aleksandr K <alex@openreplay.com>",
|
|
"Nikita D <nikita@openreplay.com>"
|
|
],
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./lib/index.js",
|
|
"scripts": {
|
|
"lint": "eslint src --ext .ts,.js --fix --quiet",
|
|
"clean": "rm -Rf build && rm -Rf lib && rm -Rf cjs",
|
|
"tscRun": "tsc -b src/main && tsc -b src/webworker && tsc --project src/main/tsconfig-cjs.json",
|
|
"rollup": "rollup --config rollup.config.js",
|
|
"compile": "node --experimental-modules --experimental-json-modules scripts/compile.cjs",
|
|
"build": "bun run clean && bun run tscRun && bun run rollup && bun run compile",
|
|
"prepare": "cd ../../ && husky install tracker/.husky/",
|
|
"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.10.2",
|
|
"@jest/globals": "^29.3.1",
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.30.0",
|
|
"@typescript-eslint/parser": "^5.30.0",
|
|
"eslint": "^7.8.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-prettier": "^5.0.1",
|
|
"husky": "^8.0.1",
|
|
"jest": "^29.3.1",
|
|
"jest-environment-jsdom": "^29.3.1",
|
|
"lint-staged": "^13.0.3",
|
|
"prettier": "^3.0.3",
|
|
"replace-in-files": "^2.0.3",
|
|
"rollup": "^4.1.4",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"semver": "^6.3.0",
|
|
"ts-jest": "^29.0.3",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"dependencies": {
|
|
"@medv/finder": "^3.1.0",
|
|
"error-stack-parser": "^2.0.6",
|
|
"fflate": "^0.8.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "sh lint.sh"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,mjs,jsx,ts,tsx}": [
|
|
"eslint --fix --quiet"
|
|
],
|
|
"*.{json,md,html,js,jsx,ts,tsx}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|