UNPKG

@fingerprintjs/botd

Version:

botd is a browser library for JavaScript bot detection

89 lines (88 loc) 3.22 kB
{ "name": "@fingerprintjs/botd", "version": "1.9.1", "description": "botd is a browser library for JavaScript bot detection", "keywords": [ "bot", "bot detection", "virtual machine", "virtual machine detection", "browser", "search bot", "automation tools", "browser spoofing", "device detection", "privacy" ], "main": "dist/botd.cjs.js", "module": "dist/botd.esm.js", "types": "dist/botd.d.ts", "license": "MIT", "author": "FingerprintJS, Inc (https://fingerprint.com)", "repository": { "type": "git", "url": "https://github.com/fingerprintjs/botd.git" }, "bugs": { "url": "https://github.com/fingerprintjs/botd/issues" }, "homepage": "https://fingerprintjs.github.io/BotD/", "files": [ "dist" ], "browserslist": [ "cover 96% in us, not IE < 11" ], "scripts": { "build": "rimraf dist && rollup -c rollup.config.ts --configPlugin '@rollup/plugin-typescript={tsconfig:`tsconfig.rollupConfig.json`}'", "build:test": "rimraf test-dist && rollup -c rollup.config.test.ts --configPlugin '@rollup/plugin-typescript={tsconfig:`tsconfig.rollupConfig.json`}'", "dev:playground": "cross-env DEV=1 webpack serve --config ./playground/webpack.config.ts", "build:playground": "rimraf ./playground/dist && webpack --config ./playground/webpack.config.ts", "lint": "eslint src playground", "lint:fix": "yarn lint --fix && prettier --write src playground", "test:local": "karma start --preset local --single-run", "test:browserstack": "karma start --preset browserstack --single-run", "test:browserstack:beta": "karma start --preset browserstack-beta --single-run", "check:dts": "tsc --isolatedModules --noEmit dist/botd.d.ts", "check:ssr": "node --require ./dist/botd.cjs.js --eval '' || (echo \"The distributive files can't be used with server side rendering. Make sure the code doesn't use browser API until an exported function is called.\" && exit 1)" }, "devDependencies": { "@fpjs-incubator/broyster": "^0.1.8", "@rollup/plugin-json": "^5.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-typescript": "^10.0.1", "@types/jasmine": "^3.5.14", "@types/ua-parser-js": "^0.7.36", "@types/webpack": "^5.28.0", "@typescript-eslint/eslint-plugin": "^5.40.1", "@typescript-eslint/parser": "^5.40.1", "copy-webpack-plugin": "^11.0.0", "cross-env": "^7.0.3", "css-loader": "^6.7.1", "eslint": "^7.24.0", "eslint-config-prettier": "^8.2.0", "eslint-plugin-prettier": "^3.3.1", "html-webpack-plugin": "^5.5.0", "karma": "^6.4.1", "license-webpack-plugin": "^4.0.2", "prettier": "^2.2.1", "promise-polyfill": "^8.2.0", "rimraf": "^3.0.2", "rollup": "^3.3.0", "rollup-plugin-dts": "^5.1.0", "rollup-plugin-license": "^3.0.1", "style-loader": "^3.3.1", "terser-webpack-plugin": "^5.3.6", "ts-loader": "^9.4.1", "ts-node": "^10.9.1", "typescript": "^4.9.3", "ua-parser-js": "^1.0.35", "webpack": "^5.74.0", "webpack-cli": "^4.10.0", "webpack-dev-server": "^4.11.0", "webpack-merge": "^5.8.0" }, "dependencies": { "tslib": "^2.4.0" } }