Re-add i18n related scripts/tasks (#2958)
Scripts were accidentally removed in PR #2643.
This commit is contained in:
@@ -19,7 +19,10 @@
|
||||
"lint": "npm run lint:js && npm run lint:css",
|
||||
"lint:js": "eslint resources/scripts",
|
||||
"lint:css": "stylelint \"resources/**/*.{css,scss,vue}\"",
|
||||
"test": "npm run lint"
|
||||
"test": "npm run lint",
|
||||
"translate": "npm run translate:pot && npm run translate:js",
|
||||
"translate:pot": "wp i18n make-pot . ./resources/lang/sage.pot --ignore-domain --include=\"app,resources\"",
|
||||
"translate:js": "wp i18n make-json ./resources/lang --pretty-print"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@roots/bud": "^5.2.0",
|
||||
|
||||
Reference in New Issue
Block a user