forked from pheralb/svgl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.85 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "@pheralb/svgl",
"author": "@pheralb_",
"version": "4.2.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",
"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 ./check-size && npm run start",
"check:links": " lychee --base . ./src/data/svgs.ts --cache --max-cache-age 3d . --include 'https://cdn.svgl.app'",
"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.91.0",
"@svelte-dev/pretty-code": "1.0.0",
"@svgr/core": "8.1.0",
"@svgr/plugin-jsx": "8.1.0",
"@upstash/ratelimit": "1.1.1",
"@upstash/redis": "1.30.0",
"bits-ui": "0.21.4",
"clsx": "2.1.0",
"downloadjs": "1.4.7",
"jszip": "3.10.1",
"lucide-svelte": "0.372.0",
"mode-watcher": "0.3.0",
"rehype-pretty-code": "0.13.1",
"shiki": "1.3.0",
"svelte-sonner": "0.3.22",
"tailwind-merge": "2.2.2"
},
"devDependencies": {
"@sveltejs/adapter-auto": "3.2.0",
"@sveltejs/kit": "2.5.6",
"@sveltejs/vite-plugin-svelte": "3.1.0",
"@tailwindcss/typography": "0.5.12",
"@types/downloadjs": "1.4.6",
"@typescript-eslint/eslint-plugin": "7.7.0",
"@typescript-eslint/parser": "7.7.0",
"autoprefixer": "10.4.19",
"concurrently": "8.2.2",
"esbuild": "0.20.2",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "2.37.0",
"mdsvex": "0.11.0",
"postcss": "8.4.38",
"prettier": "3.2.5",
"prettier-plugin-svelte": "3.2.3",
"prettier-plugin-tailwindcss": "0.5.14",
"svelte": "4.2.15",
"svelte-check": "3.6.9",
"sveltekit-search-params": "2.1.2",
"tailwindcss": "3.4.3",
"tslib": "2.6.2",
"typescript": "5.4.5",
"vite": "5.2.9",
"vitest": "1.5.0"
},
"config": {
"siteURL": "https://svgl.app?figma=1"
}
}