joyent-portal/cloudapi-graphql/Makefile

24 lines
340 B
Makefile
Raw Normal View History

2016-10-24 17:52:46 +03:00
.PHONY: install
install:
yarn install --prefer-offline
2016-10-24 17:52:46 +03:00
.PHONY: install-production
install-production:
yarn install --production --pure-lockfile --prefer-offline
2016-10-24 17:52:46 +03:00
.PHONY: clean
clean:
@rm -rf node_modules
.PHONY: test
test:
./node_modules/.bin/ava
2016-10-24 17:52:46 +03:00
.PHONY: start
start:
npm run start
.PHONY: lint
lint:
@$(shell npm bin)/eslint src