rsnext/examples/with-electron/package.json
Kristoffer K 2acb53bd30
chore: update example names to match their folders (#16268)
**What's the problem this PR addresses?**

A decent amount of the examples don't have a `name` field in `package.json` that matches their folder name, meaning they either lack a name or the names are duplicated.

I was testing Yarn 2 workspaces using the entire examples directory and needed to get rid of the duplicates.

**How did you fix it?**

Updated the names to match the names of their folders
2020-09-05 21:23:51 +00:00

32 lines
746 B
JSON

{
"name": "with-electron",
"productName": "ElectronNext",
"version": "1.0.0",
"main": "main/index.js",
"scripts": {
"clean": "rimraf dist renderer/.next renderer/out",
"start": "electron .",
"build": "next build renderer && next export renderer",
"pack-app": "npm run build && electron-builder --dir",
"dist": "npm run build && electron-builder"
},
"build": {
"asar": true,
"files": [
"main",
"renderer/out"
]
},
"devDependencies": {
"electron": "^7.1.7",
"electron-builder": "^21.2.0",
"next": "latest",
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"dependencies": {
"electron-is-dev": "^1.1.0",
"electron-next": "^3.1.5"
},
"license": "MIT"
}