{"_id":"@bux-web/get-translations-file","_rev":"2-3160879d971fd1b8daadaddfe7449a76","name":"@bux-web/get-translations-file","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@bux-web/get-translations-file","version":"1.0.0","description":"Get translation file in json format from onesky. Used by web-onboarding.","main":"./lib-esm/index.js","bin":{"get-translations-file":"lib-esm/index.js"},"scripts":{"prepublishOnly":"tsc --p tsconfig-npm.json","start":"tsc && generate-gql-ops --path ./src/graphql --url http://localhost:3000/graphql","test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/buxapp/get-translations-file.git"},"author":{"name":"Rense Bakker"},"license":"ISC","bugs":{"url":"https://github.com:buxapp/get-translations-file/issues"},"homepage":"https://github.com:buxapp/get-translations-file#readme","dependencies":{"axios":"^0.24.0","inquirer":"^8.2.0","md5":"^2.3.0","querystring":"^0.2.1","yargs":"^17.3.1"},"devDependencies":{"@types/inquirer":"^8.1.3","@types/md5":"^2.3.1","@types/node":"^17.0.8","@types/yargs":"^17.0.8","typescript":"^4.5.4"},"types":"./lib-esm/index.d.ts","gitHead":"ba8e9e3518b894414741a675ac6a4c69efaa0141","_id":"@bux-web/get-translations-file@1.0.0","_nodeVersion":"14.18.0","_npmVersion":"7.24.1","dist":{"integrity":"sha512-GbIbo5xHtw2V9Ez3iCiDWcxGxxmexUmFRzpaIZWr4XS0ewX5cROMesaenvxgo+qi0Abx86iM/ODfleFjXQ7VTA==","shasum":"0ca1e092a80bf4fecbb8e274a7e9c5dd91c79e52","tarball":"https://registry.npmjs.org/@bux-web/get-translations-file/-/get-translations-file-1.0.0.tgz","fileCount":11,"unpackedSize":9871,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1vf4CRA9TVsSAnZWagAABOQP+wdDvGyWIlOt7D15g6BS\na5FJGEKMACkCJspg176EJ10uJHyviPb2F1Jkj3f3F1NH0EYWi+0X7A0QTWDc\nqbNxRLaFBcQTzQ2TJPMdn7bQL5hwkneZso+2pb7qrq7PKN7IeWTBOgJzzDUJ\n/itLKAwS+n2rw98YTh1xsXc/w2upFW8c/0gfowXCkPev2RerKM0y7nHVHglh\nw7xEDiGdMwBrj6WtWFvOtKvSDOG9uwTSsTEabS20bwN5N4pNeWgiR1HTK7Rv\nsopJKzd0mwcROe0gmr3Vtb2gUfQkXnIXVB7n+3b6qKdmJMVG1lXiCoEukwYw\nTHVXYLrzLiVcO0AqCokiuGYUFc2hx7Jj9B8WpJ3hAiyxm6313WTH2cFt1YDb\nV3AZvC2uUJqwVi+QRy5flNWaeFRhwYCiR9ZVy8aYOm3Wf6LRLUYHnPwFrpdL\nvEGS7KUk06yLm9u8qC5wHFh5yfaeOvQ/nsBVYoPC/Zpc2B3s4sjzTix/UHJQ\nmnj1WTv26T94NhEGc4KBQINkG/scPXi3YUQyAraC5RYCqJEe9SnzmSJED2uN\naqA2j9eqXOiG6gn2qDAdh6xHUCNlDFbdzHtsVQLRpQILssLfQO7xO8z5Q7T8\nkcyObKNbI6wUO5Lv19H+2UsrkJUz7T1he06lSPY2WDqRQThewC/Cv0TJ8hCB\nOg2U\r\n=6g6M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQRKKS6Y4jneSy5j6QI7LD6FkIhy3a+4W6V0imYRcU7AIgFd8IXtaZ8m+CtaOQ8VQK0PDfiL7yipmHQ4Q0r/Eg4H4="}]},"_npmUser":{"name":"abbadev","email":"aalthawr@gmail.com"},"directories":{},"maintainers":[{"name":"abbadev","email":"aalthawr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/get-translations-file_1.0.0_1641478136093_0.8289330820262841"},"_hasShrinkwrap":false}},"time":{"created":"2022-01-06T14:08:56.027Z","1.0.0":"2022-01-06T14:08:56.229Z","modified":"2022-04-04T21:10:56.344Z"},"maintainers":[{"email":"abdullah.althawr@getbux.com","name":"abdullah_bux"},{"email":"aalthawr@gmail.com","name":"abbadev"}],"description":"Get translation file in json format from onesky. Used by web-onboarding.","homepage":"https://github.com:buxapp/get-translations-file#readme","repository":{"type":"git","url":"git+https://github.com/buxapp/get-translations-file.git"},"author":{"name":"Rense Bakker"},"bugs":{"url":"https://github.com:buxapp/get-translations-file/issues"},"license":"ISC","readme":"## get-translations-file\nGet multilingual translations file in json format from onesky.\n\n### Intallation\n`npm i get-translations-file`\n\n### Usage\nThe args can be provided directly in the command line:\n`get-translations-file --secret [onesky_secret_key] --apiKey [onesky_api_key] --projectId [onesky_project_id]`\n\nor by using a json config file:\n`get-translations-file --settings onesky-config.json`\n```json\n{\n  \"secret\": \"onesky_secret_key\",\n  \"apiKey\": \"onesky_api_key\",\n  \"projectId\": \"123\",\n  \"fileName\": \"someExistingFileName.po\",\n  \"outputFile\": \"outputFile.json\"\n}\n```\n\n### Documentation\n| Option name | Optional | Description |\n| --- | --- | --- |\n| secret | no | Onesky secret key |\n| apiKey | no | Onesky api key |\n| projectId | no | Onesky Project ID |\n| fileName | yes | The name of a .po file in the Onesky project |\n| outputFile | yes | The name of json file that you want to generate |\n\nIf you do not provide a `fileName` or `outputFile` the cli will ask for them.\n","readmeFilename":"README.md"}