-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
package.json
94 lines (94 loc) · 2.19 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
{
"name": "@xstate/react",
"version": "3.0.1",
"description": "XState tools for React",
"keywords": [
"state",
"machine",
"statechart",
"scxml",
"state",
"graph",
"react",
"hook"
],
"author": "David Khourshid <davidkpiano@gmail.com>",
"homepage": "https://github.com/statelyai/xstate/tree/main/packages/xstate-react#readme",
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"types": "lib/index.d.ts",
"typesVersions": {
"<4.0": {
"lib/index.d.ts": [
"index.v3.d.ts"
]
}
},
"sideEffects": false,
"directories": {
"lib": "lib",
"test": "test"
},
"files": [
"lib/**/*.js",
"lib/**/*.d.ts",
"dist/**/*.js",
"es/**/*.js",
"es/**/*.d.ts",
"fsm/package.json"
],
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/statelyai/xstate.git"
},
"scripts": {
"clean": "rm -rf dist lib tsconfig.tsbuildinfo",
"build": "tsc && tsc --outDir es --module es2015 && rollup -c",
"test": "jest",
"prepare": "npm run build"
},
"bugs": {
"url": "https://github.com/statelyai/xstate/issues"
},
"peerDependencies": {
"@xstate/fsm": "^2.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"xstate": "^4.33.4"
},
"peerDependenciesMeta": {
"@xstate/fsm": {
"optional": true
},
"xstate": {
"optional": true
}
},
"dependencies": {
"use-isomorphic-layout-effect": "^1.0.0",
"use-sync-external-store": "^1.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.1",
"@testing-library/react": "^13.0.0",
"@types/jsdom": "^12.2.3",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/use-sync-external-store": "^0.0.3",
"@xstate/fsm": "*",
"jest": "^26.6.3",
"jsdom": "^14.0.0",
"jsdom-global": "^3.0.2",
"lerna-alias": "3.0.3-0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rollup": "^2.69.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-terser": "^5.1.2",
"rollup-plugin-typescript2": "^0.30.0",
"ts-jest": "^26.5.6",
"typescript": "^4.8.2",
"xstate": "*"
}
}