mirror of
https://gitlab.nic.cz/turris/reforis/foris-js.git
synced 2024-12-25 00:11:36 +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
|
install-js: package.json
|
||||||
npm install --save-dev
|
npm install --save-dev
|
||||||
|
|
||||||
watch-js:
|
|
||||||
npm run build:watch
|
|
||||||
build-js:
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
collect-files:
|
collect-files:
|
||||||
sh scripts/collect_files.sh
|
sh scripts/collect_files.sh
|
||||||
pack: collect-files
|
pack: collect-files
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Collect files
|
# Collect files
|
||||||
npm run build
|
mkdir -p dist
|
||||||
cp package.json README.md dist
|
cp -rf ./src/* dist
|
||||||
|
cp package.json package-lock.json README.md dist
|
||||||
cp -rf translations dist
|
cp -rf translations dist
|
||||||
# Remove unwanted files
|
# Remove unwanted files
|
||||||
rm -rf dist/**/__tests__
|
rm -rf dist/**/__tests__
|
||||||
|
|
Loading…
Reference in New Issue
Block a user