1
0
mirror of https://gitlab.nic.cz/turris/reforis/foris-js.git synced 2024-12-26 00:21: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 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

View File

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

View File

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