-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 1.88 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 1.88 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
{
"name": "web-user-behaviour",
"version": "2.0.0",
"description": "一个用于追踪和记录用户在网页上各种交互行为的 TypeScript 库",
"main": "dist/userBehaviour.js",
"types": "dist/userBehaviour.d.ts",
"module": "dist/userBehaviour.js",
"files": [
"dist/",
"userBehaviour.ts",
"README.md",
"LICENSE"
],
"scripts": {
"build": "esbuild userBehaviour.ts --bundle --outfile=dist/userBehaviour.js --format=iife --global-name=userBehaviour",
"build:watch": "tsc --watch",
"clean": "rimraf dist",
"prebuild": "npm run clean",
"dev": "tsc --watch",
"lint": "eslint userBehaviour.ts --ext .ts",
"lint:fix": "eslint userBehaviour.ts --ext .ts --fix",
"format": "prettier --write userBehaviour.ts",
"type-check": "tsc --noEmit",
"prepublishOnly": "npm run build"
},
"keywords": [
"user-behaviour",
"user-tracking",
"web-analytics",
"mouse-tracking",
"click-tracking",
"keyboard-tracking",
"scroll-tracking",
"user-interaction",
"web-metrics",
"typescript",
"javascript",
"browser"
],
"author": "Taha Al-Jody <taha@ta3.dev>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/TA3/web-user-behaviour.git"
},
"bugs": {
"url": "https://github.com/TA3/web-user-behaviour/issues"
},
"homepage": "https://github.com/TA3/web-user-behaviour#readme",
"devDependencies": {
"esbuild": "^0.20.2",
"@types/node": "^20.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"prettier": "^3.0.0",
"rimraf": "^5.0.0",
"typescript": "^5.0.0"
},
"engines": {
"node": ">=14.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead",
"not ie <= 11"
]
}