@histoire/plugin-svelte
Version:
Histoire plugin for Svelte 4/5 and SvelteKit 2/3 support
92 lines • 2.49 kB
JSON
{
"name": "@histoire/plugin-svelte",
"type": "module",
"version": "1.0.0-beta.2",
"description": "Histoire plugin for Svelte 4/5 and SvelteKit 2/3 support",
"author": {
"name": "Guillaume Chau"
},
"license": "MIT",
"repository": {
"url": "https://github.com/Akryum/histoire.git",
"type": "git",
"directory": "packages/histoire-plugin-svelte"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"histoire-plugin"
],
"exports": {
"./client": "./dist/client/index.js",
"./collect": "./dist/collect/index.js",
".": "./dist/index.node.js",
"./*": "./*"
},
"main": "./dist/index.node.js",
"module": "./dist/index.node.js",
"types": "./dist/index.node.d.ts",
"peerDependencies": {
"svelte": "^4.0.0 || ^5.0.0",
"histoire": "^1.0.0-beta.2"
},
"dependencies": {
"change-case": "^5.4.4",
"globby": "^14.0.2",
"launch-editor": "^2.9.1",
"pathe": "^1.1.2",
"@histoire/controls": "^1.0.0-beta.2",
"@histoire/shared": "^1.0.0-beta.2",
"@histoire/vendors": "^1.0.0-beta.2"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@types/node": "^22.10.1",
"@typescript/native": "npm:typescript@7.0.2",
"concurrently": "^9.1.0",
"fs-extra": "^11.2.0",
"globby": "^14.0.2",
"svelte": "^5.57.1",
"svelte-preprocess": "^6.0.3",
"typescript": "npm:@typescript/typescript6@6.0.2",
"vite": "^8.3.5",
"histoire": "1.0.0-beta.2"
},
"histoire": {
"marketplace": {
"displayName": "Svelte",
"summary": "Svelte 4 and 5 stories, SvelteKit integration and story generation.",
"category": "frameworks",
"frameworks": [
"svelte"
],
"monogram": "Sv",
"tint": "amber",
"adds": [],
"access": [
"story-frames",
"filesystem"
],
"config": {
"import": "HstSvelte",
"options": []
},
"recommend": [
{
"dependency": "svelte",
"reason": "Svelte detected"
}
],
"requires": {
"histoire": "^1.0.0-beta.1",
"svelte": "^4.0.0 || ^5.0.0"
}
}
},
"scripts": {
"build": "rimraf dist && vite build && tsc -d -P tsconfig.build.json && pnpm run build:types",
"build:types": "tsc --declaration --emitDeclarationOnly",
"watch": "concurrently \"vite build --watch\" \"tsc -d -P tsconfig.build.json --watch\" \"pnpm run build:types --watch\""
}
}