From 627a44d137c0cf23dee4fe4ec077e4b456cd9e99 Mon Sep 17 00:00:00 2001 From: monoid Date: Mon, 22 Feb 2021 18:48:08 +0900 Subject: [PATCH] add dist --- package.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 68dfd37..bf26d02 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ "compile": "tsc", "compile:watch": "tsc -w", "app": "electron build/app.js", - "app:build:win64": "electron-builder --win --x64" + "app:build:win64": "electron-builder --win --x64", + "app:pack:win64": "electron-builder --win --x64 --dir" }, "build": { "asar": true, @@ -16,6 +17,14 @@ "node_modules/**/*", "package.json" ], + "extraFiles":[ + { + "from":"dist/", + "to":"dist/", + "filter":["**/*","!**/*.map"] + }, + "index.html" + ], "appId": "com.prelude.ionian.app", "productName": "Ionian", "win": { @@ -53,6 +62,7 @@ "electron-builder": "^22.9.1", "eslint-plugin-node": "^11.1.0", "ts-json-schema-generator": "^0.82.0", + "ts-node": "^9.1.1", "typescript": "^4.1.3" } }