UNPKG

4.54 kBJSONView Raw
1{
2 "name": "uuid",
3 "version": "9.0.1",
4 "description": "RFC4122 (v1, v4, and v5) 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 ],
19 "license": "MIT",
20 "bin": {
21 "uuid": "./dist/bin/uuid"
22 },
23 "sideEffects": false,
24 "main": "./dist/index.js",
25 "exports": {
26 ".": {
27 "node": {
28 "module": "./dist/esm-node/index.js",
29 "require": "./dist/index.js",
30 "import": "./wrapper.mjs"
31 },
32 "browser": {
33 "import": "./dist/esm-browser/index.js",
34 "require": "./dist/commonjs-browser/index.js"
35 },
36 "default": "./dist/esm-browser/index.js"
37 },
38 "./package.json": "./package.json"
39 },
40 "module": "./dist/esm-node/index.js",
41 "browser": {
42 "./dist/md5.js": "./dist/md5-browser.js",
43 "./dist/native.js": "./dist/native-browser.js",
44 "./dist/rng.js": "./dist/rng-browser.js",
45 "./dist/sha1.js": "./dist/sha1-browser.js",
46 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
47 },
48 "files": [
49 "CHANGELOG.md",
50 "CONTRIBUTING.md",
51 "LICENSE.md",
52 "README.md",
53 "dist",
54 "wrapper.mjs"
55 ],
56 "devDependencies": {
57 "@babel/cli": "7.18.10",
58 "@babel/core": "7.18.10",
59 "@babel/eslint-parser": "7.18.9",
60 "@babel/preset-env": "7.18.10",
61 "@commitlint/cli": "17.0.3",
62 "@commitlint/config-conventional": "17.0.3",
63 "bundlewatch": "0.3.3",
64 "eslint": "8.21.0",
65 "eslint-config-prettier": "8.5.0",
66 "eslint-config-standard": "17.0.0",
67 "eslint-plugin-import": "2.26.0",
68 "eslint-plugin-node": "11.1.0",
69 "eslint-plugin-prettier": "4.2.1",
70 "eslint-plugin-promise": "6.0.0",
71 "husky": "8.0.1",
72 "jest": "28.1.3",
73 "lint-staged": "13.0.3",
74 "npm-run-all": "4.1.5",
75 "optional-dev-dependency": "2.0.1",
76 "prettier": "2.7.1",
77 "random-seed": "0.3.0",
78 "runmd": "1.3.9",
79 "standard-version": "9.5.0"
80 },
81 "optionalDevDependencies": {
82 "@wdio/browserstack-service": "7.16.10",
83 "@wdio/cli": "7.16.10",
84 "@wdio/jasmine-framework": "7.16.6",
85 "@wdio/local-runner": "7.16.10",
86 "@wdio/spec-reporter": "7.16.9",
87 "@wdio/static-server-service": "7.16.6"
88 },
89 "scripts": {
90 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
91 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
92 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
93 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
94 "examples:node:jest:test": "cd examples/node-jest && npm install && npm test",
95 "prepare": "cd $( git rev-parse --show-toplevel ) && husky install",
96 "lint": "npm run eslint:check && npm run prettier:check",
97 "eslint:check": "eslint src/ test/ examples/ *.js",
98 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
99 "pretest": "[ -n $CI ] || npm run build",
100 "test": "BABEL_ENV=commonjsNode node --throw-deprecation node_modules/.bin/jest test/unit/",
101 "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
102 "test:browser": "wdio run ./wdio.conf.js",
103 "pretest:node": "npm run build",
104 "test:node": "npm-run-all --parallel examples:node:**",
105 "test:pack": "./scripts/testpack.sh",
106 "pretest:benchmark": "npm run build",
107 "test:benchmark": "cd examples/benchmark && npm install && npm test",
108 "prettier:check": "prettier --check '**/*.{js,jsx,json,md}'",
109 "prettier:fix": "prettier --write '**/*.{js,jsx,json,md}'",
110 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
111 "md": "runmd --watch --output=README.md README_js.md",
112 "docs": "( node --version | grep -q 'v18' ) && ( npm run build && npx runmd --output=README.md README_js.md )",
113 "docs:diff": "npm run docs && git diff --quiet README.md",
114 "build": "./scripts/build.sh",
115 "prepack": "npm run build",
116 "release": "standard-version --no-verify"
117 },
118 "repository": {
119 "type": "git",
120 "url": "https://github.com/uuidjs/uuid.git"
121 },
122 "lint-staged": {
123 "*.{js,jsx,json,md}": [
124 "prettier --write"
125 ],
126 "*.{js,jsx}": [
127 "eslint --fix"
128 ]
129 },
130 "standard-version": {
131 "scripts": {
132 "postchangelog": "prettier --write CHANGELOG.md"
133 }
134 }
135}