nsarrazin HF staff commited on
Commit
7d6f1c2
1 Parent(s): 7d8cffd

make scripts compatible with node 20

Browse files
Files changed (1) hide show
  1. package.json +2 -2
package.json CHANGED
@@ -12,8 +12,8 @@
12
  "lint": "prettier --plugin-search-dir . --check . && eslint .",
13
  "format": "prettier --plugin-search-dir . --write .",
14
  "test": "MONGODB_URL=mongodb://127.0.0.1:27017/ vitest",
15
- "updateLocalEnv": "npx ts-node --esm scripts/updateLocalEnv.ts",
16
- "updateProdEnv": "npx ts-node --esm scripts/updateProdEnv.ts"
17
  },
18
  "devDependencies": {
19
  "@iconify-json/carbon": "^1.1.16",
 
12
  "lint": "prettier --plugin-search-dir . --check . && eslint .",
13
  "format": "prettier --plugin-search-dir . --write .",
14
  "test": "MONGODB_URL=mongodb://127.0.0.1:27017/ vitest",
15
+ "updateLocalEnv": "node --loader ts-node/esm scripts/updateLocalEnv.ts",
16
+ "updateProdEnv": "node --loader ts-node/esm scripts/updateProdEnv.ts"
17
  },
18
  "devDependencies": {
19
  "@iconify-json/carbon": "^1.1.16",