UNPKG

4.43 kBJSONView Raw
1{
2 "name": "uuid",
3 "version": "8.3.1",
4 "description": "RFC4122 (v1, v4, and v5) UUIDs",
5 "commitlint": {
6 "extends": [
7 "@commitlint/config-conventional"
8 ]
9 },
10 "keywords": [
11 "uuid",
12 "guid",
13 "rfc4122"
14 ],
15 "license": "MIT",
16 "bin": {
17 "uuid": "./dist/bin/uuid"
18 },
19 "sideEffects": false,
20 "main": "./dist/index.js",
21 "exports": {
22 ".": {
23 "node": {
24 "module": "./dist/esm-node/index.js",
25 "require": "./dist/index.js",
26 "import": "./wrapper.mjs"
27 },
28 "default": "./dist/esm-browser/index.js"
29 },
30 "./package.json": "./package.json"
31 },
32 "module": "./dist/esm-node/index.js",
33 "browser": {
34 "./dist/md5.js": "./dist/md5-browser.js",
35 "./dist/rng.js": "./dist/rng-browser.js",
36 "./dist/sha1.js": "./dist/sha1-browser.js",
37 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
38 },
39 "files": [
40 "CHANGELOG.md",
41 "CONTRIBUTING.md",
42 "LICENSE.md",
43 "README.md",
44 "dist",
45 "wrapper.mjs"
46 ],
47 "devDependencies": {
48 "@babel/cli": "7.11.6",
49 "@babel/core": "7.11.6",
50 "@babel/preset-env": "7.11.5",
51 "@commitlint/cli": "11.0.0",
52 "@commitlint/config-conventional": "11.0.0",
53 "@rollup/plugin-node-resolve": "9.0.0",
54 "babel-eslint": "10.1.0",
55 "bundlewatch": "0.3.1",
56 "eslint": "7.10.0",
57 "eslint-config-prettier": "6.12.0",
58 "eslint-config-standard": "14.1.1",
59 "eslint-plugin-import": "2.22.1",
60 "eslint-plugin-node": "11.1.0",
61 "eslint-plugin-prettier": "3.1.4",
62 "eslint-plugin-promise": "4.2.1",
63 "eslint-plugin-standard": "4.0.1",
64 "husky": "4.3.0",
65 "jest": "25.5.4",
66 "lint-staged": "10.4.0",
67 "npm-run-all": "4.1.5",
68 "optional-dev-dependency": "2.0.1",
69 "prettier": "2.1.2",
70 "random-seed": "0.3.0",
71 "rollup": "2.28.2",
72 "rollup-plugin-terser": "7.0.2",
73 "runmd": "1.3.2",
74 "standard-version": "9.0.0"
75 },
76 "optionalDevDependencies": {
77 "@wdio/browserstack-service": "6.4.0",
78 "@wdio/cli": "6.4.0",
79 "@wdio/jasmine-framework": "6.4.0",
80 "@wdio/local-runner": "6.4.0",
81 "@wdio/spec-reporter": "6.4.0",
82 "@wdio/static-server-service": "6.4.0",
83 "@wdio/sync": "6.4.0"
84 },
85 "scripts": {
86 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
87 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
88 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
89 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
90 "lint": "npm run eslint:check && npm run prettier:check",
91 "eslint:check": "eslint src/ test/ examples/ *.js",
92 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
93 "pretest": "[ -n $CI ] || npm run build",
94 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
95 "pretest:browser": "optional-dev-dependency && npm run build && npm-run-all --parallel examples:browser:**",
96 "test:browser": "wdio run ./wdio.conf.js",
97 "pretest:node": "npm run build",
98 "test:node": "npm-run-all --parallel examples:node:**",
99 "test:pack": "./scripts/testpack.sh",
100 "pretest:benchmark": "npm run build",
101 "test:benchmark": "cd examples/benchmark && npm install && npm test",
102 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
103 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
104 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
105 "md": "runmd --watch --output=README.md README_js.md",
106 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
107 "docs:diff": "npm run docs && git diff --quiet README.md",
108 "build": "./scripts/build.sh",
109 "prepack": "npm run build",
110 "release": "standard-version --no-verify"
111 },
112 "repository": {
113 "type": "git",
114 "url": "https://github.com/uuidjs/uuid.git"
115 },
116 "husky": {
117 "hooks": {
118 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
119 "pre-commit": "lint-staged"
120 }
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}