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
This commit is contained in:
parent
4c6092e151
commit
2e1f803f37
1 changed files with 9 additions and 5 deletions
|
@ -81,10 +81,13 @@ the exact dependency versions to install.
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Hello World!",
|
"description": "Hello World!",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
"author": "Jane Doe",
|
"author": "Jane Doe",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"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",
|
"version": "1.0.0",
|
||||||
"description": "Hello World!",
|
"description": "Hello World!",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
|
"scripts": {
|
||||||
|
"start": "electron .",
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
"author": "Jane Doe",
|
"author": "Jane Doe",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
|
||||||
"start": "electron ."
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^19.0.0"
|
"electron": "23.1.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue