mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-11-13 17:25:34 +01:00
Don't use babel.
This commit is contained in:
parent
68e4368ae3
commit
bd4e1953e3
5
Makefile
5
Makefile
|
@ -35,11 +35,6 @@ $(VENV_NAME)/bin/activate:
|
|||
install-js: package.json
|
||||
npm install --save-dev
|
||||
|
||||
watch-js:
|
||||
npm run build:watch
|
||||
build-js:
|
||||
npm run build
|
||||
|
||||
collect-files:
|
||||
sh scripts/collect_files.sh
|
||||
pack: collect-files
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Collect files
|
||||
npm run build
|
||||
cp package.json README.md dist
|
||||
mkdir -p dist
|
||||
cp -rf ./src/* dist
|
||||
cp package.json package-lock.json README.md dist
|
||||
cp -rf translations dist
|
||||
# Remove unwanted files
|
||||
rm -rf dist/**/__tests__
|
||||
|
|
Loading…
Reference in New Issue
Block a user