package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "name": "nanoid",
  3. "version": "3.3.1",
  4. "description": "A tiny (130 bytes), secure URL-friendly unique string ID generator",
  5. "keywords": [
  6. "uuid",
  7. "random",
  8. "id",
  9. "url"
  10. ],
  11. "engines": {
  12. "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
  13. },
  14. "author": "Andrey Sitnik <andrey@sitnik.ru>",
  15. "license": "MIT",
  16. "repository": "ai/nanoid",
  17. "browser": {
  18. "./index.js": "./index.browser.js",
  19. "./async/index.js": "./async/index.browser.js",
  20. "./async/index.cjs": "./async/index.browser.cjs",
  21. "./index.cjs": "./index.browser.cjs"
  22. },
  23. "react-native": "index.js",
  24. "bin": "./bin/nanoid.cjs",
  25. "sideEffects": false,
  26. "types": "./index.d.ts",
  27. "type": "module",
  28. "main": "index.cjs",
  29. "module": "index.js",
  30. "exports": {
  31. ".": {
  32. "browser": "./index.browser.js",
  33. "require": "./index.cjs",
  34. "import": "./index.js",
  35. "default": "./index.js",
  36. "types": "./index.d.ts"
  37. },
  38. "./package.json": "./package.json",
  39. "./async/package.json": "./async/package.json",
  40. "./async": {
  41. "browser": "./async/index.browser.js",
  42. "require": "./async/index.cjs",
  43. "import": "./async/index.js",
  44. "default": "./async/index.js"
  45. },
  46. "./non-secure/package.json": "./non-secure/package.json",
  47. "./non-secure": {
  48. "require": "./non-secure/index.cjs",
  49. "import": "./non-secure/index.js",
  50. "default": "./non-secure/index.js"
  51. },
  52. "./url-alphabet/package.json": "./url-alphabet/package.json",
  53. "./url-alphabet": {
  54. "require": "./url-alphabet/index.cjs",
  55. "import": "./url-alphabet/index.js",
  56. "default": "./url-alphabet/index.js"
  57. },
  58. "./index.d.ts": "./index.d.ts"
  59. }
  60. }