mirror of
https://github.com/lucide-icons/lucide.git
synced 2025-12-29 00:58:48 +01:00
* Deprecates tags.json and icons.json * Removed tags.json dependency from Figma plugin * Add JSON descriptor information to readme * Restore packages/index.tsx * Update packages/lucide-figma/src/api/fetchIcons.ts Add multiple fetches to `Promise.all` * Added caching to API endpoints * Updates pnpm-lock.yaml * Add tags to static * Trigger site build * Added prebuild script to generate api caches at build time * Migrated NextCache function from arrow to regular to simplify markup * test if contents are read from cache * Add cache clear to prebuild * removes debug object --------- Co-authored-by: Karsa <karsa@karsa.org> Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
61 lines
2.2 KiB
JSON
61 lines
2.2 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "pnpm -r --filter './packages/**' build",
|
|
"test": "pnpm -r --filter './packages/**' test",
|
|
"lucide": "pnpm --filter lucide",
|
|
"lucide-angular": "pnpm --filter lucide-angular",
|
|
"lucide-react": "pnpm --filter lucide-react",
|
|
"lucide-react-native": "pnpm --filter lucide-react-native",
|
|
"lucide-preact": "pnpm --filter lucide-preact",
|
|
"lucide-vue": "pnpm --filter lucide-vue",
|
|
"lucide-vue-next": "pnpm --filter lucide-vue-next",
|
|
"lucide-svelte": "pnpm --filter lucide-svelte",
|
|
"lucide-static": "pnpm --filter lucide-static",
|
|
"build:icons": "node ./scripts/buildIcons.mjs --templateSrc ./packages/lucide/scripts/exportTemplate.mjs",
|
|
"build:outline-icons": "pnpm --filter outline-svg start",
|
|
"generate:supersprite": "node ./scripts/generateSuperSVG.mjs",
|
|
"optimize": "node ./scripts/optimizeSvgs.mjs",
|
|
"addjsons": "node scripts/addMissingIconJsonFiles.mjs",
|
|
"checkIcons": "node scripts/checkIconsAndCategories.mjs --presets @babel/env",
|
|
"tags2icons": "node scripts/migrateTagsToIcons.mjs --presets @babel/env",
|
|
"icons2tags": "node scripts/migrateIconsToTags.mjs --presets @babel/env",
|
|
"icons2categories": "node scripts/migrateIconsToCategories.mjs --presets @babel/env",
|
|
"categories2icons": "node scripts/migrateCategoriesToIcons.mjs --presets @babel/env",
|
|
"generate:changelog": "node ./scripts/generateChangelog.mjs",
|
|
"postinstall": "husky install",
|
|
"lint": "eslint --ext .ts,.js,.mjs ./{packages/lucide,scripts}"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.26.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"minimist": "^1.2.7",
|
|
"node-fetch": "^3.2.10",
|
|
"prettier": "2.7.1",
|
|
"svgo": "^3.0.0",
|
|
"svgson": "^5.2.1"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"icons/*.svg": "node ./scripts/optimizeStagedSvgs.mjs"
|
|
},
|
|
"packageManager": "pnpm@7.14.0",
|
|
"pnpm": {
|
|
"peerDependencyRules": {
|
|
"ignoreMissing": [
|
|
"@babel/core",
|
|
"@babel/preset-env"
|
|
]
|
|
}
|
|
}
|
|
}
|