Skip to content

Commit

Permalink
Do not install modules from docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Jan 5, 2024
1 parent 16a6293 commit bd265e4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@
"url": "git+https://github.com/elchininet/home-assistant-query-selector"
},
"scripts": {
"clean": "rm -rf dist .nyc_output coverage || true",
"clean": "rm -rf dist || true",
"test:clean": "rm -rf .nyc_output coverage || true",
"build": "yarn clean && rollup --config rollup.config.js --bundleConfigAsCjs",
"lint": "eslint \"src/**/*.ts\"",
"coverage:report": "nyc report --reporter=lcov --reporter=text-summary",
Expand All @@ -46,8 +47,8 @@
"test:ci": "yarn demo:ha && yarn start:playwright && yarn stop:ha",
"start:ha": "docker run --rm -d -p8123:8123 -v ${PWD}/.hass/config:/config homeassistant/home-assistant:2023.12.4",
"stop:ha": "docker stop $(docker ps -a -q --filter ancestor=homeassistant/home-assistant:2023.12.4) || true",
"demo:ha": "yarn build && yarn start:ha",
"start:playwright": "docker run --rm --network host --add-host host.docker.internal:host-gateway -v $(pwd):/$(pwd)/ -w $(pwd) -i mcr.microsoft.com/playwright:v1.40.0-jammy sh -c \"yarn install --frozen-lockfile && yarn test:run && exit\"",
"demo:ha": "yarn test:clean && yarn build && yarn start:ha",
"start:playwright": "docker run --rm --network host --add-host host.docker.internal:host-gateway -v $(pwd):/$(pwd)/ -w $(pwd) -i mcr.microsoft.com/playwright:v1.40.0-jammy sh -c \"yarn test:run && exit\"",
"prepare": "yarn build",
"prepublishOnly": "yarn lint && yarn test:ts && yarn test:ci",
"version": "git add .",
Expand Down

0 comments on commit bd265e4

Please sign in to comment.