Re-introduce build dir / dist dir option for isolated build environments.

This commit re-introduces the functionality for building lbry-app with a directory target. This is important for isolated build environments like solbuild, where build and install directories are different (and the contents of install dir are used in a final binary package) and thus necessitate being able to have unpackaged assets be placed in a directory relative to the build location, so instructions may be performed on those assets.
This commit is contained in:
Joshua Strobl 2018-01-09 01:53:07 +02:00
parent d2011551a9
commit 4f31b6c9ee

View file

@ -20,6 +20,7 @@
"dev": "electron-webpack dev",
"compile": "electron-webpack && yarn extract-langs",
"build": "yarn compile && electron-builder build",
"build:dir": "yarn build -- --dir -c.compression=store -c.mac.identity=null",
"postinstall": "electron-builder install-app-deps",
"precommit": "lint-staged",
"lint": "eslint 'src/**/*.{js,jsx}' --fix",