-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 2.27 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "@threepointone/boilerplate",
"version": "0.0.0",
"private": true,
"description": "Boilerplate for projects using React and Cloudflare Workers",
"keywords": [
"react",
"react-dom",
"cloudflare",
"wrangler",
"ssr",
"ppr"
],
"license": "ISC",
"author": "Sunil Pai <[email protected]>",
"type": "module",
"scripts": {
"build:css": "tailwindcss -i ./src/app/styles.css -o ./public/dist/styles.css --minify",
"build:js": "esbuild ./src/client/index.tsx --bundle --minify --outdir=./public/dist --format=esm --platform=browser --define:IS_CLIENT='\"true\"'",
"deploy": "npm run prerender && npm run deploy:app && npm run deploy:eyeball",
"deploy:app": "wrangler deploy -c wrangler.app.toml --define process.env.NODE_ENV:'\"production\"'",
"deploy:eyeball": "wrangler deploy -c wrangler.eyeball.toml --define process.env.NODE_ENV:'\"production\"'",
"dev:app": "wrangler dev -c wrangler.app.toml",
"dev:eyeball": "wrangler dev -c wrangler.eyeball.toml",
"prerender": "node ./src/prerender/index.js",
"start": "npm run prerender && concurrently \"npm run dev:eyeball\" \"sleep 1 && npm run dev:app\""
},
"dependencies": {
"esbuild": "^0.23.1",
"react": "0.0.0-experimental-cae764ce-20241025",
"react-dom": "0.0.0-experimental-cae764ce-20241025",
"suspend-react": "^0.1.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240925.0",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@nkzw/eslint-config": "^1.18.1",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"concurrently": "^9.0.1",
"eslint": "^8.57.0",
"eslint-plugin-unused-imports": "^4.1.4",
"prettier": "^3.3.3",
"prettier-plugin-packagejson": "^2.5.2",
"tailwindcss": "^3.4.11",
"typescript": "^5.6.2",
"wrangler": "^3.83.0"
},
"overrides": {
"@types/react": "npm:types-react@rc",
"@types/react-dom": "npm:types-react-dom@rc",
"esbuild": "^0.23.1",
"react": "0.0.0-experimental-cae764ce-20241025",
"react-dom": "0.0.0-experimental-cae764ce-20241025"
}
}