chore(i18n): fix sync languages script (#4367)

This commit is contained in:
LongYinan
2023-09-14 17:37:32 -07:00
committed by GitHub
parent d01203daad
commit d68545cb29
2 changed files with 4 additions and 6 deletions

View File

@@ -17,9 +17,9 @@
"scripts": {
"build": "node build.mjs",
"dev": "node dev.mjs",
"sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/sync.ts",
"sync-languages": "ts-node-esm -P ./tsconfig.node.json src/scripts/sync.ts",
"sync-languages:check": "yarn run sync-languages --check",
"download-resources": "NODE_OPTIONS=--experimental-fetch ts-node-esm src/scripts/download.ts"
"download-resources": "ts-node-esm -P ./tsconfig.node.json src/scripts/download.ts"
},
"keywords": [],
"repository": {