/
package.json
84 lines (84 loc) · 2.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "uuid",
"version": "3.3.3",
"description": "RFC4122 (v1, v4, and v5) UUIDs",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"keywords": [
"uuid",
"guid",
"rfc4122"
],
"license": "MIT",
"bin": {
"uuid": "./bin/uuid"
},
"sideEffects": false,
"main": "index.js",
"module": "esm-browser/index.js",
"devDependencies": {
"@babel/cli": "~7.6.4",
"@babel/core": "~7.6.4",
"@babel/preset-env": "~7.6.3",
"@commitlint/cli": "~8.2.0",
"@commitlint/config-conventional": "~8.2.0",
"babel-eslint": "~10.0.3",
"babel-plugin-add-module-exports": "~1.0.2",
"browserstack-local": "~1.4.2",
"eslint": "~6.4.0",
"eslint-config-prettier": "~6.4.0",
"eslint-plugin-prettier": "~3.1.1",
"esm": "~3.2.25",
"http-server": "~0.12.0",
"husky": "~3.0.9",
"jest": "~24.9.0",
"lint-staged": "~9.4.3",
"npm-run-all": "~4.1.5",
"prettier": "~1.18.2",
"runmd": "1.2.1",
"selenium-webdriver": "~3.6.0",
"standard-version": "7.0.0"
},
"scripts": {
"examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build",
"examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build",
"examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build",
"lint": "npm run eslint:check && npm run prettier:check",
"eslint:check": "eslint src/ test/ examples/ *.js",
"eslint:fix": "eslint --fix src/ test/ examples/ *.js",
"test": "BABEL_ENV=commonjs jest test/unit/",
"pretest:browser": "npm run package && npm-run-all --parallel examples:**",
"test:browser": "BABEL_ENV=commonjs jest --forceExit --verbose test/browser/${BROWSER:-}*",
"prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'",
"prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'",
"ci": "npm run lint && npm run test && npm run prettier:check && npm run docs:diff",
"md": "runmd --watch --output=README.md README_js.md",
"docs": "( node --version | grep -q 'v12' ) && ( npm run package && runmd --output=README.md README_js.md )",
"docs:diff": "( node --version | grep -vq 'v12' ) || ( npm run docs && git diff --quiet README.md )",
"package": "./scripts/package.sh",
"release": "standard-version"
},
"repository": {
"type": "git",
"url": "https://github.com/uuidjs/uuid.git"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,json,md}": [
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
}
}