-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
113 lines (113 loc) · 4.57 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": "i-doit-docker",
"description": "Dockerized i-doit CMDB",
"keywords": [
"i-doit",
"idoit",
"CMDB",
"IT documentation",
"it assets",
"it asset management",
"ITAM",
"documentation",
"docs",
"documentation of things",
"configuration items"
],
"version": "0.5.0",
"homepage": "https://i-doit.com/",
"repository": {
"type": "git",
"url": "https://github.com/bheisig/i-doit-docker"
},
"bugs": {
"url": "https://github.com/bheisig/i-doit-docker/issues"
},
"license": "AGPL-3.0-or-later",
"author": "Benjamin Heisig <bheisig@i-doit.com> (https://i-doit.com/)",
"dependencies": {
"alex": "^10",
"husky": "^8",
"jscpd": "^3.3.25",
"jsonlint": "^1.6.3",
"markdown-spellcheck": "git+https://github.com/lukeapage/node-markdown-spellcheck.git",
"npm-run-all": "^4.1",
"npm-scripts-info": "^0.3.9",
"remark-cli": "^11.0",
"remark-frontmatter": "^4",
"remark-gfm": "^3",
"remark-lint": "^9.0",
"remark-lint-match-punctuation": "^0.2.0",
"remark-lint-no-dead-urls": "^1.1.0",
"remark-lint-no-empty-sections": "^4.0.0",
"remark-lint-no-long-code": "^0.1.2",
"remark-lint-no-repeat-punctuation": "^0.1.3",
"remark-lint-no-trailing-spaces": "^2.0.1",
"remark-lint-write-good": "^1.2.0",
"remark-normalize-headings": "^3",
"remark-preset-lint-consistent": "^5.0",
"remark-preset-lint-recommended": "^6.0"
},
"scripts": {
"?info": "Display information about scripts",
"info": "npm-scripts-info",
"?pre-commit": "Run pre-commit hooks",
"pre-commit": "run-s pre-commit:*",
"?pre-commit:test": "Run tests locally",
"pre-commit:test": "npm test",
"?pre-push": "Run pre-push hooks",
"pre-push": "run-s pre-push:*",
"?pre-push:system": "Run advanced tests",
"pre-push:system": "npm run system",
"?pre-push:test": "Run tests locally",
"pre-push:test": "npm test",
"?prepare": "Prepare dependencies",
"prepare": "run-s prepare:*",
"?prepare:husky": "Install husky",
"prepare:husky": "husky install",
"?sort-word-list": "Sort words in custom dictionary",
"sort-word-list": "sort .spelling | uniq > /tmp/.spelling && mv /tmp/.spelling .spelling",
"?stats:cloc": "Count lines of code",
"stats:cloc": "cloc --vcs git",
"?system": "Run advanced tests",
"system": "run-s system:*",
"?system:audit": "Audit NPM packages",
"system:audit": "npm audit",
"?system:doctor": "Identify problems with NPM",
"system:doctor": "npm doctor",
"?system:outdated": "List out-dated NPM packages",
"system:outdated": "npm outdated || exit 0",
"?test": "Run tests locally",
"test": "run-s test:*",
"?test:markdown": "Lint Markdown files",
"test:markdown": "remark --ignore-path .gitignore .",
"?test:spelling": "Check spelling",
"test:spelling": "git ls-files | grep -e '\\.md$' | xargs mdspell --report --ignore-numbers --ignore-acronyms --en-us",
"?test:wording": "Catch insensitive, inconsiderate writing",
"test:wording": "git ls-files | grep -e '\\.md$' | grep -v CODE_OF_CONDUCT | xargs alex",
"?test:ec": "Verify that files are in harmony with .editorconfig",
"test:ec": "ec",
"?test:json": "Lint JSON files",
"test:json": "git ls-files | grep -e '\\.json$' | xargs -L 1 jsonlint --quiet",
"?test:yaml": "Lint YAML files",
"test:yaml": "git ls-files | grep -E '\\.(yml|yaml|.yml.dist)$' | xargs yamllint",
"?test:cpd": "Run copy/paste detector",
"test:cpd": "jscpd --config .jscpd.json",
"?test:docker-compose": "Lint docker-compose files",
"test:docker-compose": "git ls-files | grep -e 'docker-compose\\.yml$' | xargs -I file docker-compose -f file config > /dev/null",
"?test:dockerfile": "Lint Docker files",
"test:dockerfile": "git ls-files | grep -e 'Dockerfile$' | xargs hadolint --config .hadolint.yaml",
"?test:shell": "Lint Shell scripts",
"test:shell": "git ls-files | grep -e '\\.sh$' | xargs shellcheck",
"?wtf": "Find open issues",
"wtf": "git grep --line-number --column --heading -E '(WORKAROUND|TODO|FIXME) '"
},
"os": [
"darwin",
"linux"
],
"engines": {
"node": ">=14.16.0",
"npm": ">=6.7.0"
}
}