diff --git a/Makefile b/Makefile index f01f172..ca9e98e 100644 --- a/Makefile +++ b/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 diff --git a/babel.cfg b/babel.cfg deleted file mode 100644 index 2e1b870..0000000 --- a/babel.cfg +++ /dev/null @@ -1 +0,0 @@ -[javascript: src/**.js] diff --git a/scripts/collect_files.sh b/scripts/collect_files.sh index 33fd3f2..2ea7534 100644 --- a/scripts/collect_files.sh +++ b/scripts/collect_files.sh @@ -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__