package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "@tabler/icons",
  3. "version": "2.14.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. "categories/*",
  28. "tabler-sprite.svg",
  29. "tabler-sprite-nostroke.svg"
  30. ],
  31. "homepage": "https://tabler-icons.io",
  32. "bugs": {
  33. "url": "https://github.com/tabler/tabler-icons/issues"
  34. },
  35. "funding": {
  36. "type": "github",
  37. "url": "https://github.com/sponsors/codecalm"
  38. },
  39. "scripts": {
  40. "build": "pnpm run clean && pnpm run copy && pnpm run build:icons && pnpm run build:es && pnpm run build:bundles",
  41. "build:icons": "node build.mjs",
  42. "build:es": "babel src -d dist/esm",
  43. "build:bundles": "rollup -c ./rollup.config.mjs",
  44. "copy": "pnpm run copy:license && pnpm run copy:icons && pnpm run copy:tags",
  45. "copy:icons": "mkdir -p ./icons && cp ../../icons/*.svg ./icons/",
  46. "copy:tags": "cp ../../tags.json tags.json",
  47. "copy:license": "cp ../../LICENSE ./LICENSE",
  48. "clean": "rm -rf dist && rm -rf src/icons/*.js && rm -rf icons",
  49. "test": "jest --env=jsdom"
  50. },
  51. "keywords": [
  52. "icons",
  53. "svg",
  54. "png",
  55. "iconfont",
  56. "react",
  57. "front-end",
  58. "web"
  59. ],
  60. "devDependencies": {
  61. "babel-jest": "^29.4.1",
  62. "jest": "^29.4.1",
  63. "jest-environment-jsdom": "^29.4.1"
  64. },
  65. "jest": {
  66. "testEnvironmentOptions": {
  67. "customExportConditions": [
  68. "node",
  69. "node-addons"
  70. ]
  71. },
  72. "transform": {
  73. "^.+\\.js$": "babel-jest"
  74. }
  75. }
  76. }