UNPKG

ci-trap-web

Version:

Lightweight mouse and touch event tracker library for browsers.

99 lines (98 loc) 2.92 kB
{ "name": "ci-trap-web", "version": "1.0.21", "description": "Lightweight mouse and touch event tracker library for browsers.", "main": "dist/trap-umd.min.js", "module": "src/trap.js", "types": "dist/trap.d.ts", "scripts": { "build": "npm run build:prod", "build:prod": "cross-env NODE_ENV=production rollup -c", "build:dev": "cross-env NODE_ENV=development rollup -c", "docs": "jsdoc src/*.js -c jsdoc.json", "eslint": "eslint . .*.js --ext .js,.json", "eslint:fix": "eslint . .*.js --ext .js,.json --fix", "eslint:json": "eslint . .*.js --ext .js,.json -f json -o eslint-report.json", "test": "jest", "watch": "cross-env NODE_ENV=development rollup -c --watch", "version": "rexreplace '(PACKAGE_VERSION\\s+=\\s+.)[0-9.]+' '$1'$npm_package_version 'src/constants.js' && git add 'src/constants.js'" }, "repository": { "type": "git", "url": "git+https://github.com/cursorinsight/ci-trap-web.git" }, "keywords": [ "mouse", "event", "lightweight", "tracker" ], "author": { "name": "Cursor Insight", "email": "info@cursorinsight.com", "url": "https://github.com/cursorinsight" }, "contributors": [ { "name": "Bence Golda", "email": "bence@cursorinsight.com", "url": "https://github.com/gbence" }, { "name": "Denes Sápi", "email": "denes@cursorinsight.com", "url": "https://github.com/denessapi" } ], "files": [ "src", "dist", "LICENSE", "README.md", "SCHEMA.md" ], "license": "MIT", "browserslist": "last 2 versions, > 0.2%, not dead", "dependencies": { "fflate": "^0.8.0", "js-cookie": "^3.0.5", "platform": "^1.3.6", "rfdc": "^1.4.1", "uuid": "^9.0.0" }, "devDependencies": { "@babel/core": "^7.22.6", "@babel/plugin-transform-runtime": "^7.22.6", "@babel/preset-env": "^7.22.6", "@rollup/plugin-babel": "^6.0.3", "@rollup/plugin-commonjs": "^25.0.2", "@rollup/plugin-node-resolve": "^15.1.0", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.6", "@testing-library/dom": "^9.3.1", "@testing-library/jest-dom": "^5.16.5", "babel-jest": "^29.6.0", "cross-env": "^7.0.3", "docdash": "^2.0.2", "dotenv": "^16.3.1", "dotenv-expand": "^10.0.0", "eslint": "^8.44.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-plugin-jest": "^27.2.2", "eslint-plugin-json": "^3.1.0", "eslint-plugin-sonarjs": "^0.19.0", "jest": "^29.6.0", "jest-environment-jsdom": "^29.6.0", "jest-fetch-mock": "^3.0.3", "jest-sonar-reporter": "^2.0.0", "jest-websocket-mock": "^2.4.0", "jsdoc": "^4.0.3", "jsdom": "^22.1.0", "rexreplace": "^7.1.12", "rollup": "^3.26.0", "rollup-plugin-dotenv": "^0.5.0", "rollup-plugin-dts": "^6.1.0", "tslib": "^2.6.2", "typescript": "^5.4.3" } }