view package.json @ 28:fbaf7c7126be

Don't restore file state if we're just switching to another pane To do this we have to track the opened file path in the new editor view and check if it matches the last file path we knew for that view.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 14 Jul 2022 14:36:44 -0700
parents 6c168de105c0
children 88c1c125e621
line wrap: on
line source

{
	"name": "obsidian-remember-file-state",
	"version": "1.0.5",
	"description": "Plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file",
	"main": "main.js",
	"scripts": {
		"dev": "node esbuild.config.mjs",
		"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
		"dogfood": "node esbuild.config.mjs dogfood",
		"version": "node version-bump.mjs"
	},
	"keywords": [],
	"author": "Ludovic Chabant",
	"license": "MIT",
	"devDependencies": {
		"@codemirror/history": "^0.19.0",
		"@codemirror/state": "^0.19.6",
		"@codemirror/view": "^0.19.36",
		"@types/node": "^16.11.6",
		"@typescript-eslint/eslint-plugin": "^5.2.0",
		"@typescript-eslint/parser": "^5.2.0",
		"builtin-modules": "^3.2.0",
		"esbuild": "0.13.12",
		"monkey-around": "^2.2.0",
		"obsidian": "latest",
		"tslib": "2.3.1",
		"typescript": "4.4.4"
	},
	"dependencies": {}
}