-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
101 lines (101 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
{
"name": "use-travel",
"version": "1.1.8",
"description": "A React hook for state time travel with undo, redo, reset and archive functionalities.",
"main": "dist/index.cjs.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"umd:main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"jsnext:main": "dist/index.esm.js",
"react-native": "dist/index.esm.js",
"typings": "dist/index.d.ts",
"source": "src/index.ts",
"sideEffects": false,
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage && coveralls < coverage/lcov.info",
"clean": "rimraf dist",
"build": "yarn clean && tsc --skipLibCheck && yarn build:prod",
"build:prod": "NODE_ENV=production rollup --config --bundleConfigAsCjs",
"build:doc": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts",
"commit": "yarn git-cz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mutativejs/use-travel.git"
},
"author": "unadlib",
"license": "MIT",
"bugs": {
"url": "https://github.com/mutativejs/use-travel/issues"
},
"homepage": "https://github.com/mutativejs/use-travel#readme",
"keywords": [
"use-undo",
"undo",
"redo",
"time travel",
"mutative"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/react": "^14.2.1",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.5",
"@types/react": "^18.2.66",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"commitizen": "^4.3.0",
"coveralls": "^3.1.1",
"eslint": "^9.3.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"mutative": "^1.0.11",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^4.4.0",
"rollup": "^4.22.5",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.7.0",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^4.0.2",
"typescript": "^5.6.2",
"yargs": "^17.7.2"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"globals": {
"__DEV__": false
}
},
"peerDependencies": {
"@types/react": "^18.0 || ^17.0",
"mutative": "^1.0",
"react": "^18.0 || ^17.0"
},
"dependencies": {
"use-mutative": "^1.1.8"
}
}