Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/electron-nodeintegration/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
min-release-age=7
engine-strict=true
6 changes: 5 additions & 1 deletion examples/electron-nodeintegration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ This example uses node integration. If you're looking for an example with contex

## Prerequisites

- [Node.js](http://nodejs.org/)
- [Node.js](http://nodejs.org/) 22.12.0 or later.

With npm 11.10.0 or later, the `.npmrc` configuration excludes dependency releases younger than seven days when npm resolves new versions.

`npm install` does not download the Electron binary. The first `npm start` downloads it, so the first start takes longer and needs internet access.

## Support and Issues

Expand Down
15 changes: 9 additions & 6 deletions examples/electron-nodeintegration/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion examples/electron-nodeintegration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,12 @@
"devDependencies": {
"@electron/packager": "20.3.0",
"@electron/remote": "^2.1.3",
"electron": "^41.2.0"
"electron": "^43.8.4"
},
"dependencies": {
"@nutrient-sdk/viewer": "1.25.0"
},
"engines": {
"node": ">=22.12.0"
}
}
2 changes: 2 additions & 0 deletions examples/electron/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
min-release-age=7
engine-strict=true
6 changes: 5 additions & 1 deletion examples/electron/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ This example uses context isolation, with node integration disabled. If you're l

## Prerequisites

- [Node.js](http://nodejs.org/)
- [Node.js](http://nodejs.org/) 22.12.0 or later.

With npm 11.10.0 or later, the `.npmrc` configuration excludes dependency releases younger than seven days when npm resolves new versions.

`npm install` does not download the Electron binary. The first `npm start` downloads it, so the first start takes longer and needs internet access.

## Usage with a license key

Expand Down
15 changes: 9 additions & 6 deletions examples/electron/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion examples/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@
],
"devDependencies": {
"@electron/packager": "20.3.0",
"electron": "^41.2.0"
"electron": "^43.8.4"
},
"dependencies": {
"@nutrient-sdk/viewer": "1.25.0"
},
"engines": {
"node": ">=22.12.0"
}
}
Loading