package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "@tabler/icons",
  3. "version": "2.5.0",
  4. "license": "MIT",
  5. "author": "codecalm",
  6. "description": "A set of free MIT-licensed high-quality SVG icons for you to use in your web projects.",
  7. "repository": {
  8. "type": "git",
  9. "url": "git+https://github.com/tabler/tabler-icons.git"
  10. },
  11. "main": "dist/cjs/tabler-icons.js",
  12. "main:umd": "dist/umd/tabler-icons.js",
  13. "exports": {
  14. "./*": [
  15. "./icons/*"
  16. ]
  17. },
  18. "module": "dist/esm/tabler-icons.js",
  19. "unpkg": "dist/umd/tabler-icons.min.js",
  20. "typings": "dist/tabler-icons.d.ts",
  21. "sideEffects": false,
  22. "files": [
  23. "dist/*",
  24. "tags.json",
  25. "tabler-nodes.json",
  26. "icons/*",
  27. "tabler-sprite.svg",
  28. "tabler-sprite-nostroke.svg"
  29. ],
  30. "homepage": "https://tabler-icons.io",
  31. "bugs": {
  32. "url": "https://github.com/tabler/tabler-icons/issues"
  33. },
  34. "funding": {
  35. "type": "github",
  36. "url": "https://github.com/sponsors/codecalm"
  37. },
  38. "scripts": {
  39. "build": "pnpm run clean && pnpm run copy && pnpm run build:icons && pnpm run build:es && pnpm run build:bundles",
  40. "build:icons": "node build.mjs",
  41. "build:es": "babel src -d dist/esm",
  42. "build:bundles": "rollup -c ./rollup.config.mjs",
  43. "copy": "pnpm run copy:license && pnpm run copy:icons && pnpm run copy:tags",
  44. "copy:icons": "mkdir -p ./icons && cp ../../icons/*.svg ./icons/",
  45. "copy:tags": "cp ../../tags.json tags.json",
  46. "copy:license": "cp ../../LICENSE ./LICENSE",
  47. "clean": "rm -rf dist && rm -rf src/icons/*.js && rm -rf icons",
  48. "test": "jest --env=jsdom"
  49. },
  50. "keywords": [
  51. "icons",
  52. "svg",
  53. "png",
  54. "iconfont",
  55. "react",
  56. "front-end",
  57. "web"
  58. ],
  59. "devDependencies": {
  60. "babel-jest": "^29.4.1",
  61. "jest": "^29.4.1",
  62. "jest-environment-jsdom": "^29.4.1"
  63. },
  64. "jest": {
  65. "testEnvironmentOptions": {
  66. "customExportConditions": [
  67. "node",
  68. "node-addons"
  69. ]
  70. },
  71. "transform": {
  72. "^.+\\.js$": "babel-jest"
  73. }
  74. }
  75. }