package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "_from": "uuid",
  3. "_id": "uuid@9.0.1",
  4. "_inBundle": false,
  5. "_integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
  6. "_location": "/uuid",
  7. "_phantomChildren": {},
  8. "_requested": {
  9. "type": "tag",
  10. "registry": true,
  11. "raw": "uuid",
  12. "name": "uuid",
  13. "escapedName": "uuid",
  14. "rawSpec": "",
  15. "saveSpec": null,
  16. "fetchSpec": "latest"
  17. },
  18. "_requiredBy": [
  19. "#USER",
  20. "/"
  21. ],
  22. "_resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
  23. "_shasum": "e188d4c8853cc722220392c424cd637f32293f30",
  24. "_spec": "uuid",
  25. "_where": "C:\\Users\\LvKun\\Desktop\\offline-pdf-app\\server",
  26. "bin": {
  27. "uuid": "dist/bin/uuid"
  28. },
  29. "browser": {
  30. "./dist/md5.js": "./dist/md5-browser.js",
  31. "./dist/native.js": "./dist/native-browser.js",
  32. "./dist/rng.js": "./dist/rng-browser.js",
  33. "./dist/sha1.js": "./dist/sha1-browser.js",
  34. "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
  35. },
  36. "bugs": {
  37. "url": "https://github.com/uuidjs/uuid/issues"
  38. },
  39. "bundleDependencies": false,
  40. "commitlint": {
  41. "extends": [
  42. "@commitlint/config-conventional"
  43. ]
  44. },
  45. "deprecated": false,
  46. "description": "RFC4122 (v1, v4, and v5) UUIDs",
  47. "devDependencies": {
  48. "@babel/cli": "7.18.10",
  49. "@babel/core": "7.18.10",
  50. "@babel/eslint-parser": "7.18.9",
  51. "@babel/preset-env": "7.18.10",
  52. "@commitlint/cli": "17.0.3",
  53. "@commitlint/config-conventional": "17.0.3",
  54. "bundlewatch": "0.3.3",
  55. "eslint": "8.21.0",
  56. "eslint-config-prettier": "8.5.0",
  57. "eslint-config-standard": "17.0.0",
  58. "eslint-plugin-import": "2.26.0",
  59. "eslint-plugin-node": "11.1.0",
  60. "eslint-plugin-prettier": "4.2.1",
  61. "eslint-plugin-promise": "6.0.0",
  62. "husky": "8.0.1",
  63. "jest": "28.1.3",
  64. "lint-staged": "13.0.3",
  65. "npm-run-all": "4.1.5",
  66. "optional-dev-dependency": "2.0.1",
  67. "prettier": "2.7.1",
  68. "random-seed": "0.3.0",
  69. "runmd": "1.3.9",
  70. "standard-version": "9.5.0"
  71. },
  72. "exports": {
  73. ".": {
  74. "node": {
  75. "module": "./dist/esm-node/index.js",
  76. "require": "./dist/index.js",
  77. "import": "./wrapper.mjs"
  78. },
  79. "browser": {
  80. "import": "./dist/esm-browser/index.js",
  81. "require": "./dist/commonjs-browser/index.js"
  82. },
  83. "default": "./dist/esm-browser/index.js"
  84. },
  85. "./package.json": "./package.json"
  86. },
  87. "files": [
  88. "CHANGELOG.md",
  89. "CONTRIBUTING.md",
  90. "LICENSE.md",
  91. "README.md",
  92. "dist",
  93. "wrapper.mjs"
  94. ],
  95. "funding": [
  96. "https://github.com/sponsors/broofa",
  97. "https://github.com/sponsors/ctavan"
  98. ],
  99. "homepage": "https://github.com/uuidjs/uuid#readme",
  100. "keywords": [
  101. "uuid",
  102. "guid",
  103. "rfc4122"
  104. ],
  105. "license": "MIT",
  106. "lint-staged": {
  107. "*.{js,jsx,json,md}": [
  108. "prettier --write"
  109. ],
  110. "*.{js,jsx}": [
  111. "eslint --fix"
  112. ]
  113. },
  114. "main": "./dist/index.js",
  115. "module": "./dist/esm-node/index.js",
  116. "name": "uuid",
  117. "optionalDevDependencies": {
  118. "@wdio/browserstack-service": "7.16.10",
  119. "@wdio/cli": "7.16.10",
  120. "@wdio/jasmine-framework": "7.16.6",
  121. "@wdio/local-runner": "7.16.10",
  122. "@wdio/spec-reporter": "7.16.9",
  123. "@wdio/static-server-service": "7.16.6"
  124. },
  125. "repository": {
  126. "type": "git",
  127. "url": "git+https://github.com/uuidjs/uuid.git"
  128. },
  129. "scripts": {
  130. "build": "./scripts/build.sh",
  131. "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
  132. "docs": "( node --version | grep -q 'v18' ) && ( npm run build && npx runmd --output=README.md README_js.md )",
  133. "docs:diff": "npm run docs && git diff --quiet README.md",
  134. "eslint:check": "eslint src/ test/ examples/ *.js",
  135. "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
  136. "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
  137. "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
  138. "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
  139. "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
  140. "examples:node:jest:test": "cd examples/node-jest && npm install && npm test",
  141. "lint": "npm run eslint:check && npm run prettier:check",
  142. "md": "runmd --watch --output=README.md README_js.md",
  143. "prepack": "npm run build",
  144. "prepare": "cd $( git rev-parse --show-toplevel ) && husky install",
  145. "pretest": "[ -n $CI ] || npm run build",
  146. "pretest:benchmark": "npm run build",
  147. "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
  148. "pretest:node": "npm run build",
  149. "prettier:check": "prettier --check '**/*.{js,jsx,json,md}'",
  150. "prettier:fix": "prettier --write '**/*.{js,jsx,json,md}'",
  151. "release": "standard-version --no-verify",
  152. "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/",
  153. "test:benchmark": "cd examples/benchmark && npm install && npm test",
  154. "test:browser": "wdio run ./wdio.conf.js",
  155. "test:node": "npm-run-all --parallel examples:node:**",
  156. "test:pack": "./scripts/testpack.sh"
  157. },
  158. "sideEffects": false,
  159. "standard-version": {
  160. "scripts": {
  161. "postchangelog": "prettier --write CHANGELOG.md"
  162. }
  163. },
  164. "version": "9.0.1"
  165. }