diff --git a/package.json b/package.json index 33f19c60..0591c662 100644 --- a/package.json +++ b/package.json @@ -9,18 +9,18 @@ "main": "lib/src/app/init.js", "types": "lib/src/app/init.d.ts", "scripts": { - "compile": "npm run lint && gulp build", - "lint": "tslint --project tsconfig.json", - "start": "npm run compile && npm run browserify-preload && cross-env ELECTRON_DEV=true electron .", - "prebuild": "npm run compile && npm run rebuild && npm run browserify-preload", "browserify-preload": "browserify -o lib/src/renderer/_preload-main.js -x electron --insert-global-vars=__filename,__dirname lib/src/renderer/preload-main.js", - "rebuild": "electron-rebuild -f", + "compile": "npm run lint && gulp build", "dev": "npm run prebuild && cross-env ELECTRON_DEV=true electron .", - "test": "npm run lint && cross-env ELECTRON_QA=true jest --config jest.config.json --runInBand", "demo-win": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file:///demo/index.html", "demo-mac": "npm run prebuild && cross-env ELECTRON_DEV=true electron . --url=file://$(pwd)/demo/index.html", - "unpacked-mac": "npm run prebuild && npm run test && build --mac --dir", + "lint": "tslint --project tsconfig.json", "packed-mac": "npm run unpacked-mac && packagesbuild -v installer/mac/symphony-mac-packager.pkgproj", + "prebuild": "npm run compile && npm run rebuild && npm run browserify-preload", + "rebuild": "electron-rebuild -f", + "start": "npm run compile && npm run browserify-preload && cross-env ELECTRON_DEV=true electron .", + "test": "npm run lint && cross-env ELECTRON_QA=true jest --config jest.config.json --runInBand", + "unpacked-mac": "npm run prebuild && npm run test && build --mac --dir", "unpacked-win": "npm run prebuild && npm run test && build --win --x64 --dir", "unpacked-win-x86": "npm run prebuild && npm run test && build --win --ia32 --dir" },