-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.94 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.94 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
{
"name": "react-transition-state",
"version": "2.3.3",
"description": "Zero dependency React transition state machine.",
"author": "Zheng Song",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/szhsin/react-transition-state.git"
},
"homepage": "https://szhsin.github.io/react-transition-state/",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./types/index.d.ts",
"sideEffects": false,
"files": [
"dist/",
"types/"
],
"keywords": [
"react",
"transition",
"animation",
"component",
"hook",
"state machine"
],
"scripts": {
"clean": "rm -Rf dist/ types/",
"start": "rolldown -w -c",
"bundle": "rolldown -c",
"test": "vitest run",
"tc": "tsc",
"lint": "eslint .",
"pret": "prettier -c .",
"pret:fix": "prettier -w .",
"prepare": "rm -Rf types/__tests__",
"build": "run-s pret clean tc lint bundle"
},
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./dist/cjs/index.cjs",
"default": "./dist/esm/index.mjs"
},
"./package.json": "./package.json"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@testing-library/react": "^16.3.2",
"@types/node": "^25.5.0",
"@types/react": "^19.2.14",
"@vitest/coverage-istanbul": "^4.1.2",
"@vitest/eslint-plugin": "^1.6.13",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-hooks-addons": "^0.5.1",
"globals": "^17.4.0",
"jsdom": "^29.0.1",
"npm-run-all2": "^8.0.4",
"prettier": "^3.8.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"rolldown": "^1.0.0-rc.12",
"rollup-plugin-add-directive": "^1.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.2",
"vitest": "^4.1.2"
}
}