From: xangelo Date: Tue, 3 Dec 2024 19:46:04 +0000 (-0500) Subject: chore(scripts): make content scripts executable from package.json X-Git-Tag: v0.4.4~34 X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=f29005aa585eb27d73f0c8004709b95823b3b138;p=risinglegends.git chore(scripts): make content scripts executable from package.json --- 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",