diff --git a/examples/chat/package.json b/examples/chat/package.json index be66d0a..74b65ef 100644 --- a/examples/chat/package.json +++ b/examples/chat/package.json @@ -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" }, diff --git a/examples/counter/package.json b/examples/counter/package.json index 1834572..bf5c1c4 100644 --- a/examples/counter/package.json +++ b/examples/counter/package.json @@ -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" },