-
Notifications
You must be signed in to change notification settings - Fork 2
/
chompfile.toml
59 lines (49 loc) · 914 Bytes
/
chompfile.toml
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
version = 0.1
extensions = ['chomp@0.1:prettier']
[[task]]
name = 'build'
run = """
rm -rf api/src/clients
chomp -c clients build
mv clients/dist api/src/clients
"""
# REPOSITORY TOOLING
[[task]]
name = 'doc'
run = '''
doctoc README.md
doctoc **/README.md
'''
[[task]]
name = 'git:configure'
run = 'git config --local include.path ../.gitconfig'
[[task]]
name = 'git:add-all'
run = 'git add .'
[[task]]
name = 'prepare'
run = 'husky install'
[[task]]
name = 'prettier'
template = 'prettier'
[task.template-options]
ignore-path = '.prettierignore'
files = '**/*.@(js|jsx|json|mjs|cjs|graphql|yml)'
loglevel = 'log'
config = '.prettierrc'
[[task]]
name = 'prettier:changed'
run = 'pretty-quick'
[[task]]
name = 'reset'
run = """
rm -rf node_modules
find . \
-name node_modules \
-type d \
-exec rm -rv {} + \
&& find . \
-name package-lock.json \
-type f \
-delete
"""