package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "name": "@radix-ui/number",
  3. "version": "1.1.1",
  4. "license": "MIT",
  5. "source": "./src/index.ts",
  6. "main": "./dist/index.js",
  7. "module": "./dist/index.mjs",
  8. "publishConfig": {
  9. "main": "./dist/index.js",
  10. "module": "./dist/index.mjs",
  11. "types": "./dist/index.d.ts",
  12. "exports": {
  13. ".": {
  14. "import": {
  15. "types": "./dist/index.d.mts",
  16. "default": "./dist/index.mjs"
  17. },
  18. "require": {
  19. "types": "./dist/index.d.ts",
  20. "default": "./dist/index.js"
  21. }
  22. }
  23. }
  24. },
  25. "files": [
  26. "dist",
  27. "README.md"
  28. ],
  29. "sideEffects": false,
  30. "scripts": {
  31. "lint": "eslint --max-warnings 0 src",
  32. "clean": "rm -rf dist",
  33. "version": "yarn version"
  34. },
  35. "devDependencies": {
  36. "@repo/eslint-config": "0.0.0",
  37. "@repo/typescript-config": "0.0.0",
  38. "eslint": "^9.18.0",
  39. "typescript": "^5.7.3"
  40. },
  41. "homepage": "https://radix-ui.com/primitives",
  42. "repository": {
  43. "type": "git",
  44. "url": "git+https://github.com/radix-ui/primitives.git"
  45. },
  46. "bugs": {
  47. "url": "https://github.com/radix-ui/primitives/issues"
  48. },
  49. "exports": {
  50. ".": {
  51. "import": {
  52. "types": "./dist/index.d.mts",
  53. "default": "./dist/index.mjs"
  54. },
  55. "require": {
  56. "types": "./dist/index.d.ts",
  57. "default": "./dist/index.js"
  58. }
  59. }
  60. },
  61. "types": "./dist/index.d.ts"
  62. }