-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 1.96 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": "use-boop-simple",
"version": "0.1.0",
"description": "React hook for Josh W. Comeau's \"Boop\" effect.",
"keywords": [
"nodejs",
"react",
"hook",
"boop",
"use-boop",
"useBoop",
"spring",
"use-spring",
"useSpring",
"animation",
"transform"
],
"license": "MIT",
"repository": "tommy-mitchell/use-boop-simple",
"homepage": "https://tommy-mitchell.github.io/use-boop-simple",
"author": {
"name": "Tommy Mitchell",
"url": "https://tommymitchell.io"
},
"type": "module",
"exports": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"files": [
"dist"
],
"engines": {
"node": "^18.19 || ^20.8 || >=21"
},
"scripts": {
"prepare": "pnpm build",
"build": "tsc -p tsconfig.build.json && tsup && node -e 'fs.rmSync(`dist/types.js`)'",
"build:demo": "cd demo && pnpm build",
"lint": "xo",
"format": "dprint fmt && xo --fix",
"test": "c8 ava && pnpm test:types",
"test:types": "pnpm build && tsd -t dist/index.d.ts"
},
"ava": {
"environmentVariables": {
"TSIMP_DIAG": "ignore"
},
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--import=tsimp"
],
"require": [
"test/_require.ts"
],
"serial": true
},
"dependencies": {
"wobble": "^1.5.1"
},
"peerDependencies": {
"react": ">=18"
},
"devDependencies": {
"@sinonjs/fake-timers": "^11.2.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.0",
"@tommy-mitchell/dprint-config": "^0.4.0",
"@tommy-mitchell/eslint-config-xo": "^0.6.0",
"@tommy-mitchell/tsconfig": "^2.1.0",
"@types/node": "18.18",
"@types/react": "18",
"@types/react-dom": "18",
"@types/sinonjs__fake-timers": "^8.1.5",
"ava": "^6.1.3",
"c8": "^10.1.2",
"esmock": "^2.6.7",
"global-jsdom": "^24.0.0",
"jsdom": "^24.1.1",
"test-quadruple": "^0.3.0",
"tsd": "^0.31.1",
"tsimp": "^2.0.11",
"tsup": "^8.2.4",
"type-fest": "^4.24.0",
"typescript": "~5.5.4",
"xo": "^0.59.3"
},
"packageManager": "pnpm@9.7.1"
}