canmove, Confirmed users, Bureaucrats and Sysops emeriti
3,628
edits
(→Developing: Add linting section) |
(→Additional Requirements: Add install information for windows users) |
||
| Line 48: | Line 48: | ||
These are [https://nodejs.org/ NodeJS], react-tools and eslint. | These are [https://nodejs.org/ NodeJS], react-tools and eslint. | ||
Install NodeJS first, then follow the instructions below. | |||
==== Windows Specific ==== | |||
There's a little bit more set-up required specific to Windows. | |||
* Start up the mozilla-build shell via one of the start-shell-msvc*.bat files | |||
* Work out your APPDATA path: | |||
echo $APPDATA | |||
* In your APPDATA, you'll need to replace various parts, so: | |||
c:\Users\moztest\AppData\Roaming | |||
becomes: | |||
/c/Users/moztest/AppData/Roaming | |||
* Now setup your profile file, replace the <code><path to APPDATA></code> with the path you just worked out. | |||
echo $PATH:/c/Program\ Files/nodejs:<path to APPDATA>/npm | |||
* Now exit your shell/console and re-enter it. | |||
* Complete the steps in the "All Platforms" section | |||
==== All Platforms ==== | |||
Once you have Node installed, use npm (which comes with it) to globally install the extra required items: | Once you have Node installed, use npm (which comes with it) to globally install the extra required items: | ||