Skip to content

Commit 6e8c378

Browse files
committed
fixing post install script
1 parent 267f2ed commit 6e8c378

File tree

4 files changed

+16
-45
lines changed

4 files changed

+16
-45
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"automations",
66
"codeql",
77
"eqeqeq",
8+
"martinbeentjes",
89
"postpublish",
910
"prebuild"
1011
]

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
<b>Automate Homebridge based on interval or cron</b>
66

7-
[![Build Status](https://dev.azure.com/kbrashears5/github/_apis/build/status/kbrashears5.homebridge-schedule?branchName=master)](https://dev.azure.com/kbrashears5/github/_build/latest?definitionId=7&branchName=master)
7+
[![CI/CD](https://github.com/kbrashears5/homebridge-schedule/actions/workflows/ci-cd.yml/badge.svg)](https://github.com/kbrashears5/homebridge-schedule/actions/workflows/ci-cd.yml)
8+
89
[![npm](https://img.shields.io/npm/v/homebridge-schedule)](https://img.shields.io/npm/v/homebridge-schedule)
910
[![downloads](https://img.shields.io/npm/dt/homebridge-schedule)](https://img.shields.io/npm/dt/homebridge-schedule)
1011

@@ -122,3 +123,13 @@ Create shortcut:
122123

123124
![Step5](https://github.com/kbrashears5/homebridge-schedule/blob/master/images/step5_1.jpg?raw=true)
124125
![Step5](https://github.com/kbrashears5/homebridge-schedule/blob/master/images/step5_2.jpg?raw=true)
126+
127+
## Development
128+
129+
Clone the latest and run
130+
131+
```npm
132+
npm run prep
133+
```
134+
135+
to install packages and prep the git hooks

azure-pipelines.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "homebridge-schedule",
3-
"version": "1.0.128",
3+
"version": "1.0.129",
44
"description": "Scheduled, repeatable triggers for Homebridge automation with HomeKit",
55
"repository": {
66
"type": "git",
@@ -24,7 +24,7 @@
2424
"main": "dist/schedule-accessory.js",
2525
"dependencies": {
2626
"cron": "~1.8.2",
27-
"typescript-helper-functions": "~1.0.150"
27+
"typescript-helper-functions": "~1.0.151"
2828
},
2929
"devDependencies": {
3030
"@types/cron": "~1.7.2",
@@ -51,8 +51,8 @@
5151
"clean": "rimraf ./dist",
5252
"format": "prettier --write .",
5353
"lint": "eslint -c .eslintrc.yml \"*/**\"",
54-
"postinstall": "node-git-hooks",
5554
"prebuild": "npm run clean && npm run format && npm run lint",
55+
"prep": "npm run update && node-git-hooks",
5656
"test": "echo \"Error: no test specified\" && exit 0",
5757
"update:cron": "npm i cron@latest",
5858
"update:eslint-config-prettier": "npm i eslint-config-prettier@latest --save-dev",

0 commit comments

Comments
 (0)