diff --git a/package.json b/package.json index f153bb5..3322180 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,13 @@ "version": "1.0.0", "type": "module", "license": "MIT", + "description": "A plugin for OpenRCT2 that allows you to edit the soft guest cap.", "scripts": { "start": "nodemon --watch ./src --ext js,ts --exec \"npm run build:dev\"", "build": "rollup --config rollup.config.js --environment BUILD:production", "build:dev": "rollup --config rollup.config.js", - "format": "prettier --write ." + "format": "prettier --write .", + "lint": "prettier --check ." }, "devDependencies": { "@rollup/plugin-node-resolve": "^15.0.1", diff --git a/rollup.config.js b/rollup.config.js index 9340c50..65beb7c 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -23,7 +23,7 @@ async function getOutput() { if (platform === "win32") { // Windows const { stdout } = await promisify(exec)( - "powershell -command \"[Environment]::GetFolderPath('MyDocuments')\"" + "powershell -command \"[Environment]::GetFolderPath('MyDocuments')\"", ); return `${stdout.trim()}/${pluginPath}`; } else if (platform === "darwin") { diff --git a/src/main.ts b/src/main.ts index 84d7f14..139927c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -28,7 +28,7 @@ export const allWidgets = window({ text: "Current Guest Cap", onClick: () => { park.postMessage( - `Your current soft guest cap is ${park.suggestedGuestMaximum}` + `Your current soft guest cap is ${park.suggestedGuestMaximum}`, ); }, height: "23px",