package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "name": "tabler-icons",
  3. "version": "3.0.0-alpha.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. "start": "bundle exec jekyll serve --watch --livereload --trace --livereload_port 8888 --profile",
  15. "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",
  16. "clean": "turbo run clean",
  17. "test": "turbo run test",
  18. "changelog": "node ./.build/changelog.mjs",
  19. "changelog-commit": "git add . && node ./.build/changelog-commit.mjs",
  20. "changelog-image": "node ./.build/changelog-image.mjs",
  21. "check-unicodes": "node ./.build/check-icons-unicodes.mjs",
  22. "update": "pnpm run update:icons-version && pnpm run update:icons-unicode && pnpm run check-unicodes",
  23. "update:icons-version": "node ./.build/update-icons-version.mjs",
  24. "update:icons-unicode": "node ./.build/update-icons-unicode.mjs",
  25. "optimize": "node ./.build/optimize.mjs",
  26. "import": "node ./.build/import.mjs && pnpm run optimize",
  27. "import-tags": "node ./.build/import-tags.mjs",
  28. "import-categories": "node ./.build/import-categories.mjs",
  29. "preview": "pnpm run preview-icons && pnpm run preview-stroke",
  30. "preview-icons": "node ./.build/preview-icons.mjs",
  31. "preview-stroke": "node ./.build/preview-stroke.mjs",
  32. "release": "git pull && release-it --verbose",
  33. "build:svgs": "pnpm run build:jekyll && pnpm run build:copy",
  34. "build:jekyll": "bundle exec jekyll build --config _config.yml,_config-build.yml",
  35. "build:copy": "rm -rf ./icons && mkdir ./icons && cp ./_site/tags.json tags.json && cp ./_site/icons/* ./icons/ && rm -rf ./_site/",
  36. "build:icons": "pnpm --filter @tabler/icons build",
  37. "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",
  38. "build:react": "pnpm --filter @tabler/icons-react 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:webfont": "pnpm --filter @tabler/icons-webfont build",
  47. "update-readme": "node ./.build/update-readme.mjs",
  48. "zip": "node ./.build/zip-files.mjs"
  49. },
  50. "devDependencies": {
  51. "@atomico/rollup-plugin-sizes": "^1.1.4",
  52. "@babel/cli": "^7.23.4",
  53. "@babel/core": "7.23.7",
  54. "@babel/parser": "7.23.6",
  55. "@babel/plugin-transform-runtime": "^7.23.7",
  56. "@babel/preset-env": "7.23.8",
  57. "@babel/preset-react": "7.23.3",
  58. "@prettier/sync": "^0.3.0",
  59. "@release-it-plugins/workspaces": "^4.2.0",
  60. "@rollup/plugin-babel": "6.0.4",
  61. "@rollup/plugin-commonjs": "25.0.7",
  62. "@rollup/plugin-node-resolve": "15.2.3",
  63. "@svgr/babel-plugin-replace-jsx-attribute-value": "8.0.0",
  64. "@svgr/core": "8.1.0",
  65. "@testing-library/jest-dom": "^6.2.0",
  66. "@vue/babel-plugin-jsx": "^1.1.6",
  67. "adm-zip": "^0.5.10",
  68. "cheerio": "^1.0.0-rc.12",
  69. "csv-parser": "^3.0.0",
  70. "esbuild": "^0.19.11",
  71. "fs-extra": "^11.2.0",
  72. "glob": "10.3.10",
  73. "html-minifier": "^4.0.0",
  74. "jest-serializer-html": "^7.1.0",
  75. "jsdom": "^23.2.0",
  76. "lodash.template": "4.5.0",
  77. "minimist": "1.2.8",
  78. "node-sass": "9.0.0",
  79. "parse-svg-path": "^0.1.2",
  80. "prettier": "^3.2.4",
  81. "release-it": "17.0.1",
  82. "rollup": "^4.9.5",
  83. "rollup-plugin-dts": "^6.1.0",
  84. "rollup-plugin-esbuild": "^6.1.0",
  85. "rollup-plugin-filesize": "10.0.0",
  86. "rollup-plugin-license": "^3.2.0",
  87. "rollup-plugin-peer-deps-external": "2.2.4",
  88. "rollup-plugin-rename": "^1.0.1",
  89. "rollup-plugin-terser": "7.0.2",
  90. "rollup-plugin-visualizer": "^5.12.0",
  91. "svg-outline-stroke": "1.3.1",
  92. "svgo": "^3.2.0",
  93. "svgpath": "^2.6.0",
  94. "svgson": "^5.3.1",
  95. "typescript": "^5.3.3",
  96. "vitest": "^1.1.3"
  97. },
  98. "release-it": {
  99. "plugins": {
  100. "@release-it-plugins/workspaces": true
  101. },
  102. "npm": false,
  103. "hooks": {
  104. "after:bump": "pnpm run build --latest-version ${latestVersion} --new-version ${version} --verbose",
  105. "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}.",
  106. "before:git:init": "pnpm install"
  107. },
  108. "git": {
  109. "addUntrackedFiles": true,
  110. "changelog": "pnpm run --silent changelog --latest-version ${latestTag}",
  111. "tagName": "v${version}",
  112. "_requireBranch": "master",
  113. "requireCommits": true,
  114. "requireCleanWorkingDir": false
  115. },
  116. "github": {
  117. "release": true
  118. }
  119. },
  120. "packageManager": "pnpm@7.17.0",
  121. "dependencies": {
  122. "crypto-js": "^4.2.0"
  123. }
  124. }