Skip to content

Commit 515dbd1

Browse files
committed
Update required Node.js version
1 parent 8ae9160 commit 515dbd1

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Treetop is a Firefox extension that provides a high-level live view of your book
3636

3737
### Requirements
3838

39-
- [Node.js](https://nodejs.org/) 14.x or greater
39+
- [Node.js](https://nodejs.org/) 18.x or greater
4040
- Firefox browser
4141

4242
### Prerequisites
@@ -50,22 +50,23 @@ npm install
5050

5151
### Commands
5252

53-
| Command | Description |
54-
| ---------------------- | ----------- |
55-
| `npm run build:watch` | Build for development, watching for file changes. |
56-
| `npm run build` | Build for release. |
57-
| `npm run lint` | Check code for linting errors. |
58-
| `npm run lint:fix` | Fix linting errors. |
59-
| `npm run prettier` | Check code for formatting errors. |
60-
| `npm run prettier:fix` | Fix formatting errors. |
53+
| Command | Description |
54+
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
55+
| `npm run build:watch` | Build for development, watching for file changes. |
56+
| `npm run build` | Build for release. |
57+
| `npm run lint` | Check code for linting errors. |
58+
| `npm run lint:fix` | Fix linting errors. |
59+
| `npm run prettier` | Check code for formatting errors. |
60+
| `npm run prettier:fix` | Fix formatting errors. |
6161
| `npm run validate` | Check for unused CSS, a11y issues, and TypeScript errors with [svelte-check](https://github.com/sveltejs/language-tools/tree/master/packages/svelte-check). |
62-
| `npm test` | Run tests. |
63-
| `web-ext run` | Start Firefox and load the extension temporarily. |
64-
| `web-ext build` | Package the extension. |
62+
| `npm test` | Run tests. |
63+
| `web-ext run` | Start Firefox and load the extension temporarily. |
64+
| `web-ext build` | Package the extension. |
6565

6666
### Core Technologies
6767

6868
#### Development
69+
6970
- [Svelte](https://svelte.dev/): Component framework.
7071
- [TypeScript](https://www.typescriptlang.org/): Typed JavaScript.
7172
- [Vite](https://vitejs.dev/): Build tool.
@@ -76,6 +77,7 @@ npm install
7677
- [webextension-polyfill](https://github.com/mozilla/webextension-polyfill): WebExtension `browser` API polyfill.
7778

7879
#### Testing
80+
7981
- [Jest](https://jestjs.io/): Testing framework.
8082
- [DOM Testing Library](https://testing-library.com/): Framework to test Svelte components.
8183
- [mockzilla-webextension](https://lusito.github.io/mockzilla-webextension/): Mocking toolkit for web extensions.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
"@babel/generator": "7.21.1"
8383
},
8484
"engines": {
85-
"node": ">=14 <17",
86-
"npm": ">=8"
85+
"node": ">=18",
86+
"npm": ">=9"
8787
},
8888
"webExt": {
8989
"sourceDir": "./dist"

0 commit comments

Comments
 (0)