-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.71 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.71 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
{
"name": "@x1ee7/react-drift-timer",
"version": "0.1.0",
"description": "Drift-resistant React countdown timer hook. Uses absolute-time math instead of setInterval accumulation so a 30-minute timer ends at minute 30, not minute 30 plus a few hundred milliseconds. Powers humberrealestate.com in production.",
"keywords": [
"react",
"react-hook",
"timer",
"countdown",
"countdown-timer",
"countdown-hook",
"drift",
"setinterval",
"setinterval-drift",
"useTimer",
"exam-timer",
"pomodoro"
],
"license": "MIT",
"author": "humberrealestate.com",
"homepage": "https://github.com/x1ee7/react-drift-timer#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/x1ee7/react-drift-timer.git"
},
"bugs": {
"url": "https://github.com/x1ee7/react-drift-timer/issues"
},
"funding": "https://github.com/sponsors/x1ee7",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"sideEffects": false,
"scripts": {
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "npm run test && npm run build"
},
"peerDependencies": {
"react": ">=17.0.0"
},
"devDependencies": {
"@testing-library/react": "^16.1.0",
"@types/react": "^19.0.0",
"jsdom": "^25.0.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"engines": {
"node": ">=18"
}
}