From fa012c3f580e66b85fa2e05435d32b5b2514e817 Mon Sep 17 00:00:00 2001 From: Toni Tassani Date: Sat, 17 Mar 2018 09:24:27 +0100 Subject: [PATCH] Added script to create executables --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 27c81fe..4e45ad1 100644 --- a/package.json +++ b/package.json @@ -10,11 +10,15 @@ "author": "John Johnson ", "license": "MIT", "scripts": { - "start": "tsc && node dist/cli.js" + "start": "tsc && node dist/cli.js", + "build-bundle": "tsc && browserify dist/cli.js --node --standalone rawjs > dist/trello-to-analytics.js", + "build-executable:windows": "nexe -i dist/cli.js -o jira-to-analytics.exe --flags", + "build-executable:mac": "nexe -i dist/trello-to-analytics.js -o trello-to-analytics.mac" }, "dependencies": { "isomorphic-fetch": "^2.2.1", "js-yaml": "^3.7.0", + "nexe": "^2.0.0-rc.26", "progress": "^1.1.8", "ramda": "^0.22.1", "yargs": "^6.5.0"