feat: fixes project dependecies and publish script
This commit is contained in:
@@ -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 ."
|
||||
},
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user