UNPKG

typewriter-editor

Version:

A rich text editor using the Delta format with decorations and rendered with a tiny virtual dom

80 lines (79 loc) 2.12 kB
{ "name": "typewriter-editor", "version": "0.12.9", "description": "A rich text editor using the Delta format with decorations and rendered with a tiny virtual dom", "keywords": [ "typewriter", "rich text editor", "wysiwyg", "svelte", "delta" ], "scripts": { "dev": "vite dev", "build": "npm run package", "preview": "vite preview", "package": "svelte-kit sync && svelte-package", "prepublishOnly": "npm run package", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "prettier --check .", "format": "prettier --write .", "test": "vitest" }, "license": "MIT", "files": [ "package.json", "README.md", "dist" ], "repository": { "type": "git", "url": "https://github.com/typewriter-editor/typewriter.git" }, "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js", "default": "./dist/index.js" } }, "main": "./dist/index.js", "svelte": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "dependencies": { "@popperjs/core": "^2.11.8", "@typewriter/document": "^0.9.3", "easy-signal": "^4.1.6" }, "peerDependencies": { "svelte": ">=3.43.0 <6" }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.4", "@sveltejs/kit": "^2.5.25", "@sveltejs/package": "^2.3.4", "@sveltejs/vite-plugin-svelte": "^3.1.2", "@tsconfig/svelte": "^5.0.4", "@types/fast-diff": "^1.2.0", "jsdom": "^24.1.0", "jsdom-global": "^3.0.2", "prettier": "^3.3.3", "prettier-plugin-svelte": "^3.2.6", "publint": "^0.2.10", "raw-loader": "^4.0.2", "svelte": "^4.2.19", "svelte-check": "^3.8.4", "svelte-loader": "^3.2.3", "svelte-preprocess": "^6.0.2", "svelte-routing": "^2.13.0", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "tslib": "^2.7.0", "typescript": "^5.5.4", "vite": "^5.4.3", "vitest": "^1.6.0" } }