-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.31 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
61
62
63
{
"name": "remix-worker-template",
"private": true,
"description": "All-in-one remix starter template for Cloudflare Workers",
"sideEffects": false,
"main": "./dist/worker.js",
"scripts": {
"prebuild": "npm run cleanup",
"build": "npm run build:style && npm run build:remix && npm run build:worker",
"build:remix": "remix build",
"build:style": "cross-env NODE_ENV=production tailwindcss -o ./app/styles/tailwind.css --minify",
"build:worker": "cross-env NODE_ENV=production VERSION=$(git rev-parse --short HEAD) node ./scripts/build.mjs",
"cleanup": "rimraf .cache ./dist ./build ./public/build ./public/client ./app/styles/tailwind.css",
"dev": "concurrently \"npm:dev:*\"",
"old:miniflare": "miniflare --build-command \"node ./scripts/build.mjs\" --build-watch-path ./worker --build-watch-path ./build/index.js --no-cache --watch --open",
"dev:miniflare": "yarn exec oxygen-preview",
"dev:remix": "remix watch",
"dev:style": "tailwindcss -o ./app/styles/tailwind.css --watch",
"prepare": "husky install",
"start": "miniflare",
"test": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\" playwright test"
},
"lint-staged": {
"*.{js,mjs,ts,tsx,css,md,yml}": "prettier --write"
},
"dependencies": {
"@cloudflare/kv-asset-handler": "^0.2.0",
"@remix-run/cloudflare": "^1.7.2",
"@remix-run/cloudflare-workers": "^1.7.2",
"@remix-run/react": "^1.7.2",
"@remix-run/server-runtime": "^1.7.2",
"react": "^17.0.1",
"react-dom": "^17.0.1"
},
"devDependencies": {
"@cloudflare/workers-types": "^3.11.0",
"@cloudflare/wrangler": "^1.19.12",
"@playwright-testing-library/test": "^4.2.1",
"@playwright/test": "^1.22.2",
"@remix-run/dev": "^1.7.2",
"@remix-run/eslint-config": "^1.7.2",
"@shopify/mini-oxygen": "0.1.0",
"@types/react": "^17.0.41",
"@types/react-dom": "^17.0.14",
"autoprefixer": "^10.4.7",
"concurrently": "^7.2.0",
"cross-env": "^7.0.3",
"esbuild": "^0.14.39",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"lint-staged": "^12.4.1",
"miniflare": "^2.4.0",
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.24",
"typescript": "^4.6.4"
},
"engines": {
"node": ">=16.7"
}
}