package.json 5.3 KB

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