forked from fingerprintjs/BotD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 3.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"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.2.1",
"@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"
}
}