From 2e1f803f374a1d262be21b3b4e355698e1753daa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Sawicki?= <32898551+dufipl@users.noreply.github.com> Date: Tue, 28 Mar 2023 16:53:20 +0200 Subject: [PATCH] docs: updated package.json content and electron version in build first app guide (#37554) * Docs: updated package.json content and electron version in build first app guide * docs: removed caret from electron version --- docs/tutorial/tutorial-2-first-app.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/tutorial/tutorial-2-first-app.md b/docs/tutorial/tutorial-2-first-app.md index ff2dd5e03ba3..85d483bee845 100644 --- a/docs/tutorial/tutorial-2-first-app.md +++ b/docs/tutorial/tutorial-2-first-app.md @@ -81,10 +81,13 @@ the exact dependency versions to install. "version": "1.0.0", "description": "Hello World!", "main": "main.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, "author": "Jane Doe", "license": "MIT", "devDependencies": { - "electron": "19.0.0" + "electron": "23.1.3" } } ``` @@ -137,13 +140,14 @@ script in the current directory and run it in dev mode. "version": "1.0.0", "description": "Hello World!", "main": "main.js", + "scripts": { + "start": "electron .", + "test": "echo \"Error: no test specified\" && exit 1" + }, "author": "Jane Doe", "license": "MIT", - "scripts": { - "start": "electron ." - }, "devDependencies": { - "electron": "^19.0.0" + "electron": "23.1.3" } } ```