diff --git a/package.json b/package.json index eb1a28ae7c..aaea6fd3e8 100644 --- a/package.json +++ b/package.json @@ -29,10 +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 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", + "dist": "npm run build:prod && npm run clean && npm run package", + "dist:win": "npm run build:prod && npm run clean && npm run package:win", + "dist:mac": "npm run build:prod && npm run clean && npm run package:mac", + "dist:lin": "npm run build:prod && 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"