diff --git a/.eslintrc b/.eslintrc index 38231bb..0ea74d0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -16,6 +16,9 @@ "env": { "browser": true, "node": true, - "es6": true + "es2017": true + }, + "parserOptions": { + "ecmaVersion": 8 } } diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 04481b5..6a1cde8 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x, 18.x, 20.x] + node-version: [18.x, 20.x] steps: - uses: actions/checkout@v3 diff --git a/README.md b/README.md index 263700a..91f37d0 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ 1. Navigate into your MagicMirror's `modules` folder and execute `git clone https://github.com/parnic/MMM-Ring.git` 2. `cd MMM-Ring` -3. Execute `npm install --production` to install the node dependencies. +3. Execute `npm install --production` to install the node dependencies. Note: Node 18+ is required. 4. Execute `npm run auth` and follow the instructions. Copy the resulting refresh token you receive for the config in the next step. 5. Add the module inside `config.js` placing it where you prefer. Make sure to set the refreshToken property to the one given by the previous step. diff --git a/package.json b/package.json index 329d4dc..a053e6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mmm-ring", - "version": "0.0.1", + "version": "1.0.0", "description": "Show status from Ring alarms and control armed status", "main": "MMM-Ring.js", "author": "parnic",