package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@tabler/icons-preact",
  3. "version": "2.4.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. "homepage": "https://tabler-icons.io",
  8. "bugs": {
  9. "url": "https://github.com/tabler/tabler-icons/issues"
  10. },
  11. "funding": {
  12. "type": "github",
  13. "url": "https://github.com/sponsors/codecalm"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git+https://github.com/tabler/tabler-icons.git",
  18. "directory": "packages/icons-preact"
  19. },
  20. "main": "dist/cjs/tabler-icons-preact.js",
  21. "main:umd": "dist/umd/tabler-icons-preact.js",
  22. "module": "dist/esm/tabler-icons-preact.js",
  23. "unpkg": "dist/umd/tabler-icons-preact.min.js",
  24. "typings": "dist/tabler-icons-preact.d.ts",
  25. "sideEffects": false,
  26. "files": [
  27. "dist"
  28. ],
  29. "scripts": {
  30. "build": "pnpm run clean && pnpm run copy:license && pnpm run build:icons && pnpm run build:bundles",
  31. "build:icons": "node build.mjs",
  32. "build:bundles": "rollup -c ./rollup.config.mjs",
  33. "copy:license": "cp ../../LICENSE ./LICENSE",
  34. "clean": "rm -rf dist && rm -rf ./src/icons/*.js",
  35. "test": "pnpm run clean && pnpm run build:icons && jest --env=jsdom"
  36. },
  37. "dependencies": {
  38. "@tabler/icons": "workspace:*"
  39. },
  40. "peerDependencies": {
  41. "preact": "^10.5.13"
  42. },
  43. "devDependencies": {
  44. "@babel/preset-env": "7.11.5",
  45. "@preact/preset-vite": "^2.5.0",
  46. "@testing-library/jest-dom": "^5.16.5",
  47. "@testing-library/preact": "^3.2.2",
  48. "babel-preset-preact": "^2.0.0",
  49. "babel-jest": "^29.4.1",
  50. "jest": "^29.3.1",
  51. "jest-environment-jsdom": "^29.4.1",
  52. "preact": "^10.11.3"
  53. },
  54. "jest": {
  55. "testEnvironmentOptions": {
  56. "customExportConditions": [
  57. "node",
  58. "node-addons"
  59. ]
  60. },
  61. "transform": {
  62. "^.+\\.js$": "babel-jest"
  63. }
  64. }
  65. }