UNPKG

fluent-transpiler

Version:

Transpile Fluent (ftl) files into optimized, tree-shakable, JavaScript EcmaScript Modules (esm).

54 lines (53 loc) 1.31 kB
{ "name": "fluent-transpiler", "version": "0.3.2", "description": "Transpile Fluent (ftl) files into optimized, tree-shakable, JavaScript EcmaScript Modules (esm).", "main": "index.js", "type": "module", "bin": { "ftl": "cli.js" }, "files": [ "cli.js", "index.js" ], "scripts": { "test": "npm run test:cli && npm run test:unit", "test:cli": "./cli.js --locale en-CA --locale en --use-isolating --variable-notation camelCase test/files/index.ftl --output test/files/index.mjs", "test:unit": "node --test" }, "repository": { "type": "git", "url": "git+https://github.com/willfarrell/fluent-transpiler.git" }, "keywords": [ "Fluent", "@fluent", "ftl", "localization", "l10n", "internationalization", "i18n", "ast", "compiler", "transpiler" ], "author": "willfarrell", "license": "MIT", "bugs": { "url": "https://github.com/willfarrell/fluent-transpiler/issues" }, "homepage": "https://github.com/willfarrell/fluent-transpiler", "dependencies": { "@fluent/syntax": "0.19.0", "change-case": "5.4.4", "commander": "13.1.0" }, "devDependencies": { "@fluent/bundle": "^0.19.0" }, "funding": { "type": "github", "url": "https://github.com/sponsors/willfarrell" } }