-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.95 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-todos",
"private": true,
"license": "MIT",
"author": "https://github.com/dev-xo",
"sideEffects": false,
"scripts": {
"build": "run-s build:*",
"build:css": "npm run generate:css -- --minify",
"build:remix": "remix build",
"dev": "run-p dev:*",
"dev:css": "npm run generate:css -- --watch",
"dev:remix": "cross-env NODE_ENV=development binode --require ./mocks -- @remix-run/dev:remix dev",
"generate:css": "tailwindcss -i ./app/styles/app.css -o ./app/styles/tailwind.css",
"setup": "run-s setup:db setup:seed",
"setup:db": "prisma generate && prisma migrate deploy",
"setup:seed": "prisma db seed",
"start": "remix-serve build",
"format": "prettier --write .",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"test": "vitest",
"test:cov": "vitest --coverage",
"test:e2e:dev": "npm run test:migrate && npm run test:seed && playwright test",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env CI=true playwright test",
"test:migrate": "cross-env DATABASE_URL=file:test.db prisma migrate dev",
"test:seed": "cross-env DATABASE_URL=file:test.db prisma db seed",
"typecheck": "tsc -b",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run",
"pw:dev": "playwright open localhost:3000 -- --debug"
},
"prettier": {
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"jsxSingleQuote": false,
"plugins": [
"prettier-plugin-tailwindcss"
],
"printWidth": 80,
"semi": false,
"singleAttributePerLine": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": true
},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build"
],
"dependencies": {
"@prisma/client": "^4.4.0",
"@remix-run/node": "^1.7.3",
"@remix-run/react": "^1.7.3",
"@remix-run/serve": "^1.7.3",
"domain-functions": "^1.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"zod": "^3.19.1"
},
"devDependencies": {
"@playwright/test": "^1.27.0",
"@remix-run/dev": "^1.7.3",
"@remix-run/eslint-config": "^1.7.3",
"@testing-library/dom": "^8.18.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/eslint": "^8.4.6",
"@types/node": "^18.8.5",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@vitejs/plugin-react": "^2.1.0",
"@vitest/coverage-c8": "^0.24.0",
"binode": "^1.0.5",
"cross-env": "^7.0.3",
"dotenv": "^16.0.3",
"eslint": "^8.23.1",
"eslint-config-prettier": "^8.5.0",
"happy-dom": "^7.4.0",
"msw": "^0.47.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"prettier-plugin-tailwindcss": "^0.1.13",
"prisma": "^4.4.0",
"tailwindcss": "^3.1.8",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"vite": "^3.1.6",
"vite-tsconfig-paths": "^3.5.1",
"vitest": "^0.24.0"
},
"engines": {
"node": ">=16"
},
"prisma": {
"seed": "ts-node --require tsconfig-paths/register prisma/seed.ts"
}
}