1
0
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:
Bogdan Bodnar 2019-12-26 23:25:12 +01:00
parent 68e4368ae3
commit bd4e1953e3
No known key found for this signature in database
GPG Key ID: 49E4169AD3CA42B0
3 changed files with 3 additions and 8 deletions

View File

@ -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

View File

@ -1 +0,0 @@
[javascript: src/**.js]

View File

@ -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__