-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
24 lines (24 loc) · 1.24 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
{
"author": "Andrew Udvare <audvare@gmail.com>",
"description": "Decrypt DBeaver's credentials-config.json file.",
"devDependencies": {
"cspell": "^8.14.1",
"markdownlint-cli2": "^0.13.0",
"prettier": "^3.3.3",
"prettier-plugin-sort-json": "^4.0.0"
},
"license": "MIT",
"name": "dbeaver-creds",
"repository": "git@github.com:Tatsh/dbeaver-creds.git",
"scripts": {
"check-formatting": "prettier -c . && shfmt -d -i 4 -ci -sr dbeaver-creds update-key.sh && markdownlint-cli2 '**/*.md' '#node_modules'",
"check-spelling": "cspell --no-progress .",
"clean-dict": "r=(); while IFS=$\\n read -r w; do ! rg --no-config -qi. -g '!.vscode/dictionary.txt' -m 1 \"$w\" . && r+=(\"$w\"); done < ./.vscode/dictionary.txt; j=$(printf \"|%s\" \"${r[@]}\"); j=\"^(${j:1})$\"; grep -Ev \"${j}\" ./.vscode/dictionary.txt > new && mv new ./.vscode/dictionary.txt",
"format": "yarn shfmt && yarn prettier -w .",
"qa": "yarn shellcheck && yarn check-spelling && yarn check-formatting",
"shellcheck": "shellcheck *.sh dbeaver-creds",
"shfmt": "prettier -w . && shfmt -w -i 4 -ci -sr dbeaver-creds update-key.sh && markdownlint-cli2 --fix '**/*.md' '#node_modules'",
"update-key": "bash update-key.sh"
},
"version": "0.0.3"
}