deployment stuff, kindof

stable
Valerie 2021-07-28 23:18:03 -04:00
parent 0015ccae43
commit 845cb376e8
7 changed files with 19 additions and 3 deletions

3
.gitignore vendored
View File

@ -3,3 +3,6 @@ out
data
*.log
bin
deploy/win32/build
*-v*.*.*.tgz
dist

View File

@ -0,0 +1 @@
{"appName":"Hadean"}

View File

@ -0,0 +1,3 @@
{
"distPath": ".\\dist"
}

View File

@ -1,6 +1,6 @@
{
"name": "hadean",
"version": "1.0.0",
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"type": "module",
@ -65,6 +65,8 @@
"tsc": "tsc",
"tsc:watch": "yarn tsc --watch",
"rollup": "rollup --config rollup.config.js",
"rollup:watch": "yarn rollup --watch"
"rollup:watch": "yarn rollup --watch",
"poop": "rollup --config rollup.prod.config.js && nodegui-packer --pack ./dist && \".\\deploy\\win32\\build\\Hadean\\qode.exe\"",
"build": "nodegui-packer --pack ./dist"
}
}

View File

@ -0,0 +1,7 @@
import configs from './rollup.config.js';
const appBundleConfig = configs[0];
appBundleConfig.output.file = 'dist/index.js';
appBundleConfig.output.format = 'es';
export default [
appBundleConfig
];