UNPKG

3.79 kBJSONView Raw
1{
2 "name": "uuid",
3 "version": "7.0.3",
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 "module": "dist/esm-node/index.js",
22 "browser": {
23 "./dist/md5.js": "./dist/md5-browser.js",
24 "./dist/rng.js": "./dist/rng-browser.js",
25 "./dist/sha1.js": "./dist/sha1-browser.js",
26 "./dist/esm-node/index.js": "./dist/esm-browser/index.js"
27 },
28 "files": [
29 "CHANGELOG.md",
30 "CONTRIBUTING.md",
31 "LICENSE.md",
32 "README.md",
33 "deprecate.js",
34 "dist",
35 "v1.js",
36 "v3.js",
37 "v4.js",
38 "v5.js"
39 ],
40 "devDependencies": {
41 "@babel/cli": "7.8.4",
42 "@babel/core": "7.8.7",
43 "@babel/preset-env": "7.8.7",
44 "@commitlint/cli": "8.3.5",
45 "@commitlint/config-conventional": "8.3.4",
46 "@rollup/plugin-node-resolve": "7.1.1",
47 "@wdio/browserstack-service": "5.18.7",
48 "@wdio/cli": "5.18.7",
49 "@wdio/jasmine-framework": "5.18.6",
50 "@wdio/local-runner": "5.18.7",
51 "@wdio/spec-reporter": "5.18.7",
52 "@wdio/static-server-service": "5.16.10",
53 "@wdio/sync": "5.18.7",
54 "babel-eslint": "10.1.0",
55 "babel-plugin-add-module-exports": "1.0.2",
56 "bundlewatch": "0.2.6",
57 "eslint": "6.8.0",
58 "eslint-config-prettier": "6.10.0",
59 "eslint-plugin-prettier": "3.1.2",
60 "husky": "3.0.9",
61 "jest": "25.1.0",
62 "lint-staged": "10.0.8",
63 "npm-run-all": "4.1.5",
64 "prettier": "1.19.1",
65 "rollup": "1.32.0",
66 "rollup-plugin-terser": "5.2.0",
67 "runmd": "1.3.2",
68 "standard-version": "7.1.0"
69 },
70 "scripts": {
71 "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
72 "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
73 "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
74 "lint": "npm run eslint:check && npm run prettier:check",
75 "eslint:check": "eslint src/ test/ examples/ *.js",
76 "eslint:fix": "eslint --fix src/ test/ examples/ *.js",
77 "pretest": "npm run build",
78 "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/",
79 "pretest:browser": "npm run build && npm-run-all --parallel examples:**",
80 "test:browser": "wdio run ./wdio.conf.js",
81 "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
82 "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
83 "ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff && npm run bundlewatch",
84 "bundlewatch": "( node --version | grep -vq 'v12' ) || ( npm run pretest:browser && bundlewatch --config bundlewatch.config.json )",
85 "md": "runmd --watch --output=README.md README_js.md",
86 "docs": "( node --version | grep -q 'v12' ) && ( npm run build && runmd --output=README.md README_js.md )",
87 "docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
88 "build": "./scripts/build.sh",
89 "release": "standard-version --no-verify"
90 },
91 "repository": {
92 "type": "git",
93 "url": "https://github.com/uuidjs/uuid.git"
94 },
95 "husky": {
96 "hooks": {
97 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
98 "pre-commit": "lint-staged"
99 }
100 },
101 "lint-staged": {
102 "*.{js,jsx,json,md}": [
103 "prettier --write"
104 ],
105 "*.{js,jsx}": [
106 "eslint --fix"
107 ]
108 },
109 "standard-version": {
110 "scripts": {
111 "postchangelog": "prettier --write CHANGELOG.md",
112 "postcommit": "npm run build"
113 }
114 }
115}