-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.55 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.55 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
{
"name": "use-undo",
"version": "1.2.0",
"description": "undo/redo functionality with React Hooks",
"license": "MIT",
"author": "homerchen19",
"homepage": "https://github.com/homerchen19/use-undo#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/homerchen19/use-undo.git"
},
"bugs": {
"url": "https://github.com/homerchen19/use-undo/issues"
},
"main": "lib/use-undo.cjs",
"module": "lib/use-undo.mjs",
"types": "lib/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/index.d.ts",
"default": "./lib/use-undo.mjs"
},
"require": {
"types": "./lib/index.d.ts",
"default": "./lib/use-undo.cjs"
}
}
},
"scripts": {
"build": "vite build",
"prepublishOnly": "pnpm build",
"preversion": "pnpm test:cov",
"test": "vitest run",
"test:cov": "vitest run --coverage",
"test:watch": "vitest",
"pretty-quick": "pretty-quick",
"prepare": "husky"
},
"files": [
"lib"
],
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^18.3.28",
"@types/react-dom": "^18.3.7",
"@vitest/coverage-v8": "^4.1.1",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"prettier": "^3.8.1",
"pretty-quick": "^4.2.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^6.0.2",
"vite": "^8.0.2",
"vite-plugin-dts": "^4.5.4",
"vitest": "^4.1.1"
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
}
}