-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
110 lines (110 loc) · 2.62 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
{
"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 <ben.j.durrant@gmail.com>",
"license": "MIT",
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.5",
"@reduxjs/toolkit": "https://pkg.csb.dev/reduxjs/redux-toolkit/commit/d1059244/@reduxjs/toolkit",
"@size-limit/preset-small-lib": "^11.1.0",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vitest": "^0.3.20",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"mix-n-matchers": "^1.5.0",
"prettier": "^3.1.1",
"publint": "^0.2.7",
"rimraf": "^5.0.5",
"size-limit": "^11.1.0",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"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": "yarn@4.1.1"
}