mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 06:36:56 +08:00
78 lines
2.6 KiB
JSON
78 lines
2.6 KiB
JSON
{
|
|
"name": "svgl",
|
|
"author": "@pheralb_",
|
|
"version": "4.1.0",
|
|
"description": "A beautiful library with SVG logos.",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"keywords": [
|
|
"svgs",
|
|
"logos",
|
|
"images",
|
|
"library"
|
|
],
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"host": "vite dev --host",
|
|
"build": "pnpm run prebuild && vite build",
|
|
"prebuild": "cd ./check-size && pnpm install && pnpm run start",
|
|
"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 ./check-size && npm run start",
|
|
"fix:viewbox": "cd ./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.84.0",
|
|
"@upstash/ratelimit": "1.0.0",
|
|
"@upstash/redis": "1.28.2",
|
|
"bits-ui": "0.15.1",
|
|
"clsx": "2.1.0",
|
|
"downloadjs": "1.4.7",
|
|
"jszip": "3.10.1",
|
|
"lucide-svelte": "0.314.0",
|
|
"mode-watcher": "0.1.2",
|
|
"shiki": "0.14.7",
|
|
"svelte-sonner": "0.3.6",
|
|
"tailwind-merge": "2.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-auto": "3.1.1",
|
|
"@sveltejs/kit": "2.4.3",
|
|
"@sveltejs/vite-plugin-svelte": "3.0.1",
|
|
"@tailwindcss/typography": "0.5.10",
|
|
"@types/downloadjs": "1.4.6",
|
|
"@typescript-eslint/eslint-plugin": "6.19.1",
|
|
"@typescript-eslint/parser": "6.19.1",
|
|
"autoprefixer": "10.4.17",
|
|
"concurrently": "8.2.2",
|
|
"esbuild": "0.19.12",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-svelte": "2.35.1",
|
|
"mdsvex": "0.11.0",
|
|
"postcss": "8.4.33",
|
|
"prettier": "3.2.4",
|
|
"prettier-plugin-svelte": "3.1.2",
|
|
"prettier-plugin-tailwindcss": "0.5.11",
|
|
"svelte": "4.2.9",
|
|
"svelte-check": "3.6.3",
|
|
"sveltekit-search-params": "^2.1.0",
|
|
"tailwindcss": "3.4.1",
|
|
"tslib": "2.6.2",
|
|
"typescript": "5.3.3",
|
|
"vite": "5.0.12",
|
|
"vitest": "1.2.1"
|
|
},
|
|
"config": {
|
|
"siteURL": "https://svgl.app?figma=1"
|
|
}
|
|
}
|