-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.97 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
{
"version": "2.0.0",
"license": "MIT",
"files": [
"dist",
"react",
"events"
],
"engines": {
"node": ">=10"
},
"repository": "https://github.com:VanTanev/xstate-helpers.git",
"scripts": {
"build": "preconstruct build",
"dev": "preconstruct dev",
"tsc": "tsc",
"test": "npm-run-all -l -p lint tsc test:jest",
"test:jest": "jest test --maxWorkers=50%",
"lint": "eslint src test",
"lint-staged": "lint-staged",
"size": "size-limit",
"analyze": "size-limit --why",
"prepare": "preconstruct dev && preconstruct build"
},
"peerDependencies": {
"@xstate/inspect": ">=0.4.0",
"@xstate/react": ">=3.0.0",
"react": ">=16.8",
"react-dom": ">=16.8",
"xstate": ">=4.30.0"
},
"name": "xstate-helpers",
"author": "Ivan Tanev",
"main": "dist/xstate-helpers.cjs.js",
"module": "dist/xstate-helpers.esm.js",
"size-limit": [
{
"path": "dist/xstate-helpers.cjs.js",
"limit": "10 KB"
},
{
"path": "dist/xstate-helpers.esm.js",
"limit": "10 KB"
}
],
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/test/jest-setup.js"
],
"testEnvironment": "jsdom"
},
"preconstruct": {
"entrypoints": [
"index.tsx",
"events.ts",
"react/index.tsx",
"react/XStateInspectLoader.tsx",
"react/useIsXStateTransitionAvailable.ts",
"react/useStateCan.ts",
"react/createReactContextHelpers.tsx"
]
},
"devDependencies": {
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@preconstruct/cli": "^2.1.0",
"@size-limit/preset-small-lib": "^5.0.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^6.0.0",
"@testing-library/user-event": "^14.2.0",
"@types/jest": "^26.0.24",
"@types/react": "^17",
"@types/react-dom": "^17",
"@typescript-eslint/eslint-plugin": "^4.22",
"@typescript-eslint/parser": "^4.22.0",
"@xstate/cli": "^0.1.7",
"@xstate/inspect": ">=0.5.1",
"@xstate/react": "^3.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.8.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^6.0.0",
"jest": "^27.5.1",
"jsdom": "^19.0.0",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"react": "^17",
"react-dom": "^17",
"size-limit": "^5.0.1",
"tslib": "^2.2.0",
"typescript": "^4.6.0",
"xstate": "^4.32.1"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.22",
"**/@typescript-eslint/parser": "^4.22.0",
"**/jest": "^26.6.3",
"**/ts-jest": "^26.4.4",
"**/typescript": "^4.6.0"
}
}