2022-01-16 22:40:15 +08:00
|
|
|
{
|
2024-04-09 22:40:55 +08:00
|
|
|
"name": "@pheralb/svgl",
|
2023-03-15 19:28:07 +08:00
|
|
|
"author": "@pheralb_",
|
2024-09-23 19:37:24 +08:00
|
|
|
"version": "4.3.0",
|
2023-03-15 19:28:07 +08:00
|
|
|
"description": "A beautiful library with SVG logos.",
|
|
|
|
"private": true,
|
|
|
|
"license": "MIT",
|
|
|
|
"type": "module",
|
|
|
|
"keywords": [
|
|
|
|
"svgs",
|
|
|
|
"logos",
|
|
|
|
"images",
|
|
|
|
"library"
|
|
|
|
],
|
2024-09-23 17:13:10 +08:00
|
|
|
"config": {
|
|
|
|
"siteURL": "https://svgl.app?figma=1"
|
|
|
|
},
|
2023-03-15 19:28:07 +08:00
|
|
|
"scripts": {
|
|
|
|
"dev": "vite dev",
|
2023-03-17 21:59:21 +08:00
|
|
|
"host": "vite dev --host",
|
2024-01-02 17:54:56 +08:00
|
|
|
"build": "pnpm run prebuild && vite build",
|
2024-05-11 02:29:32 +08:00
|
|
|
"prebuild": "cd ./utils/check-size && pnpm install && pnpm run start",
|
2024-10-01 17:53:47 +08:00
|
|
|
"vite:build": "vite build",
|
2023-03-15 19:28:07 +08:00
|
|
|
"preview": "vite preview",
|
|
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
2024-05-11 02:22:14 +08:00
|
|
|
"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",
|
2023-04-14 19:37:28 +08:00
|
|
|
"test": "vitest run",
|
2023-03-15 19:28:07 +08:00
|
|
|
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
2023-12-23 15:43:54 +08:00
|
|
|
"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'"
|
2023-03-15 19:28:07 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-09-23 17:13:10 +08:00
|
|
|
"@figma/plugin-typings": "1.100.2",
|
2024-03-09 20:43:55 +08:00
|
|
|
"@svelte-dev/pretty-code": "1.0.0",
|
2024-04-10 06:05:19 +08:00
|
|
|
"@svgr/core": "8.1.0",
|
|
|
|
"@svgr/plugin-jsx": "8.1.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"@upstash/ratelimit": "2.0.3",
|
2024-08-15 20:00:10 +08:00
|
|
|
"@upstash/redis": "1.34.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"bits-ui": "0.21.15",
|
2024-04-29 17:07:12 +08:00
|
|
|
"clsx": "2.1.1",
|
2023-03-15 19:28:07 +08:00
|
|
|
"downloadjs": "1.4.7",
|
2023-12-18 05:02:50 +08:00
|
|
|
"jszip": "3.10.1",
|
2024-09-23 17:13:10 +08:00
|
|
|
"lucide-svelte": "0.445.0",
|
2024-08-15 20:00:10 +08:00
|
|
|
"mode-watcher": "0.4.1",
|
2024-10-01 17:49:23 +08:00
|
|
|
"rehype-autolink-headings": "7.1.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"rehype-pretty-code": "0.14.0",
|
2024-10-01 17:49:23 +08:00
|
|
|
"rehype-slug": "6.0.0",
|
|
|
|
"remark-gfm": "4.0.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"shiki": "1.18.0",
|
|
|
|
"svelte-sonner": "0.3.28",
|
2024-08-26 23:50:37 +08:00
|
|
|
"tailwind-merge": "2.5.2",
|
|
|
|
"tailwind-variants": "0.2.1"
|
2023-03-15 19:28:07 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-09-23 17:13:10 +08:00
|
|
|
"@sveltejs/adapter-auto": "3.2.5",
|
2024-09-27 20:34:47 +08:00
|
|
|
"@sveltejs/adapter-node": "5.2.5",
|
2024-09-23 17:13:10 +08:00
|
|
|
"@sveltejs/kit": "2.5.28",
|
|
|
|
"@sveltejs/vite-plugin-svelte": "3.1.2",
|
|
|
|
"@tailwindcss/typography": "0.5.15",
|
2023-12-13 06:16:34 +08:00
|
|
|
"@types/downloadjs": "1.4.6",
|
2024-09-23 19:37:24 +08:00
|
|
|
"@types/eslint": "9.6.1",
|
2024-09-23 18:01:35 +08:00
|
|
|
"@types/node": "22.5.5",
|
2024-08-15 20:00:10 +08:00
|
|
|
"autoprefixer": "10.4.20",
|
2024-09-23 17:13:10 +08:00
|
|
|
"concurrently": "9.0.1",
|
|
|
|
"esbuild": "0.24.0",
|
2024-09-23 19:37:24 +08:00
|
|
|
"eslint": "9.11.0",
|
2023-12-13 06:16:34 +08:00
|
|
|
"eslint-config-prettier": "9.1.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"eslint-plugin-svelte": "2.44.0",
|
2024-09-23 17:58:02 +08:00
|
|
|
"globals": "15.9.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"mdsvex": "0.12.3",
|
|
|
|
"postcss": "8.4.47",
|
2024-08-15 20:00:10 +08:00
|
|
|
"prettier": "3.3.3",
|
|
|
|
"prettier-plugin-svelte": "3.2.6",
|
|
|
|
"prettier-plugin-tailwindcss": "0.6.6",
|
2024-09-23 17:13:10 +08:00
|
|
|
"svelte": "4.2.19",
|
|
|
|
"svelte-check": "4.0.2",
|
2024-08-15 20:00:10 +08:00
|
|
|
"sveltekit-search-params": "3.0.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"tailwindcss": "3.4.12",
|
|
|
|
"tslib": "2.7.0",
|
|
|
|
"typescript": "5.6.2",
|
2024-09-23 19:37:24 +08:00
|
|
|
"typescript-eslint": "8.6.0",
|
2024-09-23 17:13:10 +08:00
|
|
|
"vite": "5.4.7",
|
2024-09-23 19:37:24 +08:00
|
|
|
"vitest": "2.1.1"
|
2023-03-15 19:28:07 +08:00
|
|
|
}
|
2022-01-16 22:40:15 +08:00
|
|
|
}
|