-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
120 lines (120 loc) · 4.42 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
{
"name": "silverlight",
"private": true,
"sideEffects": false,
"scripts": {
"prepare": "husky install",
"build": "run-s build:*",
"build:sprites": "npx rmx-cli svg-sprite assets/svg app/components/icons",
"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 npm run build:server -- --watch",
"dev:remix": "remix dev --port 3999 -c 'node --inspect --require dotenv/config --require ./mocks ./build/server.js'",
"docker-db-up": "cd database && docker compose up -d",
"format": "prettier --write .",
"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 dotenv/config --require ./mocks ./build/server.js",
"test:setup": "dotenv -e .env.test -- prisma generate && dotenv -e .env.test -- prisma migrate reset",
"test": "cross-env NODE_ENV=test vitest",
"coverage": "cross-env NODE_ENV=test vitest run --coverage",
"test:e2e:install": "playwright install && playwright install msedge && playwright install chrome",
"test:e2e:dev": "start-server-and-test dev http://localhost:3000 \"playwright test --ui\"",
"pretest:e2e:run": "npm run build",
"WIP:test:e2e:run": "cross-env CI=true start-server-and-test start:mocks http://localhost:3000 \"playwright test\"",
"typecheck": "tsc",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
},
"prettier": {},
"dependencies": {
"@isaacs/express-prometheus-middleware": "^1.2.1",
"@prisma/client": "^5.3.0",
"@remix-run/css-bundle": "^1.19.3",
"@remix-run/express": "^1.19.3",
"@remix-run/node": "^1.19.3",
"@remix-run/react": "^1.19.3",
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.18.2",
"i18next": "^23.2.11",
"i18next-browser-languagedetector": "^7.1.0",
"i18next-fs-backend": "^2.1.5",
"i18next-http-backend": "^2.2.1",
"isbot": "^3.6.12",
"morgan": "^1.10.0",
"prom-client": "^14.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.0.2",
"remix-auth": "^3.5.0",
"remix-auth-form": "^1.3.0",
"remix-i18next": "^5.3.0",
"source-map-support": "^0.5.21",
"theme-change": "^2.5.0",
"tiny-invariant": "^1.3.1"
},
"devDependencies": {
"@faker-js/faker": "^8.0.2",
"@playwright/test": "^1.39.0",
"@remix-run/dev": "^1.19.3",
"@remix-run/eslint-config": "^1.19.3",
"@remix-run/testing": "^1.19.3",
"@tailwindcss/typography": "^0.5.9",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/eslint": "^8.44.0",
"@types/express": "^4.17.17",
"@types/morgan": "^1.9.4",
"@types/node": "^20.4.2",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/source-map-support": "^0.5.6",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.2.1",
"@vitejs/plugin-react": "^4.0.3",
"@vitest/coverage-v8": "^0.33.0",
"autoprefixer": "^10.4.14",
"cookie": "^0.5.0",
"daisyui": "^3.2.1",
"dotenv": "^16.3.1",
"dotenv-cli": "^7.3.0",
"esbuild": "^0.18.13",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-playwright": "^0.18.0",
"happy-dom": "^10.3.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"msw": "^1.2.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.26",
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"prisma": "^5.3.0",
"rmx-cli": "^0.4.9",
"start-server-and-test": "^2.0.0",
"tailwindcss": "^3.3.3",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6",
"vite": "^4.4.4",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "^0.33.0"
},
"engines": {
"node": ">=18"
},
"prisma": {
"seed": "ts-node --require tsconfig-paths/register prisma/seed.ts"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": "eslint --cache --cache-location ./node_modules/.cache/eslint --fix",
"*.{ts,tsx,js,jsx,css,md}": "prettier --write"
}
}