-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
62 lines (62 loc) · 1.7 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
{
"name": "fathom-client",
"version": "3.7.2",
"description": "A simple wrapper around the Fathom Analytics library",
"keywords": [
"analytics"
],
"homepage": "https://github.com/derrickreimer/fathom-client",
"bugs": {
"url": "https://github.com/derrickreimer/fathom-client/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/derrickreimer/fathom-client.git"
},
"license": "MIT",
"author": "Derrick Reimer",
"files": [
"dist",
"types"
],
"type": "module",
"module": "dist/fathom-client.esm.js",
"main": "dist/fathom-client.cjs",
"exports": {
"types": {
"import": "./types/index.d.ts",
"require": "./types/index.d.cts"
},
"import": "./dist/fathom-client.esm.js",
"require": "./dist/fathom-client.cjs"
},
"types": "types/index.d.ts",
"scripts": {
"build": "npm run build:types && npm run build:cjs && npm run build:esm",
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=dist/fathom-client.cjs",
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/fathom-client.esm.js",
"build:types": "tsc --emitDeclarationOnly && cp ./types/index.d.ts ./types/index.d.cts",
"lint": "npx tsc --noEmit && npx prettier src -c",
"prepare": "npm run build",
"test": "npm run build && jest",
"release": "np"
},
"jest": {
"resetMocks": false,
"setupFiles": [
"jest-localstorage-mock"
]
},
"devDependencies": {
"esbuild": "^0.21.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-localstorage-mock": "^2.4.21",
"np": "^10.0.5",
"prettier": "^3.3.2",
"typescript": "^5.4.5"
},
"np": {
"yarn": false
}
}