Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
114 lines (114 loc) · 2.96 KB
/
Copy pathpackage.json
File metadata and controls
114 lines (114 loc) · 2.96 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@rajesh896/broprint.js",
"version": "3.0.0",
"description": "The world's easiest, smallest and powerful visitor identifier for browsers.",
"main": "./lib/index.js",
"module": "./lib/index.mjs",
"types": "./lib/index.d.ts",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js",
"default": "./lib/index.mjs",
"types": "./lib/index.d.ts"
},
"./global": "./lib/index.global.js"
},
"sideEffects": false,
"engines": {
"node": ">=18"
},
"private": false,
"scripts": {
"build:types": "tsc --emitDeclarationOnly --declaration --outDir lib --declarationMap false",
"build:bundle": "tsup src/index.ts --format esm,cjs,iife --global-name Broprint --out-dir lib --minify --clean --silent",
"build": "npm run build:bundle && npm run build:types",
"build:npm": "npm run build:bundle && npm run build:types",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"src/**/*.{ts,tsx,js,json,md}\" \"*.{ts,tsx,json}\"",
"format:check": "prettier --check \"src/**/*.{ts,tsx,js,json,md}\" \"*.{ts,tsx,json}\"",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"size": "size-limit",
"size:why": "size-limit --why",
"docs": "typedoc",
"prepare": "husky",
"prepublishOnly": "npm run build"
},
"size-limit": [
{
"path": "lib/index.mjs",
"limit": "2 KB"
},
{
"path": "lib/index.js",
"limit": "2 KB"
},
{
"path": "lib/index.global.js",
"limit": "2 KB"
}
],
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{js,json,md,yml,yaml}": [
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/Rajesh-Royal/Broprint.js.git"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"browser-fingerprint",
"browserfingerprint",
"fingerprinting",
"jsfingerprint",
"uniquebrowserid",
"device-id",
"zero-dependency",
"fraud-detection",
"canvas-fingerprinting",
"audio-fingerprinting",
"visitor-identifier",
"identification",
"reactjs",
"javascript",
"typescript"
],
"author": "Rajesh-Royal",
"license": "MIT",
"bugs": {
"url": "https://github.com/Rajesh-Royal/Broprint.js/issues"
},
"homepage": "https://github.com/Rajesh-Royal/Broprint.js#readme",
"files": [
"lib",
"LICENSE",
"README.MD"
],
"devDependencies": {
"@size-limit/preset-small-lib": "^12.1.0",
"@vitest/coverage-v8": "^2.1.9",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"lint-staged": "^16.4.0",
"prettier": "^3.8.3",
"size-limit": "^12.1.0",
"tsup": "^8.5.0",
"typedoc": "^0.28.19",
"typescript": "^5.4.0",
"typescript-eslint": "^8.59.0",
"vitest": "^2.1.9"
}
}