diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-04 20:54:03 +0300 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-11-04 20:54:03 +0300 |
commit | 9c94a3e10fb3345ed57df27f44d51dde2f7ff733 (patch) | |
tree | 40557b1f1bc2ccf128638d825019f3e40a5acac7 /Makefile |
This is photos
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..3ea42cb8 --- /dev/null +++ b/Makefile @@ -0,0 +1,52 @@ +all: dev-setup lint build-js-production test + +# Dev env management +dev-setup: clean clean-dev npm-init + +npm-init: + npm install + +npm-update: + npm update + +# Building +build-js: + npm run dev + +build-js-production: + npm run build + +watch-js: + npm run watch + +# Testing +test: + npm run test + +test-watch: + npm run test:watch + +test-coverage: + npm run test:coverage + +# Linting +lint: + npm run lint + +lint-fix: + npm run lint:fix + +# Style linting +stylelint: + npm run stylelint + +stylelint-fix: + npm run stylelint:fix + +# Cleaning +clean: + rm -rf js + +clean-dev: + rm -rf node_modules + |