1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2025-06-15 13:36:35 +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

9
scripts/collect_files.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# Collect files
npm run build
cp package.json dist
cp -rf translations dist
# Remove unwanted files
rm -rf dist/**/__tests__
rm -rf dist/__mocks__