diff --git a/docker/tna-python-dev/bin/dev b/docker/tna-python-dev/bin/dev index 02dd9db..0c4c8ac 100755 --- a/docker/tna-python-dev/bin/dev +++ b/docker/tna-python-dev/bin/dev @@ -4,8 +4,11 @@ cd /app || return poetry install --no-root --with dev || true -tna-npm install -g prettier@3.4.2 eslint@8.56.0 stylelint@16.12.0 stylelint-config-standard-scss@14.0.0 stylelint-selector-bem-pattern@4.0.1 stylelint-order@6.0.4 -tna-npm install +if [ -f "/app/package.json" ] +then + tna-npm install -g prettier@3.4.2 eslint@8.56.0 stylelint@16.12.0 stylelint-config-standard-scss@14.0.0 stylelint-selector-bem-pattern@4.0.1 stylelint-order@6.0.4 + tna-npm install +fi if [ -d "/home/app/.local/bin/tasks" ] then