-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 3.46 KB
/
Copy pathpackage.json
File metadata and controls
118 lines (118 loc) · 3.46 KB
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
115
116
117
118
{
"name": "travels",
"description": "A fast, framework-agnostic undo/redo core library powered by Mutative JSON Patch",
"version": "1.3.1",
"type": "module",
"author": "unadlib",
"repository": {
"type": "git",
"url": "https://github.com/mutativejs/travels.git"
},
"source": "./src/index.ts",
"main": "./dist/index.esm.js",
"types": "./dist/index.d.ts",
"unpkg": "./dist/index.umd.js",
"exports": {
"./package.json": "./package.json",
".": {
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.esm.js"
}
}
},
"sideEffects": false,
"files": [
"docs",
"src",
"dist"
],
"scripts": {
"test": "vitest run",
"test:core": "vitest run --dir test",
"test:browser": "vitest run --dir test test/browser-environment.test.ts --environment jsdom",
"test:e2e:types": "tsc --project tsconfig.e2e.json",
"test:e2e": "yarn build && playwright test",
"test:e2e:ci": "playwright test",
"e2e:serve": "vite e2e/fixtures/travels-app",
"test:examples": "tsc --project tsconfig.examples.json",
"test:types": "tsc --noEmit --skipLibCheck",
"coverage": "vitest run --dir test --coverage",
"benchmark:matrix": "node --expose-gc benchmarks/matrix-benchmark.js",
"benchmark:full": "node --expose-gc benchmarks/matrix-benchmark.js --full",
"benchmark:ci": "node --expose-gc benchmarks/matrix-benchmark.js --ci",
"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",
"build:doc:site": "typedoc --out docs-site src/index.ts",
"commit": "yarn git-cz"
},
"keywords": [
"undo",
"redo",
"undo-redo",
"time-travel",
"time travel",
"travels",
"mutative",
"json-patch"
],
"license": "MIT",
"devDependencies": {
"@playwright/test": "^1.60.0",
"@rollup/plugin-commonjs": "^28.0.6",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-terser": "^0.4.4",
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "^16.3.0",
"@types/node": "^24.6.2",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.3",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitest/coverage-v8": "^3.2.4",
"commitizen": "^4.3.0",
"dexie": "4.4.2",
"eslint": "^9.3.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"fast-check": "^4.7.0",
"idb": "8.0.3",
"jsdom": "^27.0.0",
"localforage": "1.10.0",
"localspace": "1.2.0",
"mobx": "^6.15.0",
"mutative": "^1.3.0",
"pinia": "^3.0.4",
"prettier": "^3.2.5",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"rimraf": "^6.0.1",
"rollup": "^4.52.3",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typedoc": "^0.28.13",
"typedoc-plugin-markdown": "^4.2.10",
"typescript": "^5.9.3",
"vite": "^7.1.7",
"vitest": "^3.2.4",
"vue": "^3.5.24",
"zustand": "^5.0.13"
},
"peerDependencies": {
"mutative": ">=1.0.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}