package.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. {
  2. "name": "tabler-icons",
  3. "version": "3.19.0",
  4. "repository": {
  5. "type": "git",
  6. "url": "git+https://github.com/tabler/tabler-icons.git"
  7. },
  8. "private": true,
  9. "sideEffects": false,
  10. "publishConfig": {
  11. "access": "public"
  12. },
  13. "scripts": {
  14. "dev": "eleventy --serve --watch",
  15. "preview": "eleventy",
  16. "build": "pnpm run validate && pnpm run update && pnpm run validate --hard && pnpm run optimize && pnpm run build:packages && pnpm run preview && pnpm run changelog-image && pnpm run zip && pnpm run update-readme",
  17. "clean": "turbo run clean",
  18. "test": "turbo run test",
  19. "changelog": "node ./.build/changelog.mjs",
  20. "changelog-commit": "git add . && node ./.build/changelog-commit.mjs",
  21. "changelog-image": "node ./.build/changelog-image.mjs",
  22. "update": "pnpm run update:icons",
  23. "update:icons": "node ./.build/update-icons.mjs",
  24. "optimize": "node ./.build/optimize.mjs",
  25. "import": "node ./.build/import.mjs && pnpm run optimize",
  26. "import-tags": "node ./.build/import-tags.mjs",
  27. "import-categories": "node ./.build/import-categories.mjs",
  28. "generate-preview": "pnpm run preview-icons && pnpm run preview-stroke",
  29. "generate-preview-icons": "node ./.build/preview-icons.mjs",
  30. "generate-preview-random-icons": "node ./.build/preview-random-icons.mjs",
  31. "generate-preview-stroke": "node ./.build/preview-stroke.mjs",
  32. "validate": "node ./.build/validate-icons.mjs",
  33. "release": "git pull && release-it --verbose",
  34. "build:copy": "rm -rf ./icons && mkdir ./icons && cp ./_site/tags.json tags.json && cp ./_site/icons/* ./icons/ && rm -rf ./_site/",
  35. "build:packages": "pnpm run build:icons && pnpm run build:sprite && pnpm run build:react && pnpm run build:react-native && pnpm run build:preact && pnpm run build:solidjs && pnpm run build:svelte && pnpm run build:vue && pnpm run build:png && pnpm run build:pdf && pnpm run build:esp && pnpm run build:webfont",
  36. "build:icons": "pnpm --filter @tabler/icons build",
  37. "build:react": "pnpm --filter @tabler/icons-react build",
  38. "build:react-native": "pnpm --filter @tabler/icons-react-native build",
  39. "build:preact": "pnpm --filter @tabler/icons-preact build",
  40. "build:solidjs": "pnpm --filter @tabler/icons-solidjs build",
  41. "build:svelte": "pnpm --filter @tabler/icons-svelte build",
  42. "build:vue": "pnpm --filter @tabler/icons-vue build",
  43. "build:png": "pnpm --filter @tabler/icons-png build",
  44. "build:pdf": "pnpm --filter @tabler/icons-pdf build",
  45. "build:esp": "pnpm --filter @tabler/icons-esp build",
  46. "build:sprite": "pnpm --filter @tabler/icons-sprite build",
  47. "build:webfont": "pnpm --filter @tabler/icons-webfont build",
  48. "update-readme": "node ./.build/update-readme.mjs",
  49. "zip": "node ./.build/zip-files.mjs"
  50. },
  51. "devDependencies": {
  52. "@11ty/eleventy": "^2.0.1",
  53. "@release-it-plugins/workspaces": "^4.2.0",
  54. "@testing-library/jest-dom": "^6.4.2",
  55. "adm-zip": "^0.5.10",
  56. "cheerio": "^1.0.0-rc.12",
  57. "csv-parser": "^3.0.0",
  58. "eleventy-sass": "^2.2.4",
  59. "esbuild": "^0.20.1",
  60. "fs-extra": "^11.2.0",
  61. "glob": "10.3.10",
  62. "gray-matter": "^4.0.3",
  63. "html-minifier": "^4.0.0",
  64. "jest-serializer-html": "^7.1.0",
  65. "jsdom": "^24.0.0",
  66. "lodash.template": "4.5.0",
  67. "minimist": "1.2.8",
  68. "node-sass": "9.0.0",
  69. "parse-svg-path": "^0.1.2",
  70. "prettier": "^3.2.5",
  71. "release-it": "17.1.1",
  72. "rollup": "^4.12.0",
  73. "rollup-plugin-dts": "^6.1.0",
  74. "rollup-plugin-esbuild": "^6.1.1",
  75. "rollup-plugin-filesize": "10.0.0",
  76. "rollup-plugin-license": "^3.2.0",
  77. "rollup-plugin-peer-deps-external": "2.2.4",
  78. "rollup-plugin-visualizer": "^5.12.0",
  79. "slash": "^5.1.0",
  80. "svg-outline-stroke": "1.3.1",
  81. "svgo": "^3.2.0",
  82. "svgpath": "^2.6.0",
  83. "svgson": "^5.3.1",
  84. "turbo": "^1.12.4",
  85. "typescript": "^5.3.3",
  86. "vite": "^5.1.4",
  87. "vitest": "^1.3.1"
  88. },
  89. "release-it": {
  90. "plugins": {
  91. "@release-it-plugins/workspaces": true
  92. },
  93. "npm": false,
  94. "hooks": {
  95. "after:bump": "pnpm run build --latest-version ${latestVersion} --new-version ${version} --verbose && pnpm install",
  96. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
  97. },
  98. "git": {
  99. "addUntrackedFiles": true,
  100. "changelog": "pnpm run --silent changelog --latest-version ${latestTag}",
  101. "tagName": "v${version}",
  102. "requireBranch": "main",
  103. "requireCommits": true,
  104. "requireCleanWorkingDir": false
  105. },
  106. "github": {
  107. "release": true
  108. }
  109. },
  110. "packageManager": "pnpm@7.17.0",
  111. "dependencies": {
  112. "crypto-js": "^4.2.0"
  113. }
  114. }