UNPKG

gettext-parser

Version:

Parse and compile gettext po and mo files to/from json, nothing more, nothing less

52 lines (51 loc) 1.38 kB
{ "name": "gettext-parser", "description": "Parse and compile gettext po and mo files to/from json, nothing more, nothing less", "version": "8.0.0", "author": "Andris Reinman", "contributors": [ { "name": "Sam Hauglustaine" } ], "homepage": "http://github.com/smhg/gettext-parser", "repository": { "type": "git", "url": "http://github.com/smhg/gettext-parser.git" }, "type": "module", "engines": { "node": ">=18" }, "scripts": { "lint": "eslint lib/*.js test/*.js index.js", "test-generate-mo": "msgfmt test/fixtures/latin13.po -o test/fixtures/latin13.mo & msgfmt test/fixtures/utf8.po -o test/fixtures/utf8.mo & msgfmt test/fixtures/obsolete.po -o test/fixtures/obsolete.mo", "test": "mocha", "preversion": "npm run lint && npm test", "postversion": "git push && git push --tags" }, "main": "./index.js", "license": "MIT", "dependencies": { "content-type": "^1.0.5", "encoding": "^0.1.13", "readable-stream": "^4.5.2", "safe-buffer": "^5.2.1" }, "devDependencies": { "chai": "^5.0.3", "eslint": "^8.56.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.1.1", "mocha": "^10.3.0" }, "keywords": [ "i18n", "l10n", "gettext", "mo", "po" ] }