feat: add script to generate icon components

This commit is contained in:
Stefan Imhoff
2023-12-04 18:48:35 +01:00
parent 3d6745e0f0
commit 158d69fc1e
3 changed files with 333 additions and 30 deletions

View File

@@ -11,6 +11,7 @@
"deploy:preview": "netlify deploy",
"publish": "npm-run-all build deploy",
"og:generate": "node og-generate.cjs",
"icons:generate": "node icons-generate.cjs",
"plop": "plop",
"astro": "astro",
"cspell": "cspell --words-only --unique 'src' | sort --ignore-case >> .cspell/dictionary.txt",
@@ -63,6 +64,8 @@
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@svgr/cli": "^8.1.0",
"@svgr/core": "^8.1.0",
"@types/mdast": "^4.0.0",
"@types/react": "^18.2.21",
"@types/unist": "^3.0.0",
@@ -74,9 +77,11 @@
"eslint-plugin-astro": "^0.29.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^5.0.0",
"glob": "^10.3.10",
"husky": "^8.0.3",
"jimp": "^0.22.10",
"lint-staged": "^14.0.1",
"lodash": "^4.17.21",
"netlify-cli": "^16.3.1",
"npm-run-all": "^4.1.5",
"pagefind": "^0.12.0",
@@ -87,6 +92,7 @@
"prettier-plugin-organize-imports": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.4",
"rollup": "^3.29.0",
"svgo": "^3.0.5",
"tailwindcss-logical": "^3.0.1",
"tailwindcss-opentype": "^1.1.0",
"typescript": "^5.2.2",