Skip to content

Commit

Permalink
Setup NPM & TS
Browse files Browse the repository at this point in the history
  • Loading branch information
MNThomson committed Nov 3, 2022
1 parent b83d60e commit f523913
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 22 deletions.
38 changes: 19 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions package.json
Expand Up @@ -5,12 +5,15 @@
"@cloudflare/workers-types": "^3.18.0",
"prettier": "2.7.1",
"typescript": "^4.8.4",
"wrangler": "2.1.13"
"wrangler": "2.1.15"
},
"private": true,
"scripts": {
"dev": "wrangler dev",
"dev": "wrangler dev --local",
"deploy": "wrangler publish",
"lint": "prettier -w ."
"lint": "prettier -w .",
"pull:local": "docker pull 127.0.0.1:8787/hello-world:latest",
"pull:remote": "docker pull hello-world:latest && docker image rm hello-world:latest",
"burp": "sudo nano /etc/systemd/system/docker.service.d/http-proxy.conf && sudo systemctl daemon-reload && sudo systemctl restart docker"
}
}
1 change: 1 addition & 0 deletions tsconfig.json
Expand Up @@ -5,6 +5,7 @@
"jsx": "react",
"module": "es2022",
"moduleResolution": "node",
"rootDirs": ["src"],
"types": ["@cloudflare/workers-types"],
"resolveJsonModule": true,
"allowJs": false,
Expand Down

0 comments on commit f523913

Please sign in to comment.