Alias extract-locales (#469)
This commit is contained in:
Родитель
2537150a2d
Коммит
92ab0125ee
|
@ -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:disco | Starts the express server (prod mode disco pane) |
|
||||||
| npm run start:search | Starts the express server (prod mode search) |
|
| npm run start:search | Starts the express server (prod mode search) |
|
||||||
| npm run build | Builds the libs (all apps) |
|
| 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:disco | Builds the libs (discovery pane) |
|
||||||
| npm run build:search | Builds the libs (search) |
|
| npm run build:search | Builds the libs (search) |
|
||||||
| npm run dev:search | Starts the dev server (search app) |
|
| npm run dev:search | Starts the dev server (search app) |
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
npm run extract-locales
|
|
@ -6,7 +6,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "better-npm-run build",
|
"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:disco": "better-npm-run build:disco",
|
||||||
"build:search": "better-npm-run build:search",
|
"build:search": "better-npm-run build:search",
|
||||||
"clean": "rimraf './dist/*+(css|js|map|json)' './webpack-assets.json'",
|
"clean": "rimraf './dist/*+(css|js|map|json)' './webpack-assets.json'",
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
"NODE_APP_INSTANCE": "search"
|
"NODE_APP_INSTANCE": "search"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"build-l10n": {
|
"extract-locales": {
|
||||||
"command": "webpack --verbose --display-error-details --progress --colors --config webpack.l10n.config.babel.js",
|
"command": "webpack --verbose --display-error-details --progress --colors --config webpack.l10n.config.babel.js",
|
||||||
"env": {
|
"env": {
|
||||||
"NODE_PATH": "./:./src",
|
"NODE_PATH": "./:./src",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче