-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathpackage.json
38 lines (38 loc) · 1.58 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"name": "kiosk-mode",
"version": "4.5.0",
"description": "Hides the Home Assistant header and/or sidebar",
"main": "kiosk-mode.js",
"repository": "[email protected]:NemesisRE/kiosk-mode.git",
"author": "Steven \"NemesisRE\" Koeberich <[email protected]>",
"license": "MIT",
"scripts": {
"build": "rollup --config rollup.config.js --bundleConfigAsCjs",
"test:ts": "tsc --noEmit",
"test:run": "cypress run",
"test:open": "cypress open",
"test:ci": "yarn demo && yarn test:run && yarn stop:ha",
"test:all": "yarn test:ts && yarn test:ci",
"prepare": "yarn build",
"prepublishOnly": "yarn test:all",
"version": "git add .",
"postversion": "git push && git push --tags",
"copy-kiosk-mode": "copyfiles -f dist/kiosk-mode.js .hass/config/www",
"start:ha": "docker run --rm -d -p8123:8123 -v ${PWD}/.hass/config:/config homeassistant/home-assistant:2023.11.1",
"start:ha:win": "docker run --rm -d -p8123:8123 -v %cd%/.hass/config:/config homeassistant/home-assistant:2023.11.1",
"stop:ha": "docker stop $(docker ps -a -q --filter ancestor=homeassistant/home-assistant:2023.11.1) || true",
"demo": "yarn build && yarn copy-kiosk-mode && yarn start:ha",
"demo:win": "yarn build && yarn copy-kiosk-mode && yarn start:ha:win"
},
"devDependencies": {
"@rollup/plugin-json": "^6.0.1",
"copyfiles": "^2.4.1",
"cypress": "^13.5.1",
"cypress-visual-regression": "^3.0.0",
"cypress-wait-until": "^2.0.1",
"rollup": "^4.3.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-ts": "^3.4.5",
"typescript": "^5.2.2"
}
}