package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "tabler-icons",
  3. "version": "2.5.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. "type": "module",
  14. "scripts": {
  15. "predev": "pnpm run dev:import-icons",
  16. "dev": "cd .build/editor && next dev",
  17. "dev:import-icons": "node ./.build/editor/import-icons.mjs",
  18. "build": "cd .build/app && next build",
  19. "_start": "bundle exec jekyll serve --watch --livereload --trace --livereload_port 8888",
  20. "_build": "pnpm run optimize && pnpm run update && pnpm run build:svgs && pnpm run build:icons && pnpm run build:packages && pnpm run preview && pnpm run changelog-image && pnpm run zip && pnpm run update-readme",
  21. "clean": "turbo run clean",
  22. "test": "turbo run test",
  23. "changelog": "node ./.build/changelog.mjs",
  24. "changelog-commit": "git add . && node ./.build/changelog-commit.mjs",
  25. "changelog-image": "node ./.build/changelog-image.mjs",
  26. "check-unicodes": "node ./.build/check-icons-unicodes.mjs",
  27. "update": "pnpm run update:icons-version && pnpm run update:icons-unicode && pnpm run check-unicodes",
  28. "update:icons-version": "node ./.build/update-icons-version.mjs",
  29. "update:icons-unicode": "node ./.build/update-icons-unicode.mjs",
  30. "optimize": "node ./.build/optimize.mjs",
  31. "import": "node ./.build/import.mjs && pnpm run optimize",
  32. "import-tags": "node ./.build/import-tags.mjs",
  33. "import-categories": "node ./.build/import-categories.mjs",
  34. "preview": "pnpm run preview-icons && pnpm run preview-stroke",
  35. "preview-icons": "node ./.build/preview-icons.mjs",
  36. "preview-stroke": "node ./.build/preview-stroke.mjs",
  37. "release": "git pull && release-it --verbose",
  38. "build:svgs": "pnpm run build:jekyll && pnpm run build:copy",
  39. "build:jekyll": "bundle exec jekyll build",
  40. "build:copy": "rm -rf ./icons && mkdir ./icons && cp ./_site/tags.json tags.json && cp ./_site/icons/* ./icons/ && rm -rf ./_site/",
  41. "build:icons": "pnpm --filter @tabler/icons build",
  42. "build:packages": "pnpm run build:react && 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",
  43. "build:react": "pnpm --filter @tabler/icons-react build",
  44. "build:preact": "pnpm --filter @tabler/icons-preact build",
  45. "build:solidjs": "pnpm --filter @tabler/icons-solidjs build",
  46. "build:svelte": "pnpm --filter @tabler/icons-svelte build",
  47. "build:vue": "pnpm --filter @tabler/icons-vue build",
  48. "build:png": "pnpm --filter @tabler/icons-png build",
  49. "build:pdf": "pnpm --filter @tabler/icons-pdf build",
  50. "build:esp": "pnpm --filter @tabler/icons-esp build",
  51. "build:webfont": "pnpm --filter @tabler/icons-webfont build",
  52. "update-readme": "node ./.build/update-readme.mjs",
  53. "zip": "node ./.build/zip-files.mjs"
  54. },
  55. "devDependencies": {
  56. "@atomico/rollup-plugin-sizes": "^1.1.4",
  57. "@babel/cli": "^7.20.7",
  58. "@babel/core": "7.11.6",
  59. "@babel/parser": "7.11.5",
  60. "@babel/plugin-transform-runtime": "^7.19.6",
  61. "@babel/preset-env": "7.11.5",
  62. "@babel/preset-react": "7.10.4",
  63. "@release-it-plugins/workspaces": "^3.2.0",
  64. "@rollup/plugin-babel": "5.2.1",
  65. "@rollup/plugin-commonjs": "15.1.0",
  66. "@rollup/plugin-node-resolve": "9.0.0",
  67. "@svgr/babel-plugin-replace-jsx-attribute-value": "5.0.1",
  68. "@svgr/core": "5.4.0",
  69. "@types/react": "^18.0.27",
  70. "@types/react-dom": "^18.0.10",
  71. "@vitejs/plugin-react": "^3.1.0",
  72. "@vue/babel-plugin-jsx": "^1.1.1",
  73. "adm-zip": "^0.5.10",
  74. "cheerio": "^1.0.0-rc.12",
  75. "child_process": "^1.0.2",
  76. "clsx": "^1.2.1",
  77. "csv-parser": "^3.0.0",
  78. "esbuild": "^0.17.5",
  79. "fs-extra": "^10.1.0",
  80. "glob": "8.1.0",
  81. "gray-matter": "^4.0.3",
  82. "html-minifier": "^4.0.0",
  83. "lodash.template": "4.5.0",
  84. "minimist": "1.2.6",
  85. "next": "^13.2.1",
  86. "node-sass": "8.0.0",
  87. "parse-svg-path": "^0.1.2",
  88. "prettier": "^2.8.1",
  89. "react": "^18.2.0",
  90. "react-dom": "^18.2.0",
  91. "release-it": "15.6.0",
  92. "rollup": "2.78.1",
  93. "rollup-plugin-esbuild": "^4.10.2",
  94. "rollup-plugin-filesize": "9.1.2",
  95. "rollup-plugin-license": "^3.0.1",
  96. "rollup-plugin-peer-deps-external": "2.2.4",
  97. "rollup-plugin-rename": "^1.0.1",
  98. "rollup-plugin-terser": "7.0.2",
  99. "rollup-plugin-visualizer": "^5.8.3",
  100. "svg-outline-stroke": "1.3.1",
  101. "svgo": "^2.8.0",
  102. "svgpath": "^2.6.0",
  103. "svgson": "^5.2.1",
  104. "vite": "^4.1.0"
  105. },
  106. "release-it": {
  107. "plugins": {
  108. "@release-it-plugins/workspaces": true
  109. },
  110. "npm": false,
  111. "hooks": {
  112. "after:bump": "pnpm run build --latest-version ${latestVersion} --new-version ${version} --verbose",
  113. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}.",
  114. "before:git:init": "pnpm install"
  115. },
  116. "git": {
  117. "addUntrackedFiles": true,
  118. "changelog": "pnpm run changelog --silent --latest-version ${latestTag}",
  119. "tagName": "v${version}",
  120. "_requireBranch": "master",
  121. "requireCommits": true,
  122. "requireCleanWorkingDir": false
  123. },
  124. "github": {
  125. "release": true
  126. }
  127. },
  128. "packageManager": "pnpm@7.17.0",
  129. "dependencies": {
  130. "sass": "^1.58.3"
  131. }
  132. }