UNPKG

4.3 kBJSONView Raw
1{
2 "name": "uuid",
3 "version": "8.2.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.0.1",
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 "rollup": "2.18.0",
77 "rollup-plugin-terser": "6.1.0",
78 "runmd": "1.3.2",
79 "standard-version": "8.0.0"
80 },
81 "scripts": {
82 "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build",
83 "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build",
84 "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test",
85 "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test",
86 "lint": "npm run eslint:check && npm run prettier:check",
87 "eslint:check": "eslint src/ test/ examples/ *.js",
88 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
89 "pretest": "[ -n $CI ] || npm run build",
90 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
91 "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**",
92 "test:browser": "wdio run ./wdio.conf.js",
93 "pretest:node": "npm run build",
94 "test:node": "npm-run-all --parallel examples:node:**",
95 "test:pack": "./scripts/testpack.sh",
96 "pretest:benchmark": "npm run build",
97 "test:benchmark": "cd examples/benchmark && npm install && npm test",
98 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
99 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
100 "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json",
101 "md": "runmd --watch --output=README.md README_js.md",
102 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
103 "docs:diff": "npm run docs && git diff --quiet README.md",
104 "build": "./scripts/build.sh",
105 "prepack": "npm run build",
106 "release": "standard-version --no-verify"
107 },
108 "repository": {
109 "type": "git",
110 "url": "https://github.com/uuidjs/uuid.git"
111 },
112 "husky": {
113 "hooks": {
114 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
115 "pre-commit": "lint-staged"
116 }
117 },
118 "lint-staged": {
119 "*.{js,jsx,json,md}": [
120 "prettier --write"
121 ],
122 "*.{js,jsx}": [
123 "eslint --fix"
124 ]
125 },
126 "standard-version": {
127 "scripts": {
128 "postchangelog": "prettier --write CHANGELOG.md"
129 }
130 }
131}