167 lines
3.8 KiB
JSON
Raw Permalink Normal View History

2026-05-31 13:21:13 +02:00
{
"name": "shiki-magic-move",
"type": "module",
"version": "0.5.2",
"packageManager": "pnpm@9.15.0",
"description": "Smoothly animated code blocks with Shiki",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/shikijs/shiki-magic-move#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/shikijs/shiki-magic-move.git"
},
"bugs": "https://github.com/shikijs/shiki-magic-move/issues",
"keywords": [
"shiki",
"animations"
],
"sideEffects": false,
"exports": {
".": {
"import": "./dist/index.mjs"
},
"./core": {
"import": "./dist/core.mjs"
},
"./renderer": {
"import": "./dist/renderer.mjs"
},
"./types": {
"import": "./dist/types.mjs"
},
"./vue": {
"import": "./dist/vue.mjs"
},
"./react": {
"import": "./dist/react.mjs"
},
"./solid": {
"import": "./dist/solid.mjs"
},
"./svelte": {
"import": "./dist/svelte.mjs"
},
"./style.css": "./dist/style.css",
"./dist/*": "./dist/*"
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"./vue": [
"./dist/vue.d.ts"
],
"./react": [
"./dist/react.d.ts"
],
"./svelte": [
"./dist/svelte.d.ts"
],
"./solid": [
"./dist/solid.d.ts"
],
"./core": [
"./dist/core.d.ts"
],
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist"
],
"scripts": {
"build": "unbuild",
"dev": "nr play",
"lint": "eslint .",
"prepublishOnly": "nr build",
"release": "bumpp && npm publish",
"start": "esno src/index.ts",
"test": "vitest",
"typecheck": "vue-tsc --noEmit",
"prepare": "simple-git-hooks",
"play": "nr -C playground dev",
"play:build": "nr -C playground build"
},
"peerDependencies": {
"react": "^18.2.0 || ^19.0.0",
"shiki": "^1.1.6",
"solid-js": "^1.9.1",
"svelte": "^5.0.0-0",
"vue": "^3.4.0"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"shiki": {
"optional": true
},
"solid-js": {
"optional": true
},
"svelte": {
"optional": true
},
"vue": {
"optional": true
}
},
"dependencies": {
"diff-match-patch-es": "^0.1.1",
"ohash": "^1.1.4"
},
"devDependencies": {
"@antfu/eslint-config": "^3.11.2",
"@antfu/ni": "^0.23.1",
"@antfu/utils": "^0.7.10",
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@eslint-react/eslint-plugin": "^1.18.0",
"@rollup/plugin-babel": "^6.0.4",
"@sveltejs/vite-plugin-svelte": "^5.0.1",
"@types/diff-match-patch": "^1.0.36",
"@types/node": "^22.10.1",
"@types/react": "^19.0.1",
"@types/react-dom": "^19.0.1",
"@unocss/reset": "^0.65.1",
"@vueuse/core": "^12.0.0",
"babel-preset-solid": "^1.9.3",
"bumpp": "^9.9.0",
"eslint": "^9.16.0",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.16",
"eslint-plugin-solid": "^0.14.4",
"eslint-plugin-svelte": "^2.46.1",
"esno": "^4.8.0",
"lint-staged": "^15.2.10",
"pnpm": "^9.15.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rimraf": "^6.0.1",
"rollup": "^4.28.1",
"shiki": "^1.24.1",
"simple-git-hooks": "^2.11.1",
"solid-js": "^1.9.3",
"svelte": "^5.2.6",
"typescript": "^5.7.2",
"unbuild": "^2.0.0",
"unocss": "^0.65.1",
"vite": "^6.0.3",
"vitest": "^2.1.8",
"vue": "^3.5.13",
"vue-tsc": "^2.1.10"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}