11 lines
153 B
Plaintext
11 lines
153 B
Plaintext
|
const tasks = arr => arr.join(' && ')
|
||
|
|
||
|
module.exports = {
|
||
|
'hooks': {
|
||
|
'pre-commit': tasks([
|
||
|
"npm run lint",
|
||
|
"npm run test"
|
||
|
])
|
||
|
}
|
||
|
}
|