-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 4.39 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
{
"name": "trap-stack",
"private": true,
"sideEffects": false,
"type": "module",
"scripts": {
"build": "remix vite:build",
"db:connect:dev": "npm run script\"PG_PASSWORD=$(grep SUPABASE_DB_PASSWORD .env | cut -d '=' -f2) psql -h <SUPABASE_DATABASE_URL> -p 5432 postgres -U postgres.<ID>\"",
"db:connect:test": "npm run script \"PG_PASSWORD=$(grep DB_PASSWORD .env.test | cut d '=' -f2) psql -h localhost -p 5433 -d tests -U prisma\" test",
"db:up": "docker compose up -d db",
"db:down": "docker compose down db",
"db:seed": "npm run script \"prisma db seed\" confirm",
"dev": "remix vite:dev",
"execute": "node --experimental-specifier-resolution=node --loader ./loader.js",
"format": "prettier --loglevel=silent --write .",
"icons": "npm run script scripts/icons.ts",
"precommit": "npm run script \"npm run format && npm run lint && npm run typecheck && npm run setup\"",
"pree2e": "npm run script \"npm run db:up && npx prisma migrate deploy\"",
"e2e": "npx playwright test",
"poste2e": "npm run db:down",
"pree2e:ui": "npm run db:up && npx prisma migrate deploy",
"e2e:ui": "npx playwright test -ui",
"poste2e:ui": "npm run db:down",
"playwright:prepare": "npm run dev && curl --silent --output /dev/null http://localhost:3000",
"preintegration": "npm run db:up && npx prisma migrate deploy",
"integration": "vitest run --config ./vitest.integration.config.ts",
"postintegration": "npm run db:down",
"lint": "eslint --ignore-path .gitignore --cache --cache-location ./node_modules/.cache/eslint .",
"script": "npm run execute scripts/setup.ts",
"setup": "prisma generate && prisma migrate deploy && prisma db seed",
"start": "remix-serve ./build/server/index.js",
"storybook": "storybook dev -p 6006",
"storybook-build": "storybook build",
"typecheck": "tsc",
"preunit": "npm run script \"npm run db:up && npx prisma migrate deploy\" test",
"unit": "npm run script \"vitest run --config ./vitest.unit.config.ts\" test",
"postunit": "npm run db:down"
},
"dependencies": {
"@prisma/client": "^5.12.1",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-slot": "^1.0.2",
"@remix-run/node": "^2.8.1",
"@remix-run/react": "^2.8.1",
"@remix-run/serve": "^2.8.1",
"bcryptjs": "^2.4.3",
"chalk": "^5.3.0",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"dotenv": "^16.4.5",
"isbot": "^4.1.0",
"lucide-react": "^0.376.0",
"prompt": "^1.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-toastify": "^10.0.5",
"remix-themes": "^1.3.1",
"tailwind-merge": "^2.3.0",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.3.3",
"@faker-js/faker": "^8.4.1",
"@playwright/test": "^1.43.1",
"@remix-run/dev": "^2.8.1",
"@remix-run/testing": "^2.9.1",
"@storybook/addon-actions": "^8.0.9",
"@storybook/addon-essentials": "^8.0.9",
"@storybook/addon-interactions": "^8.0.9",
"@storybook/addon-links": "^8.0.9",
"@storybook/addon-onboarding": "^8.0.9",
"@storybook/blocks": "^8.0.9",
"@storybook/react": "^8.0.9",
"@storybook/react-vite": "^8.0.9",
"@storybook/test": "^8.0.9",
"@types/bcryptjs": "^2.4.6",
"@types/node": "^20.12.7",
"@types/prompt": "^1.1.8",
"@types/react": "^18.2.20",
"@types/react-dom": "^18.2.7",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"autoprefixer": "^10.4.19",
"eslint": "^8.38.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.8.0",
"glob": "^10.3.12",
"node-html-parser": "^6.1.13",
"nyc": "^15.1.0",
"playwright-test-coverage": "^1.2.12",
"postcss": "^8.4.38",
"prisma": "^5.12.1",
"remix-development-tools": "^4.1.4",
"storybook": "^8.0.9",
"tailwindcss": "^3.4.3",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.6",
"vite": "^5.1.0",
"vite-plugin-istanbul": "^6.0.0",
"vite-tsconfig-paths": "^4.2.1",
"vitest": "^1.5.0"
},
"engines": {
"node": ">=18.0.0"
},
"prisma": {
"seed": "npx ts-node --esm prisma/seed.ts"
}
}