-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 3.08 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "transition-hooks",
"type": "module",
"version": "0.3.2",
"packageManager": "pnpm@9.5.0",
"description": "Extremely light-weight react transition hooks which is simpler and easier to use than react-transition-group",
"author": "Riri <Daydreamerriri@outlook.com>",
"license": "MIT",
"homepage": "https://github.com/Daydreamer-riri/transition-hooks#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/Daydreamer-riri/transition-hooks.git"
},
"bugs": "https://github.com/Daydreamer-riri/transition-hooks/issues",
"keywords": [
"react",
"transition",
"hooks",
"css",
"animation",
"transition-hook",
"use-transition",
"react-transition-group"
],
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./useTransition": {
"import": "./dist/hooks/useTransition.mjs",
"require": "./dist/hooks/useTransition.cjs"
},
"./useSwitchTransition": {
"import": "./dist/hooks/useSwitchTransition.mjs",
"require": "./dist/hooks/useSwitchTransition.cjs"
},
"./useListTransition": {
"import": "./dist/hooks/useListTransition.mjs",
"require": "./dist/hooks/useListTransition.cjs"
},
"./viewTransition": {
"import": "./dist/viewTransition.mjs",
"require": "./dist/viewTransition.cjs"
},
"./Transition": {
"import": "./dist/components/Transition.mjs",
"require": "./dist/components/Transition.cjs"
},
"./SwitchTransition": {
"import": "./dist/components/SwitchTransition.mjs",
"require": "./dist/components/SwitchTransition.cjs"
},
"./ListTransition": {
"import": "./dist/components/ListTransition.mjs",
"require": "./dist/components/ListTransition.cjs"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/hooks/*",
"./dist/components/*",
"./*"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "unbuild --stub",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"typecheck": "tsc --noEmit",
"docs:dev": "vocs dev",
"docs:build": "npm run build && vocs build",
"docs:preview": "vocs preview"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@ririd/eslint-config": "^1.3.3",
"@types/node": "^18.15.11",
"@types/react": "^18.2.73",
"@types/react-dom": "^18.2.24",
"bumpp": "^9.4.0",
"eslint": "^8.57.0",
"esno": "^4.7.0",
"lint-staged": "15.2.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "5.0.5",
"simple-git-hooks": "^2.11.1",
"transition-hooks": "workspace:*",
"typescript": "^5.5.3",
"unbuild": "^2.0.0",
"vite": "^5.2.7",
"vocs": "1.0.0-alpha.55"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}