-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
83 lines (83 loc) · 2.14 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
{
"name": "purrtabby",
"version": "0.1.3",
"description": "Lightweight browser tab communication and leader election library using BroadcastChannel and localStorage",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"unpkg": "dist/index.global.js",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup src/index.ts --format cjs,esm,iife --dts --minify --globalName purrtabby",
"dev": "tsup src/index.ts --format cjs,esm --dts --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"lint": "eslint . && tsc --noEmit",
"lint:fix": "eslint . --fix",
"format": "prettier --write \"**/*.{ts,js,json,md}\"",
"format:check": "prettier --check \"**/*.{ts,js,json,md}\"",
"prepublishOnly": "npm run build && npm test",
"version": "npm run build",
"prepare": "husky"
},
"keywords": [
"broadcastchannel",
"tab",
"communication",
"leader-election",
"localstorage",
"inter-tab",
"cross-tab",
"pub-sub",
"typescript",
"async-iterable",
"generator"
],
"author": "minseon",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/node": "^20.0.0",
"@vitest/coverage-v8": "^2.0.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-prettier": "^5.0.0",
"globals": "^15.0.0",
"husky": "^9.1.7",
"jsdom": "^24.0.0",
"lint-staged": "^16.2.7",
"prettier": "^3.8.0",
"tsup": "^8.0.0",
"typescript": "^5.0.0",
"typescript-eslint": "^8.0.0",
"vitest": "^2.0.0"
},
"engines": {
"node": ">=18.0.0"
},
"volta": {
"node": "24.13.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/let-sunny/purrtabby.git"
},
"bugs": {
"url": "https://github.com/let-sunny/purrtabby/issues"
},
"homepage": "https://github.com/let-sunny/purrtabby#readme"
}