From 4f7dc934dff6375cdf8d00c69e6a82d7481c8d37 Mon Sep 17 00:00:00 2001 From: freearhey <7253922+freearhey@users.noreply.github.com> Date: Sat, 9 Dec 2023 19:57:24 +0300 Subject: [PATCH] Update package.json --- package.json | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index eb32f4732..392d54927 100644 --- a/package.json +++ b/package.json @@ -4,17 +4,17 @@ "act:check": "act pull_request -W .github/workflows/check.yml", "act:format": "act workflow_dispatch -W .github/workflows/format.yml", "act:update": "act workflow_dispatch -W .github/workflows/update.yml", - "api:load": "ts-node scripts/commands/api/load.ts", - "api:generate": "ts-node scripts/commands/api/generate.ts", + "api:load": "tsx scripts/commands/api/load.ts", + "api:generate": "tsx scripts/commands/api/generate.ts", "api:deploy": "npx gh-pages-clean && npx gh-pages -a -m \"Deploy to iptv-org/api\" -d .api -r https://$GITHUB_TOKEN@github.com/iptv-org/api.git", - "playlist:format": "ts-node scripts/commands/playlist/format.ts", - "playlist:update": "ts-node scripts/commands/playlist/update.ts", - "playlist:generate": "ts-node scripts/commands/playlist/generate.ts", - "playlist:validate": "ts-node scripts/commands/playlist/validate.ts", + "playlist:format": "tsx scripts/commands/playlist/format.ts", + "playlist:update": "tsx scripts/commands/playlist/update.ts", + "playlist:generate": "tsx scripts/commands/playlist/generate.ts", + "playlist:validate": "tsx scripts/commands/playlist/validate.ts", "playlist:lint": "npx m3u-linter -c m3u-linter.json", "playlist:deploy": "npx gh-pages-clean && npx gh-pages -m \"Deploy to GitHub Pages\" -d .gh-pages -r https://$GITHUB_TOKEN@github.com/iptv-org/iptv.git", - "readme:update": "ts-node scripts/commands/readme/update.ts", - "report:create": "ts-node scripts/commands/report/create.ts", + "readme:update": "tsx scripts/commands/readme/update.ts", + "report:create": "tsx scripts/commands/report/create.ts", "check": "npm run playlist:lint && npm run playlist:validate", "format": "npm run playlist:format", "update": "npm run playlist:generate && npm run api:generate && npm run readme:update", @@ -56,7 +56,8 @@ "markdown-include": "^0.4.3", "numeral": "^2.0.6", "transliteration": "^2.3.5", - "ts-jest": "^29.1.1" + "ts-jest": "^29.1.1", + "tsx": "^4.6.2" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^6.7.2",