package.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "tabler-icons",
  3. "version": "3.9.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. "svg-outline-stroke": "1.3.1",
  80. "svgo": "^3.2.0",
  81. "svgpath": "^2.6.0",
  82. "svgson": "^5.3.1",
  83. "turbo": "^1.12.4",
  84. "typescript": "^5.3.3",
  85. "vitest": "^1.3.1",
  86. "vite": "^5.1.4"
  87. },
  88. "release-it": {
  89. "plugins": {
  90. "@release-it-plugins/workspaces": true
  91. },
  92. "npm": false,
  93. "hooks": {
  94. "after:bump": "pnpm run build --latest-version ${latestVersion} --new-version ${version} --verbose && pnpm install",
  95. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
  96. },
  97. "git": {
  98. "addUntrackedFiles": true,
  99. "changelog": "pnpm run --silent changelog --latest-version ${latestTag}",
  100. "tagName": "v${version}",
  101. "requireBranch": "main",
  102. "requireCommits": true,
  103. "requireCleanWorkingDir": false
  104. },
  105. "github": {
  106. "release": true
  107. }
  108. },
  109. "packageManager": "pnpm@7.17.0",
  110. "dependencies": {
  111. "crypto-js": "^4.2.0"
  112. }
  113. }