ruiqimao / qmkbuilder

Online GUI for QMK Firmware
http://kbfirmware.com
GNU General Public License v3.0
383 stars 123 forks source link

Fix npm error on windows #2

Closed NoahAndrews closed 7 years ago

NoahAndrews commented 7 years ago

Windows doesn't support setting environment variables via VAR=VAL, so we need to use the cross-env tool to set the variables in a cross-platform manner.

I also used WebStorm to reformat the package.json file, according to the rules it picked up from .editorconfig. If we're going to have a code style configuration checked into the repo, all code should be conformed to it.