UNPKG

325 BJavaScriptView Raw
1#! /usr/bin/env node
2
3const shell = require("shelljs");
4
5const path = require("path");
6const config = path.join(__dirname, "i18next-scanner.config.js");
7
8shell.exec(`i18next-scanner --config ${config} '{app,src,node_modules/@datawheel/canon-core/src}/**/*.{html,js,jsx}'`, code => {
9 shell.echo("");
10 shell.exit(code);
11});