1 = Evergreen Angular App Cheatsheet
6 ---------------------------------------------------------------------
9 ng lint # check code formatting
10 npm run test # unit tests
11 ng build --watch # compile dev mode
12 ng build --prod # compile production mode
13 ---------------------------------------------------------------------
15 == OPTIONAL: Adding a Locale
17 * Using fr-CA as an example.
18 * An fr-CA configuration is supplied by default. Additional configs
19 must be added where needed.
20 * Currently translation builds are only available on --prod build mode.
21 * Uncomment the locale lines in eg_vhost.conf and restart apache.
22 * TODO: expand docs on package.json file changes required to add locales.
25 ---------------------------------------------------------------------
26 npm run export-strings
27 npm run merge-strings -- fr-CA
28 # APPLY TRANSLATIONS TO src/locale/messages.fr-CA.xlf
29 npm run build-fr-CA # modify package.json for other locales
30 ---------------------------------------------------------------------