@histoire/plugin-svelte
Version:
Histoire plugin for Svelte support
66 lines • 1.82 kB
JSON
{
"name": "@histoire/plugin-svelte",
"type": "module",
"version": "0.17.17",
"description": "Histoire plugin for Svelte 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"
},
"exports": {
"./client": {
"types": "./dist/client/index.d.ts",
"default": "./dist/client/index.js"
},
"./collect": {
"types": "./dist/collect/index.d.ts",
"default": "./dist/collect/index.js"
},
".": {
"types": "./dist/index.node.d.ts",
"node": "./dist/index.node.js",
"default": "./dist/index.js"
},
"./*": "./*"
},
"main": "dist/index.js",
"types": "dist/index.node.d.ts",
"peerDependencies": {
"svelte": "^3.0.0 || ^4.0.0",
"histoire": "^0.17.17"
},
"dependencies": {
"change-case": "^4.1.2",
"globby": "^13.2.2",
"launch-editor": "^2.6.1",
"pathe": "^1.1.1",
"@histoire/controls": "^0.17.17",
"@histoire/shared": "^0.17.17",
"@histoire/vendors": "^0.17.17"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@types/node": "^18.11.9",
"concurrently": "^7.6.0",
"fs-extra": "^10.1.0",
"globby": "^13.1.1",
"svelte": "^4.2.12",
"svelte-preprocess": "^5.1.3",
"typescript": "^5.4.4",
"vite": "^5.0.11",
"histoire": "0.17.17"
},
"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\""
}
}