-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
101 lines (101 loc) · 3.5 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
{
"name": "remix-realworld-63ce",
"private": true,
"sideEffects": false,
"scripts": {
"build": "run-s build:*",
"build:css": "npm run generate:css -- --minify",
"build:remix": "remix build",
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build",
"dev": "run-p dev:*",
"dev:server": "cross-env NODE_ENV=development node --inspect --require ./node_modules/dotenv/config --require ./mocks ./build/server.js",
"dev:build": "cross-env NODE_ENV=development npm run build:server -- --watch",
"dev:remix": "cross-env NODE_ENV=development remix watch",
"dev:css": "cross-env NODE_ENV=development npm run generate:css -- --watch",
"docker": "docker-compose up -d",
"format": "prettier --write .",
"generate:css": "tailwindcss -o ./app/styles/tailwind.css",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"setup": "prisma migrate dev && 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": "npm run 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"
},
"prettier": {},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build"
],
"dependencies": {
"@prisma/client": "^3.15.0",
"@remix-run/express": "^1.6.0",
"@remix-run/node": "^1.6.0",
"@remix-run/react": "^1.6.0",
"@remix-run/server-runtime": "^1.6.0",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.18.1",
"marked": "^4.0.17",
"morgan": "^1.10.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-select": "^5.3.2",
"tiny-invariant": "^1.2.0",
"zod": "^3.17.3"
},
"devDependencies": {
"@faker-js/faker": "^6.3.1",
"@remix-run/dev": "^1.6.0",
"@remix-run/eslint-config": "^1.6.0",
"@testing-library/cypress": "^8.0.3",
"@testing-library/dom": "^8.13.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.2.0",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/eslint": "^8.4.3",
"@types/express": "^4.17.13",
"@types/marked": "^4.0.3",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.41",
"@types/react": "^17.0.45",
"@types/react-dom": "^17.0.17",
"@vitejs/plugin-react": "^1.3.2",
"autoprefixer": "^10.4.7",
"c8": "^7.11.3",
"cypress": "^10.0.3",
"dotenv": "^16.0.1",
"esbuild": "^0.14.43",
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"happy-dom": "^5.2.0",
"msw": "^0.42.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.14",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.1.11",
"prisma": "^3.15.0",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.1.0",
"ts-node": "^10.8.1",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.7.3",
"vite": "^2.9.10",
"vite-tsconfig-paths": "^3.5.0",
"vitest": "^0.14.1"
},
"engines": {
"node": ">=14"
},
"prisma": {
"seed": "node --require tsconfig-paths/register prisma/seed.js"
}
}