Add refresh script
This commit is contained in:
parent
70871a5a44
commit
003cb1061f
5
Makefile
5
Makefile
|
@ -14,10 +14,15 @@ help:
|
|||
@echo 'Targets:'
|
||||
@echo ' clean Delete `node_modules`'
|
||||
@echo ' help Print help (this message)'
|
||||
@echo ' refresh Delete `node_modules` and run `npm install`'
|
||||
@echo ' test Run tests in silent mode'
|
||||
@echo ' test-verbose Run tests in verbose mode'
|
||||
@echo ' testing Run tests continuously'
|
||||
|
||||
.PHONY: refresh
|
||||
refresh: clean
|
||||
npm install
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
NO_DEPRECATION=loopback-datasource-juggler $(TESTER) $(OPTS) $(TESTS)
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
"scripts": {
|
||||
"clean": "make clean",
|
||||
"help": "make help",
|
||||
"refresh": "make refresh",
|
||||
"test": "make test"
|
||||
},
|
||||
"engines": [
|
||||
|
|
Loading…
Reference in New Issue