dist for each platform

This commit is contained in:
Kyle Spearrin 2018-05-16 15:49:07 -04:00
parent 2170ebc6c7
commit 59577fccf8
1 changed files with 4 additions and 1 deletions

View File

@ -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"