Move build target from npm to makefile
This commit is contained in:
parent
d3b374b631
commit
e56dabe9d5
@ -40,7 +40,7 @@ install-production: compile clean
|
|||||||
|
|
||||||
.PHONY: compile
|
.PHONY: compile
|
||||||
compile: install
|
compile: install
|
||||||
$(bindir)/webpack --config webpack/index.js
|
$(bindir)/babel src --out-dir dist --source-maps inline
|
||||||
|
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
build:
|
build:
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
"start": "cd docs && npm start",
|
"start": "cd docs && npm start",
|
||||||
"lint": "make lint",
|
"lint": "make lint",
|
||||||
"test": "make test",
|
"test": "make test",
|
||||||
"build": "babel src --out-dir dist --source-maps inline",
|
"build": "make compile",
|
||||||
"storybook": "start-storybook -p 6006",
|
"storybook": "start-storybook -p 6006",
|
||||||
"build-storybook": "build-storybook"
|
"build-storybook": "build-storybook"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user