mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-15 01:31:57 +08:00
88 lines
3.0 KiB
JSON
88 lines
3.0 KiB
JSON
{
|
|
"name": "@pheralb/svgl",
|
|
"author": "@pheralb_",
|
|
"version": "4.3.0",
|
|
"description": "A beautiful library with SVG logos.",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"keywords": [
|
|
"svgs",
|
|
"logos",
|
|
"images",
|
|
"library"
|
|
],
|
|
"config": {
|
|
"siteURL": "https://svgl.app?figma=1"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"host": "vite dev --host",
|
|
"build": "pnpm run prebuild && vite build",
|
|
"prebuild": "cd ./utils/check-size && pnpm install && pnpm run start",
|
|
"onlybuild": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"check:size": "cd ./utils/check-size && npm run start",
|
|
"check:links": " lychee --base . ./src/data/svgs.ts --cache --max-cache-age 3d . --include 'https://svgl.app'",
|
|
"fix:viewbox": "cd ./utils/fix-viewbox && npm run start",
|
|
"test": "vitest run",
|
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
"format": "prettier --plugin-search-dir . --write .",
|
|
"dev:figma": "concurrently -n plugin,svelte 'npm run build:plugin -- --watch --define:SITE_URL=\\\"http://localhost:5173?figma=1\\\"' 'npm run dev'",
|
|
"build:plugin": "esbuild src/figma/code.ts --bundle --target=es6 --loader:.svg=text --outfile=src/figma/dist/code.js",
|
|
"build:figma": "concurrently -n plugin,svelte 'npm run build:plugin -- --define:SITE_URL=\\\"$npm_package_config_siteURL\\\"' 'npm run build'"
|
|
},
|
|
"dependencies": {
|
|
"@figma/plugin-typings": "1.100.2",
|
|
"@svelte-dev/pretty-code": "1.0.0",
|
|
"@svgr/core": "8.1.0",
|
|
"@svgr/plugin-jsx": "8.1.0",
|
|
"@upstash/ratelimit": "2.0.3",
|
|
"@upstash/redis": "1.34.0",
|
|
"bits-ui": "0.21.15",
|
|
"clsx": "2.1.1",
|
|
"downloadjs": "1.4.7",
|
|
"jszip": "3.10.1",
|
|
"lucide-svelte": "0.445.0",
|
|
"mode-watcher": "0.4.1",
|
|
"rehype-pretty-code": "0.14.0",
|
|
"shiki": "1.18.0",
|
|
"svelte-sonner": "0.3.28",
|
|
"tailwind-merge": "2.5.2",
|
|
"tailwind-variants": "0.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-auto": "3.2.5",
|
|
"@sveltejs/adapter-vercel": "5.4.4",
|
|
"@sveltejs/kit": "2.5.28",
|
|
"@sveltejs/vite-plugin-svelte": "3.1.2",
|
|
"@tailwindcss/typography": "0.5.15",
|
|
"@types/downloadjs": "1.4.6",
|
|
"@types/eslint": "9.6.1",
|
|
"@types/node": "22.5.5",
|
|
"autoprefixer": "10.4.20",
|
|
"concurrently": "9.0.1",
|
|
"esbuild": "0.24.0",
|
|
"eslint": "9.11.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-svelte": "2.44.0",
|
|
"globals": "15.9.0",
|
|
"mdsvex": "0.12.3",
|
|
"postcss": "8.4.47",
|
|
"prettier": "3.3.3",
|
|
"prettier-plugin-svelte": "3.2.6",
|
|
"prettier-plugin-tailwindcss": "0.6.6",
|
|
"svelte": "4.2.19",
|
|
"svelte-check": "4.0.2",
|
|
"sveltekit-search-params": "3.0.0",
|
|
"tailwindcss": "3.4.12",
|
|
"tslib": "2.7.0",
|
|
"typescript": "5.6.2",
|
|
"typescript-eslint": "8.6.0",
|
|
"vite": "5.4.7",
|
|
"vitest": "2.1.1"
|
|
}
|
|
}
|