travels
Version:
A fast, framework-agnostic undo/redo core library powered by Mutative JSON Patch
96 lines (95 loc) • 2.5 kB
JSON
{
"name": "travels",
"description": "A fast, framework-agnostic undo/redo core library powered by Mutative JSON Patch",
"version": "0.9.0",
"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": [
"src",
"dist"
],
"scripts": {
"test": "vitest run",
"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"
},
"keywords": [
"undo",
"redo",
"undo-redo",
"time-travel",
"time travel",
"travels",
"mutative",
"json-patch"
],
"license": "MIT",
"devDependencies": {
"@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",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vitest/coverage-v8": "^3.2.4",
"commitizen": "^4.3.0",
"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",
"jsdom": "^27.0.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",
"vitest": "^3.2.4",
"vue": "^3.5.24"
},
"peerDependencies": {
"mutative": ">=1.0.0"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
}
}