Switch scripts to module because of node-fetch v3

This commit is contained in:
Norbert Renner 2022-07-14 17:19:46 +02:00
parent 58c657e38a
commit 9c59fa10b6
4 changed files with 17 additions and 11 deletions

View file

@ -7,7 +7,7 @@
"build": "gulp",
"transifex-push": "gulp i18next && tx push --source",
"transifex-pull": "tx pull --all --minimum-perc 1 --force && (git add locales/*.json && git commit locales/*.json -m 'Update translations' || true)",
"layers": "node layers/josm/extract.js && node layers/collection/extract.js",
"layers": "node layers/josm/extract.mjs && node layers/collection/extract.mjs",
"test": "jest",
"lint": "eslint .",
"prettier": "prettier --write '**/*'",