Add tools to make localization development easier (#907)

* add localization command to npm to automate some localization processes

* allow inserting key above specified key

* fix localization script not working
This commit is contained in:
Kyler Li
2024-09-10 13:39:38 -07:00
committed by GitHub
parent 3ccc6bbdf4
commit a7892ed665
3 changed files with 399 additions and 3 deletions

View File

@@ -6,7 +6,8 @@
"prod": "webpack --config webpack.config.js --mode production",
"lint": "eslint --ext .js src/ && prettier --check src/",
"development": "npm run dev",
"production": "npm run prod"
"production": "npm run prod",
"localization": "node ./src/localization/localizationHelperCLI.js"
},
"repository": {
"type": "git",
@@ -54,6 +55,7 @@
"vue-marquee-text-component": "^1.2.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"worker-timers": "^8.0.4"
"worker-timers": "^8.0.4",
"yargs": "^17.7.2"
}
}