Move build target from npm to makefile

This commit is contained in:
Tom Gallacher 2016-12-08 12:47:09 +00:00 committed by Sérgio Ramos
parent d3b374b631
commit e56dabe9d5
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ install-production: compile clean
.PHONY: compile
compile: install
$(bindir)/webpack --config webpack/index.js
$(bindir)/babel src --out-dir dist --source-maps inline
.PHONY: build
build:

View File

@ -8,7 +8,7 @@
"start": "cd docs && npm start",
"lint": "make lint",
"test": "make test",
"build": "babel src --out-dir dist --source-maps inline",
"build": "make compile",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},