Skip to content

Commit

Permalink
chore(example): add format and lint commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sor4chi committed Sep 26, 2023
1 parent 30dc660 commit 7032bb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"private": true,
"version": "0.0.1",
"scripts": {
"lint": "eslint --fix --ext .ts,.tsx src",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"dev": "wrangler dev src/index.ts",
"deploy": "wrangler deploy --minify src/index.ts"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"private": true,
"version": "0.0.1",
"scripts": {
"lint": "eslint --fix --ext .ts,.tsx src",
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
"dev": "wrangler dev src/index.ts",
"deploy": "wrangler deploy --minify src/index.ts"
},
Expand Down

0 comments on commit 7032bb5

Please sign in to comment.