-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
91 lines (91 loc) · 2.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
89
90
91
{
"name": "@vercel/analytics",
"version": "1.1.2",
"description": "Gain real-time traffic insights with Vercel Web Analytics",
"keywords": [
"analytics",
"vercel"
],
"repository": {
"url": "github:vercel/analytics",
"directory": "packages/web"
},
"license": "MPL-2.0",
"type": "module",
"exports": {
"./package.json": "./package.json",
".": {
"browser": "./dist/index.js",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./react": {
"browser": "./dist/react/index.js",
"import": "./dist/react/index.js",
"require": "./dist/react/index.cjs",
"types": "./dist/react/index.d.ts"
},
"./server": {
"node": "./dist/server/index.js",
"edge-light": "./dist/server/index.js",
"import": "./dist/server/index.js",
"require": "./dist/server/index.cjs",
"default": "./dist/server/index.cjs",
"types": "./dist/server/index.d.ts"
}
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/index.d.ts"
],
"react": [
"dist/react/index.d.ts"
],
"server": [
"dist/server/index.d.ts"
]
}
},
"scripts": {
"build": "tsup",
"dev": "tsup --watch",
"lint": "eslint .",
"lint-fix": "eslint . --fix",
"test": "jest",
"type-check": "tsc --noEmit"
},
"eslintConfig": {
"extends": [
"@vercel/eslint-config"
],
"rules": {
"tsdoc/syntax": "off"
},
"ignorePatterns": [
"jest.setup.ts"
]
},
"dependencies": {
"server-only": "^0.0.1"
},
"devDependencies": {
"@swc/core": "^1.3.66",
"@swc/jest": "^0.2.26",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/jest": "^29.5.2",
"@types/node": "^20.3.1",
"@types/react": "^18.2.14",
"@types/testing-library__jest-dom": "^5.14.6",
"@vercel/eslint-config": "workspace:0.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"tsup": "7.1.0"
}
}