1 | {
|
2 | "name": "uuid",
|
3 | "version": "10.0.0",
|
4 | "description": "RFC9562 UUIDs",
|
5 | "funding": [
|
6 | "https://github.com/sponsors/broofa",
|
7 | "https://github.com/sponsors/ctavan"
|
8 | ],
|
9 | "commitlint": {
|
10 | "extends": [
|
11 | "@commitlint/config-conventional"
|
12 | ]
|
13 | },
|
14 | "keywords": [
|
15 | "uuid",
|
16 | "guid",
|
17 | "rfc4122",
|
18 | "rfc9562"
|
19 | ],
|
20 | "license": "MIT",
|
21 | "bin": {
|
22 | "uuid": "dist/bin/uuid"
|
23 | },
|
24 | "sideEffects": false,
|
25 | "main": "./dist/index.js",
|
26 | "exports": {
|
27 | ".": {
|
28 | "node": {
|
29 | "module": "./dist/esm-node/index.js",
|
30 | "require": "./dist/index.js",
|
31 | "import": "./wrapper.mjs"
|
32 | },
|
33 | "browser": {
|
34 | "import": "./dist/esm-browser/index.js",
|
35 | "require": "./dist/commonjs-browser/index.js"
|
36 | },
|
37 | "default": "./dist/esm-browser/index.js"
|
38 | },
|
39 | "./package.json": "./package.json"
|
40 | },
|
41 | "module": "./dist/esm-node/index.js",
|
42 | "browser": {
|
43 | "./dist/esm-node/index.js": "./dist/esm-browser/index.js",
|
44 | "./dist/md5.js": "./dist/md5-browser.js",
|
45 | "./dist/native.js": "./dist/native-browser.js",
|
46 | "./dist/rng.js": "./dist/rng-browser.js",
|
47 | "./dist/sha1.js": "./dist/sha1-browser.js"
|
48 | },
|
49 | "files": [
|
50 | "CHANGELOG.md",
|
51 | "CONTRIBUTING.md",
|
52 | "LICENSE.md",
|
53 | "README.md",
|
54 | "dist",
|
55 | "wrapper.mjs"
|
56 | ],
|
57 | "devDependencies": {
|
58 | "@babel/cli": "7.24.6",
|
59 | "@babel/core": "7.24.6",
|
60 | "@babel/eslint-parser": "7.24.6",
|
61 | "@babel/plugin-syntax-import-attributes": "7.24.6",
|
62 | "@babel/preset-env": "7.24.6",
|
63 | "@commitlint/cli": "19.3.0",
|
64 | "@commitlint/config-conventional": "19.2.2",
|
65 | "@wdio/browserstack-service": "7.16.10",
|
66 | "@wdio/cli": "7.16.10",
|
67 | "@wdio/jasmine-framework": "7.16.6",
|
68 | "@wdio/local-runner": "7.16.10",
|
69 | "@wdio/spec-reporter": "7.16.9",
|
70 | "@wdio/static-server-service": "7.16.6",
|
71 | "bundlewatch": "0.3.3",
|
72 | "eslint": "9.4.0",
|
73 | "eslint-plugin-prettier": "5.1.3",
|
74 | "globals": "15.3.0",
|
75 | "husky": "9.0.11",
|
76 | "jest": "29.7.0",
|
77 | "lint-staged": "15.2.5",
|
78 | "neostandard": "0.5.1",
|
79 | "npm-run-all": "4.1.5",
|
80 | "optional-dev-dependency": "2.0.1",
|
81 | "prettier": "3.3.0",
|
82 | "random-seed": "0.3.0",
|
83 | "runmd": "1.3.9",
|
84 | "standard-version": "9.5.0"
|
85 | },
|
86 | "optionalDevDependencies": {
|
87 | "@wdio/browserstack-service": "7.16.10",
|
88 | "@wdio/cli": "7.16.10",
|
89 | "@wdio/jasmine-framework": "7.16.6",
|
90 | "@wdio/local-runner": "7.16.10",
|
91 | "@wdio/spec-reporter": "7.16.9",
|
92 | "@wdio/static-server-service": "7.16.6"
|
93 | },
|
94 | "scripts": {
|
95 | "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
96 | "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
97 | "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
|
98 | "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
|
99 | "examples:node:jest:test": "cd examples/node-jest && npm install && npm test",
|
100 | "prepare": "husky install",
|
101 | "lint": "npm run eslint:check && npm run prettier:check",
|
102 | "eslint:check": "eslint src/ test/ examples/ *.js",
|
103 | "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
104 | "pretest": "npm run build",
|
105 | "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/",
|
106 | "test:matching": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/ -t",
|
107 | "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
|
108 | "test:browser": "wdio run ./wdio.conf.js",
|
109 | "pretest:node": "npm run build",
|
110 | "test:node": "npm-run-all --parallel examples:node:**",
|
111 | "test:pack": "./scripts/testpack.sh",
|
112 | "pretest:benchmark": "npm run build",
|
113 | "test:benchmark": "cd examples/benchmark && HUSKY=0 npm install && npm test",
|
114 | "prettier:check": "prettier --check .",
|
115 | "prettier:fix": "prettier --write .",
|
116 | "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
117 | "md": "runmd --watch --output=README.md README_js.md",
|
118 | "docs": "npm run build && npx runmd --output=README.md README_js.md",
|
119 | "docs:diff": "npm run docs && git diff --quiet README.md",
|
120 | "build": "./scripts/build.sh",
|
121 | "prepack": "npm run build",
|
122 | "release": "standard-version --no-verify"
|
123 | },
|
124 | "repository": {
|
125 | "type": "git",
|
126 | "url": "git+https://github.com/uuidjs/uuid.git"
|
127 | },
|
128 | "lint-staged": {
|
129 | "*": [
|
130 | "prettier --no-error-on-unmatched-pattern --write"
|
131 | ],
|
132 | "*.{js,jsx}": [
|
133 | "eslint --no-error-on-unmatched-pattern --fix"
|
134 | ]
|
135 | },
|
136 | "standard-version": {
|
137 | "scripts": {
|
138 | "postchangelog": "prettier --write CHANGELOG.md"
|
139 | }
|
140 | },
|
141 | "packageManager": "npm@10.8.1+sha256.b8807aebb9656758e2872fa6e7c564b506aa2faa9297439a478d471d2fe32483"
|
142 | }
|