clarity-js
Version:
An analytics library that uses web page interactions to generate aggregated insights
77 lines • 2.38 kB
JSON
{
"name": "clarity-js",
"version": "0.8.12",
"description": "An analytics library that uses web page interactions to generate aggregated insights",
"author": "Microsoft Corp.",
"license": "MIT",
"main": "build/clarity.js",
"module": "build/clarity.module.js",
"unpkg": "build/clarity.min.js",
"extended": "build/clarity.extended.js",
"insight": "build/clarity.insight.js",
"performance": "build/clarity.performance.js",
"types": "types/index.d.ts",
"keywords": [
"clarity",
"Microsoft",
"interactions",
"cursor",
"pointer",
"instrumentation",
"analytics"
],
"repository": {
"type": "git",
"url": "https://github.com/microsoft/clarity.git",
"directory": "packages/clarity-js"
},
"bugs": {
"url": "https://github.com/microsoft/clarity/issues"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.2",
"@types/chai": "^4.2.21",
"@types/mocha": "^10.0.0",
"@types/resize-observer-browser": "^0.1.6",
"chai": "^4.2.0",
"del-cli": "^5.0.0",
"husky": "^8.0.0",
"lint-staged": "^15.2.9",
"mocha": "^10.2.0",
"playwright": "^1.6.2",
"rollup": "^3.0.0",
"ts-mocha": "^10.0.0",
"tslib": "^2.3.0",
"typescript": "^4.3.5"
},
"scripts": {
"build": "yarn build:clean && yarn build:main",
"build:main": "rollup -c rollup.config.ts --configPlugin @rollup/plugin-typescript",
"build:clean": "del-cli build/*",
"test": "ts-mocha -p test/tsconfig.test.json test/stub.test.ts",
"lint": "biome check --staged",
"lint:fix": "biome check --write --staged",
"lint:fix:unsafe": "biome check --write --unsafe --staged",
"lint:all": "biome check",
"lint:all:fix": "biome check --write",
"lint:changed": "biome check --changed",
"lint:changed:fix": "biome check --changed --write",
"lint:changed:fix:unsafe": "biome check --changed --write --unsafe",
"precommit": "lint-staged"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"tslint --format codeFrame"
]
}
}