npm is "smart" enough to try and install our electron wrapper as a module

instead of the actual electron package. With no way to ignore directories.
I'd like to think of this as temporary, until I get to rip apart riot-web
and riot-electron

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2017-05-10 13:36:27 +01:00
parent 41738ec025
commit c607b1bc89
24 changed files with 17 additions and 17 deletions

View file

@ -1,7 +1,7 @@
{
"name": "riot-web",
"productName": "Riot",
"main": "electron/src/electron-main.js",
"main": "electron_app/src/electron-main.js",
"version": "0.9.9",
"description": "A feature-rich client for Matrix.org",
"author": "Vector Creations Ltd.",
@ -165,9 +165,9 @@
"target": "squirrel"
},
"directories": {
"buildResources": "electron/build",
"output": "electron/dist",
"app": "electron"
"buildResources": "electron_app/build",
"output": "electron_app/dist",
"app": "electron_app"
}
}
}