UNPKG

@unocss/svelte-scoped

Version:

Use UnoCSS in a modular fashion with styles being stored only in the Svelte component they are used in: Vite plugin for apps, Svelte preprocessor for component libraries

72 lines 1.81 kB
{ "name": "@unocss/svelte-scoped", "type": "module", "version": "66.3.3", "description": "Use UnoCSS in a modular fashion with styles being stored only in the Svelte component they are used in: Vite plugin for apps, Svelte preprocessor for component libraries", "author": "Jacob Bowdoin", "license": "MIT", "homepage": "https://unocss.dev", "repository": { "type": "git", "url": "git+https://github.com/unocss/unocss.git", "directory": "packages-integrations/svelte-scoped" }, "bugs": { "url": "https://github.com/unocss/unocss/issues" }, "keywords": [ "sveltekit", "svelte", "unocss", "utility-styles", "component-scoped", "component-library" ], "sideEffects": false, "exports": { "./preprocess": { "types": "./dist/preprocess.d.mts", "default": "./dist/preprocess.mjs" }, "./vite": { "types": "./dist/vite.d.mts", "default": "./dist/vite.mjs" } }, "main": "./dist/vite.mjs", "module": "./dist/vite.mjs", "types": "./dist/vite.d.ts", "typesVersions": { ">4.0": { "preprocess": [ "./dist/preprocess.d.ts" ], "vite": [ "./dist/vite.d.ts" ] } }, "files": [ "dist" ], "dependencies": { "acorn": "^8.15.0", "css-tree": "^3.1.0", "magic-string": "^0.30.17", "zimmerframe": "^1.1.2", "@unocss/config": "66.3.3", "@unocss/preset-uno": "66.3.3", "@unocss/reset": "66.3.3" }, "devDependencies": { "prettier-plugin-svelte": "^2.10.1", "svelte": "^5.35.2" }, "scripts": { "build": "unbuild", "stub": "unbuild --stub", "bench": "vitest bench", "test:integration": "pnpm -r --filter=\"./test/fixtures/*\" test", "test:attw": "attw --pack --config-path ../../.attw-esm-only.json" } }