1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-07-30 19:53:27 +02:00

Flat structure of published package

This commit is contained in:
Maciej Lenartowicz
2019-11-01 09:28:28 +00:00
parent 6835bc7a28
commit 0984c45161
8 changed files with 33 additions and 23 deletions

View File

@@ -1,4 +1,4 @@
.PHONY: all install-js watch-js build-js lint-js test-js create-messages update-messages docs clean
.PHONY: all install-js watch-js build-js collect-files pack publish-beta publish-latest lint test test-js-update-snapshots create-messages update-messages docs docs-watch clean
all:
@echo "make install-js"
@@ -30,6 +30,15 @@ watch-js:
build-js:
npm run build
collect-files:
sh scripts/collect_files.sh
pack: collect-files
cd dist && npm pack
publish-beta: collect-files
sh scripts/publish.sh beta
publish-latest: collect-files
sh scripts/publish.sh latest
lint:
npm run lint