Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ nvm. See https://github.com/creationix/nvm for more info.
| npm run start:disco | Starts the express server (prod mode disco pane) |
| npm run start:search | Starts the express server (prod mode search) |
| npm run build | Builds the libs (all apps) |
| npm run build-l10n | Builds the libs + extracts translations |
| npm run extract-locales| Builds the libs + extracts translations |
| npm run build:disco | Builds the libs (discovery pane) |
| npm run build:search | Builds the libs (search) |
| npm run dev:search | Starts the dev server (search app) |
Expand Down
3 changes: 3 additions & 0 deletions bin/extract-locales
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env sh

npm run extract-locales
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"private": true,
"scripts": {
"build": "better-npm-run build",
"build-l10n": "better-npm-run build-l10n",
"extract-locales": "better-npm-run extract-locales",
"build:disco": "better-npm-run build:disco",
"build:search": "better-npm-run build:search",
"clean": "rimraf './dist/*+(css|js|map|json)' './webpack-assets.json'",
Expand Down Expand Up @@ -55,7 +55,7 @@
"NODE_APP_INSTANCE": "search"
}
},
"build-l10n": {
"extract-locales": {
"command": "webpack --verbose --display-error-details --progress --colors --config webpack.l10n.config.babel.js",
"env": {
"NODE_PATH": "./:./src",
Expand Down