chore(scripts): make content scripts executable from package.json
authorxangelo <me@xangelo.ca>
Tue, 3 Dec 2024 19:46:04 +0000 (14:46 -0500)
committerxangelo <me@xangelo.ca>
Tue, 3 Dec 2024 19:46:04 +0000 (14:46 -0500)
package.json

index 996d40d0a7a3430dad784bf9d2c2abf9f176ed63..706ba5d7539be074bb52e7d6ab0a7b3b84dcb59a 100644 (file)
     "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",