-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.76 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
{
"name": "lite-fsm",
"version": "0.0.6",
"type": "module",
"description": "lightweight finite state machine library",
"author": "Alexander Gureev <g.alex00@bk.ru> (https://github.com/AlexanderGureev)",
"license": "MIT",
"main": "./dist/core.cjs",
"module": "./dist/core.js",
"types": "./dist/core.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/core.js",
"require": "./dist/core.cjs",
"default": "./dist/core.js",
"types": "./dist/core.d.ts"
},
"./react": {
"import": "./dist/react.js",
"require": "./dist/react.cjs",
"default": "./dist/react.js",
"types": "./dist/react.d.ts"
},
"./middleware": {
"import": "./dist/middleware.js",
"require": "./dist/middleware.cjs",
"default": "./dist/middleware.js",
"types": "./dist/middleware.d.ts"
}
},
"typesVersions": {
"*": {
"*": [
"dist/core.d.ts"
],
"react": [
"dist/react.d.ts"
],
"middleware": [
"dist/middleware.d.ts"
]
}
},
"files": [
"dist"
],
"keywords": [
"react",
"redux",
"fsm",
"finite-state machine"
],
"repository": {
"type": "git",
"url": "https://github.com/AlexanderGureev/lite-fsm"
},
"scripts": {
"build": "tsc && vite build",
"lint": "eslint . --ext .ts,.tsx",
"prepare": "husky install",
"prepack": "clean-package",
"postpack": "clean-package restore"
},
"clean-package": {
"indent": 2,
"remove": [
"devDependencies",
"dependencies.immer",
"dependencies.react",
"dependencies.react-dom"
]
},
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.1",
"@types/node": "^20.3.1",
"@types/react": "^18.0.37",
"@types/react-dom": "^18.0.11",
"@types/use-sync-external-store": "^0.0.4",
"@typescript-eslint/eslint-plugin": "^5.60.0",
"@typescript-eslint/parser": "^5.60.0",
"@vitejs/plugin-react": "^4.0.0",
"clean-package": "^2.2.0",
"eslint": "^8.43.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"prettier": "^2.8.8",
"rollup-plugin-typescript-paths": "^1.4.0",
"tslib": "^2.5.3",
"typescript": "^5.0.2",
"vite": "^4.3.9",
"vite-plugin-dts": "^2.3.0"
},
"dependencies": {
"immer": ">=9.x",
"react": "^16.8.0 || ^17.0.2 || ^18.2.0",
"react-dom": "^16.8.0 || ^17.0.2 || ^18.2.0",
"use-sync-external-store": "^1.2.0"
},
"peerDependencies": {
"immer": ">=9.x",
"react": "^16.8.0 || ^17.0.2 || ^18.2.0",
"react-dom": "^16.8.0 || ^17.0.2 || ^18.2.0"
}
}