From f29005aa585eb27d73f0c8004709b95823b3b138 Mon Sep 17 00:00:00 2001 From: xangelo Date: Tue, 3 Dec 2024 14:46:04 -0500 Subject: [PATCH] chore(scripts): make content scripts executable from package.json --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index 996d40d..706ba5d 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,12 @@ "dev:client": "npx webpack -w", "dev": "npx nodemon -r tsconfig-paths/register src/server/api.ts", "prepare": "husky install", + "ts-node": "npx ts-node -r tsconfig-paths/register", + "content:refresh:cities": "npm run ts-node -- ./seeds/cities.ts", + "content:refresh:locations": "npm run ts-node -- ./seeds/locations.ts", + "content:refresh:monsters": "npm run ts-node -- ./seeds/monsters.ts", + "content:refresh:items": "npm run ts-node -- ./seeds/shop_items.ts", + "content:refresh:drops": "npm run ts-node -- ./seeds/drop-tables.ts", "release": "npx standard-version && npm run copy-changelog", "copy-changelog": "cp ./CHANGELOG.md ~/repos/xangelo.ca/static/", "release:minor": "npx standard-version --release-as minor", -- 2.25.1