diff --git a/README.md b/README.md index a25fe88cb16..e3c5d1d6208 100644 --- a/README.md +++ b/README.md @@ -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) | diff --git a/bin/extract-locales b/bin/extract-locales new file mode 100755 index 00000000000..f45496d16e7 --- /dev/null +++ b/bin/extract-locales @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +npm run extract-locales diff --git a/package.json b/package.json index 645b37c8dd5..7b498a948fc 100644 --- a/package.json +++ b/package.json @@ -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'", @@ -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",