1ROOT:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST)))) 2 3all: build 4 5deps: node_modules 6 7build: deps 8 yarn run build 9 10start: deps 11 yarn run start 12 13start-api: deps 14 yarn run start:api 15 16test: deps 17 yarn run test 18 19test-view: deps 20 yarn run test:view 21 22lint: deps 23 yarn run lint:js 24 25format: deps 26 yarn run format:js 27 28node_modules: yarn.lock package.json 29 yarn install 30 31.PHONY: all deps build start test test-view lint format 32