package.json 4.9 KB

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