-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
128 lines (128 loc) · 5.42 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
"name": "i-doit-knowledge-base",
"description": "Knowledge Base",
"keywords": [
"i-doit",
"i-doit.com",
"CMDB",
"IT documentation",
"it assets",
"it asset management",
"ITAM",
"documentation",
"kb",
"configuration items"
],
"version": "0.0.0-dev",
"homepage": "https://kb.i-doit.com/",
"repository": {
"type": "git",
"url": "https://github.com/i-doit/kb"
},
"bugs": {
"url": "https://github.com/i-doit/kb/issues"
},
"license": "CC-BY-SA-4.0",
"author": "synetics GmbH <info@i-doit.com> (https://i-doit.com/)",
"devDependencies": {
"@cyclonedx/bom": "^4.1.0",
"@cyclonedx/cyclonedx-npm": "^1.19.3",
"@prantlf/jsonlint": "^16.0.0",
"cloc": "^2.11.0",
"husky": "^9",
"jscpd": "^4.0.5",
"npm-run-all": "^4.1",
"remark-cli": "^12.0",
"remark-frontmatter": "^5",
"remark-gfm": "^4",
"remark-lint": "^10.0",
"remark-lint-match-punctuation": "^0.2.0",
"remark-lint-no-dead-urls": "^2.0.1",
"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": "^3.0.2",
"remark-normalize-headings": "^4",
"remark-preset-lint-consistent": "^6.0",
"remark-preset-lint-recommended": "^7.0"
},
"scripts": {
"?docs:build": "Generate documentation as static Web site",
"docs:build": "run-s docs:build:*",
"?docs:build:de": "Generate German documentation as static Web site",
"docs:build:de": "mkdocs build -f config/de/mkdocs.yml",
"?docs:build:en": "Generate English documentation as static Web site",
"docs:build:en": "mkdocs build -f config/en/mkdocs.yml",
"?docs:serve": "Serve documentation locally",
"docs:serve": "mkdocs serve",
"?pre-commit": "Run pre-commit hooks",
"pre-commit": "run-s pre-commit:*",
"?pre-commit:no-main-branches": "Prevent direct commits to main branches",
"pre-commit:no-main-branches": "echo main | grep -v -w -q $(git rev-parse --abbrev-ref HEAD)",
"?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:npm-audit": "Audit NPM packages",
"system:npm-audit": "npm audit",
"?system:npm-doctor": "Identify problems with NPM",
"system:npm-doctor": "npm doctor",
"?system:npm-outdated": "List out-dated NPM packages",
"system:npm-outdated": "npm outdated || exit 0",
"?system:pip-audit": "Audit `pip` packages",
"system:pip-audit": "pip-audit --requirement requirements.txt --progress-spinner off --strict",
"?system:pip-outdated": "List out-dated `pip` packages",
"system:pip-outdated": "pip list --outdated",
"?test": "Run tests locally",
"test": "run-s test:*",
"?test:markdown": "Lint Markdown files",
"test:markdown": "remark --rc-path .config/remark.json --ignore-path .gitignore .",
"?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",
"?wtf": "Find open issues",
"wtf": "! git grep --line-number --column --heading -E '(WORKAROUND|TODO|FIXME) '",
"?sbom": "Generate SBOM",
"sbom": "run-s sbom:*",
"?sbom:dir": "Ensure SBOM directory exists",
"sbom:dir": "mkdir -p _sbom/",
"?sbom:npm": "Generate SBOM for NPM dependencies",
"sbom:npm": "cyclonedx-npm --output-format JSON --output-file _sbom/npm.json",
"?sbom:pip": "Generate SBOM for Python dependencies",
"sbom:pip": "/usr/local/bin/cyclonedx-py --environment --format json --output _sbom/pip.json --force"
},
"os": [
"darwin",
"linux"
],
"engines": {
"node": ">=16.15.1",
"npm": ">=8.8.0"
},
"dependencies": {
"get-package-path": "^0.0.1"
}
}