-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
134 lines (134 loc) · 4.62 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "optimizing-large-file-upload-performance",
"description": "Learn how to optimize large file upload performance with Remix.",
"private": true,
"sideEffects": false,
"keywords": [
"remix",
"remix-run",
"remix-run-react",
"remix-run-express",
"remix-run-node",
"remix-run-server-runtime",
"remix-run-vercel",
"remix-run-dev",
"remix-run-eslint-config",
"remix-run-eslint-plugin",
"remix-run-eslint-plugin-react",
"remix-run-eslint-plugin-react-hooks"
],
"scripts": {
"build": "run-s build:*",
"build:css": "yarn generate:css --minify",
"build:remix": "remix build",
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build --bundle",
"dev": "run-p dev:*",
"dev:build": "cross-env NODE_ENV=development yarn build:server --watch",
"dev:css": "cross-env NODE_ENV=development yarn generate:css --watch",
"dev:remix": "cross-env NODE_ENV=development remix watch",
"dev:server": "cross-env NODE_ENV=development node --inspect --require ./node_modules/dotenv/config --require ./mocks ./build/server.js",
"docker": "docker-compose up -d",
"format": "prettier --write .",
"generate:css": "tailwindcss -i ./app/styles/tailwind.css -o ./app/styles/tailwind.min.css",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"setup": "prisma generate && prisma migrate deploy && prisma db seed",
"start": "cross-env NODE_ENV=production node ./build/server.js",
"start:mocks": "cross-env NODE_ENV=production node --require ./mocks --require dotenv/config ./build/server.js",
"test": "vitest",
"test:e2e:dev": "start-server-and-test dev http://localhost:3000 \"npx cypress open\"",
"pretest:e2e:run": "yarn build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start:mocks http://localhost:8811 \"npx cypress run\"",
"typecheck": "tsc -b && tsc -b cypress",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run",
"ci": "yarn install --frozen-lockfile",
"clean": "rimraf build public/build api"
},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build",
"/postgres-data"
],
"dependencies": {
"@prisma/client": "^4.5.0",
"@remix-run/express": "^1.9.0",
"@remix-run/node": "^1.9.0",
"@remix-run/react": "^1.9.0",
"@remix-run/server-runtime": "^1.9.0",
"@remix-run/vercel": "^1.9.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"express-prometheus-middleware": "^1.2.0",
"isbot": "^3.6.3",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"nprogress": "^0.2.0",
"prom-client": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"spark-md5": "^3.0.2",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@remix-run/dev": "^1.9.0",
"@remix-run/eslint-config": "^1.9.0",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/line-clamp": "^0.4.2",
"@tailwindcss/typography": "^0.5.8",
"@testing-library/cypress": "^8.0.3",
"@testing-library/dom": "^8.19.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/eslint": "^8.4.10",
"@types/express": "^4.17.14",
"@types/express-prometheus-middleware": "^1.2.1",
"@types/fs-extra": "^9.0.13",
"@types/morgan": "^1.9.3",
"@types/multer": "^1.4.7",
"@types/node": "^18.11.9",
"@types/nprogress": "^0.2.0",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"@types/spark-md5": "^3.0.2",
"@vitejs/plugin-react": "^2.2.0",
"@vitest/coverage-c8": "^0.24.5",
"autoprefixer": "^10.4.13",
"c8": "^7.12.0",
"cookie": "^0.5.0",
"cypress": "^10.11.0",
"daisyui": "^2.46.1",
"dotenv": "^16.0.3",
"esbuild": "^0.15.13",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-cypress": "^2.12.1",
"happy-dom": "^6.0.4",
"msw": "^0.47.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.18",
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13",
"prisma": "^4.5.0",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.2.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.8.4",
"vite": "^3.2.2",
"vite-tsconfig-paths": "^3.5.2",
"vitest": "^0.24.5"
},
"engines": {
"node": ">=14"
},
"prisma": {
"seed": "ts-node --require tsconfig-paths/register prisma/seed.ts"
}
}