chore(Makefile): add node/npm targets
This commit is contained in:
parent
4179553b37
commit
3dd9ef1772
7
Makefile
7
Makefile
@ -17,8 +17,11 @@ database: --stack-work-build --database --stack-krow-build
|
||||
export SERVER_SESSION_ACID_FALLBACK=$${SERVER_SESSION_ACID_FALLBACK:-true}
|
||||
stack exec uniworxdb -- $(db)
|
||||
|
||||
node_modules: package.json
|
||||
npm install
|
||||
node_modules: .npmrc package.json
|
||||
npm ci --cache .npm --prefer-offline
|
||||
|
||||
.npmrc:
|
||||
command gup .npmrc
|
||||
|
||||
.PHONY: %.lock
|
||||
%.lock:
|
||||
|
||||
Reference in New Issue
Block a user