Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.16 KB
/
Copy pathpackage.json
File metadata and controls
124 lines (124 loc) · 3.16 KB
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
{
"name": "taito-cli",
"description": "Taito command line interface",
"author": "Taito United Oy <support@taitounited.fi>",
"private": false,
"license": "MIT",
"homepage": "https://github.com/TaitoUnited/taito-cli#readme",
"keywords": [
"kubernetes",
"docker",
"gcp",
"aws",
"azure",
"cli"
],
"scripts": {
"__clean": "docker build --no-cache -t taito .",
"lint": "echo 'TODO lint'",
"compile": "echo 'TODO compilation if required for some parts'",
"unit": "taito -- rm -f /tmp/bats.*; find . -name \"*.bats\" -type f -prune -exec bats '{}' + && (rm -f /tmp/bats.* || :)",
"test": "echo 'TODO integration tests (cd test; ./all.sh)'",
"verify": "taito lint && taito -c compile && taito -c unit",
"dep-check": "npm-check",
"dep-check:www": "cd www && npm-check",
"precommit:branch": "if git-branch-is -q test || git-branch-is -q stag || git-branch-is -q master; then echo 'ERROR: You cannot commit changes directly to this environment branch. Only fast-forward merge is allowed.' && echo && exit 1; fi",
"precommit:lint": "npm run lint",
"husky:commit-msg": "commitlint --edit",
"husky:pre-commit": "if [[ $taito_mode != 'ci' ]]; then npm run precommit:branch && npm run precommit:lint; fi",
"husky:pre-push": "if [[ $taito_mode != 'ci' ]]; then echo npm run verify; fi",
"release-pre:prod": "semantic-release --dry-run",
"release-post:prod": "semantic-release --no-ci"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"type-enum": [
2,
"always",
[
"wip",
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"revert",
"build",
"ci",
"chore"
]
]
}
},
"release": {
"npmPublish": false,
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "feat",
"release": "minor"
},
{
"type": "fix",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
},
{
"type": "style",
"release": "patch"
},
{
"type": "refactor",
"release": "patch"
},
{
"type": "perf",
"release": "patch"
},
{
"type": "test",
"release": "patch"
},
{
"type": "revert",
"release": "patch"
},
{
"type": "build",
"release": "patch"
},
{
"type": "ci",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
}
]
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/TaitoUnited/taito-cli.git"
},
"bugs": {
"url": "https://github.com/TaitoUnited/taito-cli/issues"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"git-branch-is": "^4.0.0",
"husky": "^9.1.6",
"semantic-release": "^24.1.3"
}
}