@spiralup/auto-translate
Version:
Translate text to different languages using Google or Microsoft translate, for example during JHipster code generation.
78 lines (77 loc) • 2.24 kB
JSON
{
"name": "@spiralup/auto-translate",
"version": "2.0.2",
"description": "Translate text to different languages using Google or Microsoft translate, for example during JHipster code generation.",
"main": "module/index.js",
"keywords": [
"Automatic Language Translation",
"Google Translate",
"Bing Microsoft Translator",
"JHipster"
],
"lint-staged": {
"{lib,module,scripts,test}/*.js": [
"prettier --write",
"git add"
]
},
"homepage": "https://github.com/SpiralUp/auto-translate",
"repository": {
"type": "git",
"url": "git+https://github.com/SpiralUp/auto-translate.git"
},
"author": "Ivan Vrbovcan <ivrbovcan@gmail.com> (https://github.com/SpiralUp)",
"bugs": {
"url": "https://github.com/SpiralUp/auto-translate/issues"
},
"license": "Apache-2.0",
"licenses": [
{
"type": "Apache 2.0"
}
],
"dependencies": {
"@google-cloud/translate": "^8.3.0",
"lodash": "^4.17.21",
"mstranslator": "^3.0.0",
"nconf": "^0.12.1",
"promise": "^8.3.0"
},
"devDependencies": {
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-chai-friendly": "1.0.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-mocha": "10.4.3",
"eslint-plugin-prettier": "5.1.3",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"scripts": {
"coverage": "./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha test -- -t 5000",
"lint": "eslint .",
"lint-fix": "npm run lint -- --fix",
"test": "jest",
"test:watch": "mocha --watch --reporter min",
"release": "git push && git push --tags && npm publish",
"release:major": "npm version major -a -m \"Update to %s\" && npm run release",
"release:minor": "npm version minor -a -m \"Update to %s\" && npm run release",
"release:patch": "npm version patch -a -m \"Update to %s\" && npm run release"
},
"directories": {
"lib": "lib",
"test": "test"
},
"jest": {
"testMatch": [
"**/?(*.)+(spec|test).[jt]s?(x)",
"**/test/**/*.js"
]
}
}