updux/Taskfile.yml

27 lines
458 B
YAML
Raw Normal View History

2021-10-12 17:11:32 +00:00
# https://taskfile.dev
version: '3'
vars:
2021-10-18 14:15:06 +00:00
GREETING: Hello, World!
2021-10-12 17:11:32 +00:00
tasks:
2021-10-18 14:18:01 +00:00
tsc:
cmds:
- tsc
- echo 🙌 typescript compilation successful
2021-10-18 12:46:00 +00:00
test: jest
2021-10-19 16:41:23 +00:00
'prettier': prettier --check .
2021-10-18 14:15:06 +00:00
2021-10-19 16:41:23 +00:00
'prettier:fix': prettier --write .
2021-10-18 12:46:00 +00:00
2021-10-18 14:15:06 +00:00
check:
2021-10-19 16:41:23 +00:00
deps: [tsc, test, 'prettier']
2021-10-18 12:46:00 +00:00
2021-10-12 17:11:32 +00:00
'test:types': tsd
docs:
cmds:
- jsdoc -c jsdoc.json -t ./node_modules/better-docs src/index.js src/Updux.js