1 | {
|
2 | "name": "uuid",
|
3 | "version": "8.3.0",
|
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.10.3",
|
49 | "@babel/core": "7.10.3",
|
50 | "@babel/preset-env": "7.10.3",
|
51 | "@commitlint/cli": "9.1.2",
|
52 | "@commitlint/config-conventional": "9.0.1",
|
53 | "@rollup/plugin-node-resolve": "8.0.1",
|
54 | "@wdio/browserstack-service": "6.1.15",
|
55 | "@wdio/cli": "6.1.20",
|
56 | "@wdio/jasmine-framework": "6.1.17",
|
57 | "@wdio/local-runner": "6.1.20",
|
58 | "@wdio/spec-reporter": "6.1.14",
|
59 | "@wdio/static-server-service": "6.1.14",
|
60 | "@wdio/sync": "6.1.14",
|
61 | "babel-eslint": "10.1.0",
|
62 | "bundlewatch": "0.2.7",
|
63 | "eslint": "7.3.0",
|
64 | "eslint-config-prettier": "6.11.0",
|
65 | "eslint-config-standard": "14.1.1",
|
66 | "eslint-plugin-import": "2.21.2",
|
67 | "eslint-plugin-node": "11.1.0",
|
68 | "eslint-plugin-prettier": "3.1.4",
|
69 | "eslint-plugin-promise": "4.2.1",
|
70 | "eslint-plugin-standard": "4.0.1",
|
71 | "husky": "4.2.5",
|
72 | "jest": "25.5.4",
|
73 | "lint-staged": "10.2.11",
|
74 | "npm-run-all": "4.1.5",
|
75 | "prettier": "2.0.5",
|
76 | "random-seed": "0.3.0",
|
77 | "rollup": "2.18.0",
|
78 | "rollup-plugin-terser": "6.1.0",
|
79 | "runmd": "1.3.2",
|
80 | "standard-version": "8.0.2"
|
81 | },
|
82 | "scripts": {
|
83 | "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
|
84 | "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
|
85 | "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
|
86 | "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
|
87 | "lint": "npm run eslint:check && npm run prettier:check",
|
88 | "eslint:check": "eslint src/ test/ examples/ *.js",
|
89 | "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
|
90 | "pretest": "[ -n $CI ] || npm run build",
|
91 | "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
|
92 | "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
|
93 | "test:browser": "wdio run ./wdio.conf.js",
|
94 | "pretest:node": "npm run build",
|
95 | "test:node": "npm-run-all --parallel examples:node:**",
|
96 | "test:pack": "./scripts/testpack.sh",
|
97 | "pretest:benchmark": "npm run build",
|
98 | "test:benchmark": "cd examples/benchmark && npm install && npm test",
|
99 | "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
|
100 | "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
|
101 | "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
|
102 | "md": "runmd --watch --output=README.md README_js.md",
|
103 | "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
|
104 | "docs:diff": "npm run docs && git diff --quiet README.md",
|
105 | "build": "./scripts/build.sh",
|
106 | "prepack": "npm run build",
|
107 | "release": "standard-version --no-verify"
|
108 | },
|
109 | "repository": {
|
110 | "type": "git",
|
111 | "url": "https://github.com/uuidjs/uuid.git"
|
112 | },
|
113 | "husky": {
|
114 | "hooks": {
|
115 | "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
116 | "pre-commit": "lint-staged"
|
117 | }
|
118 | },
|
119 | "lint-staged": {
|
120 | "*.{js,jsx,json,md}": [
|
121 | "prettier --write"
|
122 | ],
|
123 | "*.{js,jsx}": [
|
124 | "eslint --fix"
|
125 | ]
|
126 | },
|
127 | "standard-version": {
|
128 | "scripts": {
|
129 | "postchangelog": "prettier --write CHANGELOG.md"
|
130 | }
|
131 | }
|
132 | }
|