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" } } ```