Skip to content

Commit

Permalink
Housekeeping.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjdhjd committed May 21, 2024
1 parent 69435d6 commit 5898970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@
},
"main": "dist/index.js",
"scripts": {
"build": "npm run clean && tsc",
"build": "npm run build-ui && tsc",
"build-ui": "shx mkdir -p homebridge-ui/public/lib && shx cp \"node_modules/homebridge-plugin-utils/dist/ui/**/*.@(js|mjs){,.map}\" homebridge-ui/public/lib",
"clean": "shx rm -rf dist homebridge-ui/public/lib && npm run build-ui",
"lint": "eslint eslint.config.mjs src/**.ts homebridge-ui/*.js homebridge-ui/public/**/*.mjs",
"postpublish": "npm run clean",
"prepublishOnly": "npm run lint && npm run build"
"prepublishOnly": "npm run build-ui && npm run lint && npm run build"
},
"keywords": [
"garden",
Expand Down

0 comments on commit 5898970

Please sign in to comment.