package.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "uuid",
  3. "version": "11.1.0",
  4. "description": "RFC9562 UUIDs",
  5. "type": "module",
  6. "funding": [
  7. "https://github.com/sponsors/broofa",
  8. "https://github.com/sponsors/ctavan"
  9. ],
  10. "commitlint": {
  11. "extends": [
  12. "@commitlint/config-conventional"
  13. ]
  14. },
  15. "keywords": [
  16. "uuid",
  17. "guid",
  18. "rfc4122",
  19. "rfc9562"
  20. ],
  21. "license": "MIT",
  22. "bin": {
  23. "uuid": "./dist/esm/bin/uuid"
  24. },
  25. "sideEffects": false,
  26. "main": "./dist/cjs/index.js",
  27. "exports": {
  28. ".": {
  29. "node": {
  30. "import": "./dist/esm/index.js",
  31. "require": "./dist/cjs/index.js"
  32. },
  33. "browser": {
  34. "import": "./dist/esm-browser/index.js",
  35. "require": "./dist/cjs-browser/index.js"
  36. },
  37. "default": "./dist/esm-browser/index.js"
  38. },
  39. "./package.json": "./package.json"
  40. },
  41. "module": "./dist/esm/index.js",
  42. "browser": {
  43. "./dist/esm/index.js": "./dist/esm-browser/index.js",
  44. "./dist/cjs/index.js": "./dist/cjs-browser/index.js"
  45. },
  46. "files": [
  47. "dist",
  48. "!dist/**/test"
  49. ],
  50. "devDependencies": {
  51. "@babel/eslint-parser": "7.25.9",
  52. "@commitlint/cli": "19.6.1",
  53. "@commitlint/config-conventional": "19.6.0",
  54. "@eslint/js": "9.17.0",
  55. "@types/eslint__js": "8.42.3",
  56. "bundlewatch": "0.4.0",
  57. "commander": "12.1.0",
  58. "eslint": "9.17.0",
  59. "eslint-config-prettier": "9.1.0",
  60. "eslint-plugin-prettier": "5.2.1",
  61. "globals": "15.14.0",
  62. "husky": "9.1.7",
  63. "jest": "29.7.0",
  64. "lint-staged": "15.2.11",
  65. "neostandard": "0.12.0",
  66. "npm-run-all": "4.1.5",
  67. "prettier": "3.4.2",
  68. "release-please": "16.15.0",
  69. "runmd": "1.4.1",
  70. "standard-version": "9.5.0",
  71. "typescript": "5.0.4",
  72. "typescript-eslint": "8.18.2"
  73. },
  74. "optionalDevDependencies": {
  75. "@wdio/browserstack-service": "9.2.1",
  76. "@wdio/cli": "9.2.1",
  77. "@wdio/jasmine-framework": "9.2.1",
  78. "@wdio/local-runner": "9.2.1",
  79. "@wdio/spec-reporter": "9.1.3",
  80. "@wdio/static-server-service": "9.1.3"
  81. },
  82. "scripts": {
  83. "build": "./scripts/build.sh",
  84. "build:watch": "tsc --watch -p tsconfig.esm.json",
  85. "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
  86. "docs:diff": "npm run docs && git diff --quiet README.md",
  87. "docs": "npm run build && npx runmd --output=README.md README_js.md",
  88. "eslint:check": "eslint src/ test/ examples/ *.[jt]s",
  89. "eslint:fix": "eslint --fix src/ test/ examples/ *.[jt]s",
  90. "examples:browser:rollup:build": "cd examples/browser-rollup && npm run build",
  91. "examples:browser:webpack:build": "cd examples/browser-webpack && npm run build",
  92. "examples:node:commonjs:test": "cd examples/node-commonjs && npm test",
  93. "examples:node:esmodules:test": "cd examples/node-esmodules && npm test",
  94. "examples:node:jest:test": "cd examples/node-jest && npm test",
  95. "examples:node:typescript:test": "cd examples/typescript && npm test",
  96. "lint": "npm run eslint:check && npm run prettier:check",
  97. "md": "runmd --watch --output=README.md README_js.md",
  98. "prepack": "npm run build -- --no-pack",
  99. "prepare": "husky",
  100. "prepublishOnly": "npm run build",
  101. "pretest:benchmark": "npm run build",
  102. "pretest:browser": "./scripts/iodd && npm run build && npm-run-all --parallel examples:browser:**",
  103. "pretest:node": "npm run build",
  104. "pretest": "npm run build",
  105. "prettier:check": "prettier --check .",
  106. "prettier:fix": "prettier --write .",
  107. "release": "standard-version --no-verify",
  108. "test:benchmark": "cd examples/benchmark && npm test",
  109. "test:browser": "wdio run ./wdio.conf.js",
  110. "test:node": "npm-run-all --parallel examples:node:**",
  111. "test:watch": "node --test --enable-source-maps --watch dist/esm/test/*.js",
  112. "test": "node --test --enable-source-maps dist/esm/test/*.js"
  113. },
  114. "repository": {
  115. "type": "git",
  116. "url": "https://github.com/uuidjs/uuid.git"
  117. },
  118. "lint-staged": {
  119. "*": [
  120. "prettier --no-error-on-unmatched-pattern --write"
  121. ],
  122. "*.{js,jsx}": [
  123. "eslint --no-error-on-unmatched-pattern --fix"
  124. ]
  125. },
  126. "standard-version": {
  127. "scripts": {
  128. "postchangelog": "prettier --write CHANGELOG.md"
  129. }
  130. },
  131. "packageManager": "npm@11.0.0"
  132. }