Skip to content

Commit

Permalink
chore: add version option (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRamosAcosta authored Feb 9, 2022
1 parent 81b6dc6 commit 13beb34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/bin/lokalise-downloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import { mkdirSync, writeFileSync } from "fs"
import { downloadLocalesAsJson } from "../fetcher"
import { Command, Option } from "commander"
import meta from "../../package.json"

const program = new Command()

Expand All @@ -27,6 +28,7 @@ program
"./src/locales",
),
)
.version(meta.version)

program.parse()

Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"alwaysStrict": true,
"esModuleInterop": true,
"moduleResolution": "node",
"isolatedModules": true
"isolatedModules": true,
"resolveJsonModule": true
},
"exclude": ["node_modules", "dist"]
}

0 comments on commit 13beb34

Please sign in to comment.