-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
114 lines (114 loc) · 2.73 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
{
"name": "history-adapter",
"description": "A \"history adapter\" for managing undoable (and redoable) state changes.",
"version": "2.1.1",
"keywords": [
"history",
"redux",
"undo",
"redo",
"immer",
"patches",
"state"
],
"workspaces": [
"examples/*",
"website"
],
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./redux": {
"import": "./dist/redux.js",
"require": "./dist/redux.cjs"
}
},
"files": [
"dist",
"redux"
],
"scripts": {
"clean": "rimraf dist",
"prepare": "husky install",
"run-build": "tsup",
"build": "yarn clean && yarn type && yarn run-build",
"build-only": "yarn clean && yarn run-build",
"test": "vitest",
"lint": "eslint",
"pre-commit": "lint-staged",
"attw": "attw",
"publint": "publint",
"type": "tsc",
"prepack": "yarn build && yarn publint",
"size": "size-limit",
"example": "yarn workspace example-app dev",
"website": "yarn workspace website start"
},
"repository": "https://github.com/EskiMojo14/history-adapter.git",
"author": "EskiMojo14 <[email protected]>",
"license": "MIT",
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.5",
"@eslint/js": "^9.18.0",
"@reduxjs/toolkit": "https://pkg.csb.dev/reduxjs/redux-toolkit/commit/d1059244/@reduxjs/toolkit",
"@size-limit/preset-small-lib": "^11.1.0",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^8.19.1",
"eslint": "^9.18.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import-x": "^4.6.1",
"eslint-plugin-vitest": "^0.5.4",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jiti": "^2.4.2",
"lint-staged": "^15.2.0",
"mix-n-matchers": "^1.8.0",
"prettier": "^3.4.2",
"publint": "^0.2.7",
"rimraf": "^5.0.5",
"size-limit": "^11.1.0",
"tsup": "^8.0.1",
"typescript": "^5.7.0",
"typescript-eslint": "^8.19.1",
"vitest": "^1.4.0"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"lint-staged": {
"*.{ts,md}": "prettier --write"
},
"prettier": {},
"tsup": {
"entry": [
"src/index.ts",
"src/redux.ts"
],
"sourcemap": true,
"format": [
"esm",
"cjs"
],
"dts": true
},
"dependencies": {
"immer": "^10.0.3"
},
"peerDependencies": {
"@reduxjs/toolkit": "^1.9.7 || ^2"
},
"peerDependenciesMeta": {
"@reduxjs/toolkit": {
"optional": true
}
},
"packageManager": "[email protected]"
}