1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 07:10:05 +02:00
copilot/frontend/Makefile
2016-10-24 16:55:06 +01:00

24 lines
407 B
Makefile

.PHONY: install
install:
yarn install --prefer-offline
.PHONY: install-production
install-production: compile clean
yarn install --production --pure-lockfile --prefer-offline
.PHONY: clean
clean:
@rm -rf node_modules
.PHONY: test
test:
npm run test
.PHONY: compile
compile: install
NODE_ENV=production ./node_modules/.bin/webpack --config webpack/index.js
.PHONY: start
start:
npm run production