diff --git a/deploy.ts b/deploy.ts index a53833e..1e9a1e0 100644 --- a/deploy.ts +++ b/deploy.ts @@ -2,8 +2,6 @@ import { publish } from "gh-pages" import { exec } from "child_process" const args = process.argv.splice(2) -const argsNoFlags = args.filter(val => val[0] !== "-") - const mFlag = ((args.indexOf("--message") + 1) || (args.indexOf("-m") + 1)) - 1 const message = (mFlag) ? args[mFlag + 1] : "automated update" diff --git a/package.json b/package.json index 8b663af..65c0dad 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "webpack-dev-server --open --mode development", "build": "webpack --mode production", - "deploy": "#needs node 12.2.0 && npm run build && ts-node deploy" + "deploy": "ts-node deploy" }, "sideEffects": [ "*.scss"