From 59577fccf89aa381ab88922068f5007b7f46945f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 16 May 2018 15:49:07 -0400 Subject: [PATCH] dist for each platform --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 4cf4e4b267..7e6ec65233 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,10 @@ "package:win": "pkg . --targets win-x64 --output ./dist/windows/bw.exe", "package:mac": "pkg . --targets macos-x64 --output ./dist/macos/bw", "package:lin": "pkg . --targets linux-x64 --output ./dist/linux/bw", - "dist": "npm run clean && npm run package", + "dist": "npm run build && npm run clean && npm run package", + "dist:win": "npm run build && npm run clean && npm run package:win", + "dist:mac": "npm run build && npm run clean && npm run package:mac", + "dist:lin": "npm run build && npm run clean && npm run package:lin", "publish:npm": "npm run build:prod && npm publish --access public", "lint": "tslint src/**/*.ts spec/**/*.ts || true", "lint:fix": "tslint src/**/*.ts spec/**/*.ts --fix"