UNPKG

abee-adi-core

Version:

Behavioral tracking and device fingerprinting library

105 lines (104 loc) 3.38 kB
{ "name": "abee-adi-core", "version": "0.14.9", "description": "Behavioral tracking and device fingerprinting library", "main": "dist/abee-adi-core.umd.js", "types": "dist/abee-adi-core.d.ts", "module": "dist/abee-adi-core.esm.min.js", "homepage": "https://github.com/alkeicam/abee-adi-core", "bugs": { "url": "https://github.com/alkeicam/abee-adi-core/issues" }, "keywords": [ "behaviour", "device", "fingerprint", "abee", "fraud", "fraud detection", "fraud prevention", "anti money laundering", "aml" ], "exports": { ".": { "require": { "types": "./dist/abee-adi-core.d.ts", "default": "./dist/abee-adi-core.umd.min.js" }, "import": { "types": "./dist/abee-adi-core.d.ts", "default": "./dist/abee-adi-core.esm.min.js" } } }, "scripts": { "clean": "rimraf dist/*", "docs": "typedoc --entryPointStrategy expand ./src && touch docs/.nojekyll", "build": "date && npm run clean && npm run build:js -s && npm run build:minjs -s && npm run build:types -s", "build:js": "rollup -c rollup.config.js", "build:minjs": "npm run build:minjs:esm -s && npm run build:minjs:umd -s", "build:minjs:umd": "terser dist/abee-adi-core.umd.js --compress --mangle > dist/abee-adi-core.umd.min.js", "build:minjs:esm": "terser dist/abee-adi-core.esm.js --compress --mangle > dist/abee-adi-core.esm.min.js", "build:types": "tsc -t esnext --moduleResolution node -d --emitDeclarationOnly --outFile dist/abee-adi-core.d.ts src/abee-adi-core.ts", "test": "env TS_NODE_PROJECT=\"tsconfig-test.json\" mocha -r ts-node/register --require source-map-support/register --recursive **/test/**/*.test.ts", "coverage": "nyc --reporter html --reporter text npm test", "release-minor": "npm install && npm update && npm run build && npm run coverage && npm version minor && git push origin && git push origin --tags", "release-patch": "npm install && npm update && npm run build && npm run coverage && npm version patch && git push origin && git push origin --tags" }, "files": [ "dist" ], "author": "Execon", "license": "ISC", "dependencies": { "@fingerprintjs/fingerprintjs": "3.4.2" }, "devDependencies": { "@rollup/plugin-typescript": "^6.1.0", "@rollup/plugin-node-resolve": "15.2.3", "@types/chai": "4.2.14", "@types/chai-as-promised": "7.1.3", "@types/mocha": "8.0.3", "@types/node": "20.5.0", "@types/sinon": "9.0.8", "@typescript-eslint/eslint-plugin": "4.6.1", "@typescript-eslint/parser": "4.6.1", "chai": "^3.5.0", "chai-as-promised": "^6.0.0", "eslint": "7.12.1", "mocha": "^8.4.0", "nyc": "14.1.x", "prettier": "^2.8.8", "pretty-quick": "^3.1.3", "rollup": "^2.79.1", "sinon": "^9.2.4", "terser": "^5.19.2", "ts-node": "10.8.2", "tslib": "^2.6.2", "typedoc": "^0.25.1", "typescript": "^5.1.6", "source-map-support": "^0.5.21", "rimraf": "^5.0.5", "shell-exec": "1.1.2" }, "nyc": { "check-coverage": true, "branches": 100, "lines": 100, "functions": 100, "statements": 100, "extension": [ ".ts", ".tsx" ], "exclude": [ "**/*.d.ts", "**/*.js", "**/*.notest.ts", "**/*.mock.ts", "**/*.test.ts" ], "all": true } }