package.json 5.2 KB

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