adding support and scripts to launch easily in dev
This commit is contained in:
parent
0dd50609d8
commit
d468d130fe
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lightcord",
|
"name": "lightcord",
|
||||||
"version": "1.0.0",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/launcher.js",
|
"main": "dist/launcher.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "tsc && electron .",
|
"test": "tsc && NODE_OPTIONS.bat && electron .",
|
||||||
"run": "NODE_OPTIONS.bat && electron .",
|
"run": "NODE_OPTIONS.bat && electron .",
|
||||||
"build": "electron-packager . --ignore=\"(distApp|builds|\\.ts)\" --arch=ia32 --win32metadata.ProductName=\"Lightcord\" --win32metadata.CompanyName=\"Lightcord Inc.\" --protocol=discord --platform=\"win32\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack=*.{node,dll} --overwrite"
|
"build": "electron-packager . --ignore=\"(distApp|builds|\\.ts)\" --arch=ia32 --win32metadata.ProductName=\"Lightcord\" --win32metadata.CompanyName=\"Lightcord Inc.\" --protocol=discord --platform=\"win32\" --out=builds --icon=app.ico --executable-name=\"Lightcord\" --asar.unpack=*.{node,dll} --overwrite",
|
||||||
|
"devInstall": "npm i -g --arch=ia32 electron@7.1.11 && npm i -g typescript && npm i --save-dev && echo \"Everything is installed. You should be able to do `npm run test` to compile everything and launch.\""
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
|
Loading…
Reference in New Issue