-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
113 lines (113 loc) · 3.95 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "start-testing",
"version": "0.3.2",
"description": "A crowdsourced testing course, written by testers for testers wannabes.",
"homepage": "https://github.com/dialex/start-testing",
"bugs": {
"url": "https://github.com/dialex/start-testing/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dialex/start-testing.git"
},
"license": "SEE LICENSE IN LICENSE.txt",
"author": "Diogo Nunes <[email protected]> (https://diogonunes.com/)",
"scripts": {
"bump:patch": "npm version --no-commit-hooks --no-git-tag-version patch",
"bump:time": "open -t ./time-counter.txt",
"c": "npm run commit",
"commit": "npx git-cz",
"ci:pipeline": "npm-run-all lint:markdown lint:spelling",
"deps:clean": "rm -f package-lock.json && rm -rf node_modules",
"deps:install": "npm ci",
"deps:up": "npx npm-check-updates -u && npm audit fix",
"fix": "npm-run-all fix:*",
"fix:spelling": "mdspell 'docs/**/*.md' --en-gb --ignore-numbers --ignore-acronyms",
"fix:ellipsis": "find docs -type f -name '*.md' | xargs sed -i '' 's/\\.\\.\\./…/g'",
"fix:emdash": "find docs -type f -name '*.md' | xargs sed -i '' 's/ -- / — /g'",
"fix:single-quote": "find docs -type f -name '*.md' | xargs sed -i '' \"s/’/'/g\"",
"fix:double-quote-left": "find docs -type f -name '*.md' | xargs sed -i '' 's/“/\"/g'",
"fix:double-quote-right": "find docs -type f -name '*.md' | xargs sed -i '' 's/”/\"/g'",
"lint": "npm-run-all lint:*",
"lint:markdown": "markdownlint docs --config docs/.markdownlint.json --ignore docs/_coverpage.md",
"lint:spelling": "mdspell 'docs/**/*.md' -r --en-gb --ignore-numbers --ignore-acronyms",
"lint:broken-links": "remark -u validate-links docs --ignore-path .remarkignore --frail",
"pr:prepare": "npm-run-all fix lint",
"pr:preview": "npm-run-all --parallel serve preview",
"pr:ready": "npm run bump:patch && npm run bump:time && git commit -m 'chore: bump up version' .",
"preview": "echo \"Opening a preview on your browser now.\" && sleep 1 && open http://localhost:3000/#/",
"serve": "docsify serve docs",
"test": "echo 'Aborting: no tests found. (see https://github.com/dialex/start-testing/issues/70)' && exit 1"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-emoji"
},
"cz-emoji": {
"types": [
{
"name": "chore",
"description": "Small and boring change required for something else",
"emoji": "🤖",
"code": "🤖"
},
{
"name": "diverge",
"description": "Add new information",
"emoji": "🔀️",
"code": "🔀️"
},
{
"name": "converge",
"description": "Summarise current information",
"emoji": "♻️",
"code": "♻️"
},
{
"name": "format",
"description": "Improve lint or style",
"emoji": "🎨",
"code": "🎨"
},
{
"name": "release",
"description": "Create a release commit",
"emoji": "🚚",
"code": "🚚"
},
{
"name": "fix",
"description": "Fix a bug",
"emoji": "🐞",
"code": "🐞"
},
{
"name": "feat",
"description": "Introduce a new feature",
"emoji": "⭐️",
"code": "⭐️"
},
{
"name": "ci",
"description": "Change CI or build process",
"emoji": "🛠",
"code": "🛠"
},
{
"name": "doc",
"description": "Update documentation",
"emoji": "📘",
"code": "📘"
}
]
}
},
"devDependencies": {
"markdown-spellcheck": "^1.3.1",
"markdownlint-cli": "^0.37.0",
"npm-run-all": "^4.1.5",
"remark-cli": "^12.0.0",
"remark-lint": "^9.1.2",
"remark-validate-links": "^13.0.0"
}
}