-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.48 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
{
"name": "@b2ns/libshell",
"version": "1.2.3",
"description": "basic lib functions for (bash)shell",
"keywords": [
"shell",
"bash",
"lib",
"tool",
"util",
"function",
"import",
"command",
"color",
"string"
],
"main": "libshell.sh",
"bin": {
"libshell": "./libshell.sh"
},
"scripts": {
"lint": "shellcheck lib/*.sh libshell.sh",
"fix": "shfmt -w -i 2 -ci lib/*.sh libshell.sh",
"test": "bats -T -j 16 test/*.test.sh",
"lintcmd": "shellcheck",
"fixcmd": "shfmt -w -i 2 -ci",
"testcmd": "bats -T -j 16",
"doc": "./build/buildDoc.sh",
"checkOrder": "./build/checkFuncOrder.sh",
"checkUndef": "./build/checkUndefinedVar.sh",
"postversion": "git push && git push --tags",
"prepare": "husky install"
},
"lint-staged": {
"*.sh": [
"yarn lintcmd",
"yarn fixcmd",
"yarn checkOrder",
"yarn checkUndef",
"./build/testOnlyStaged.sh"
]
},
"repository": "[email protected]:b2ns/libshell.git",
"author": "b2ns <[email protected]>",
"homepage": "https://github.com/b2ns/libshell",
"files": [
"lib/",
"libshell.sh",
"bin/"
],
"license": "MIT",
"devDependencies": {
"bats": "^1.6.0",
"bats-assert": "git+https://github.com/bats-core/bats-assert.git",
"bats-file": "git+https://github.com/bats-core/bats-file.git",
"bats-support": "git+https://github.com/bats-core/bats-support.git",
"husky": "^7.0.4",
"lint-staged": "^12.4.1"
}
}