diff --git a/package.json b/package.json index 33d91e5..258da29 100644 --- a/package.json +++ b/package.json @@ -4,9 +4,7 @@ "description": "Personal Screeps codebase for Hideyoshi", "scripts": { "build": "node esbuild.config.mjs", - "push:main": "npm run build && screeps-api --server main upload dist/*.js", - "push:sim": "npm run build && screeps-api --server main upload --branch sim dist/*.js", - "push:local": "npm run build && screeps-api --server local upload dist/*.js", + "push": "npm run build && ts-node publish.ts", "format": "prettier --check --ignore-path .gitignore .", "format:fix": "prettier --write --ignore-path .gitignore ." }, diff --git a/publish.ts b/publish.ts index c2a79b7..004be63 100644 --- a/publish.ts +++ b/publish.ts @@ -83,7 +83,6 @@ const main = async () => { branch: env.SCREEPS_BRANCH, modules: parseDist(env.DIST_PATH), }; - console.log(JSON.stringify(payload)); const headers: ScreepsHeaders = { 'X-Token': env.SCREEPS_TOKEN, };