-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.json
More file actions
116 lines (116 loc) · 4.96 KB
/
package.json
File metadata and controls
116 lines (116 loc) · 4.96 KB
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
{
"private": false,
"name": "kelas-rumah-berbagi",
"description": "Kelas Rumah Berbagi",
"license": "MIT",
"prisma": {
"seed": "node --require esbuild-register prisma/seed.ts"
},
"scripts": {
"build": "prisma generate && cross-env NODE_ENV=production npm run build:css && remix build",
"build:css": "tailwindcss --minify -o ./app/tailwind.css",
"build:remix": "cross-env NODE_ENV=production remix build --sourcemap",
"dev": "cross-env DATABASE_URL=file:./dev.db NODE_ENV=development prisma generate && concurrently -k \"npm run dev:css\" \"remix dev\"",
"dev:css": "tailwindcss -o ./app/tailwind.css --watch",
"prod": "cross-env DATABASE_URL=file:./prod.db NODE_ENV=development prisma generate && concurrently -k \"npm run prod:css\" \"remix dev\"",
"prod:css": "tailwindcss -o ./app/tailwind.css --watch",
"format": "prettier --write \"./**/*.{ts,tsx,js,jsx,yml,yaml,md}\"",
"lint": "eslint \"**/*.{js,jsx,ts,tsx,yml,yaml}\"",
"lint:fix": "eslint --fix \"**/*.{js,jsx,ts,tsx,yml,yaml}\"",
"prepare": "husky install",
"start": "remix-serve build",
"prestart:e2e": "DATABASE_URL=file:./test.db prisma migrate reset --force && npm run build:css",
"start:e2e": "cross-env RUNNING_E2E=true DATABASE_URL=file:./test.db remix dev",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"test:e2e": "playwright test",
"test:e2e:dev": "cross-env RUNNING_E2E=true start-server-and-test dev http-get://localhost:3000/ test:e2e",
"test:e2e:run": "cross-env RUNNING_E2E=true DATABASE_URL=file:./test.db start-server-and-test start:e2e http-get://localhost:3000/ test:e2e",
"test:e2e:docker": "playwright test --config=playwright.docker.config.ts",
"test:e2e:staging": "playwright test --config=playwright.staging.config.ts",
"test:e2e:staging:auth:member": "echo 'Login with: member@rumahberbagi.com' && playwright codegen https://staging.kelas.rumahberbagi.com --save-storage=e2e/fixtures/auth/staging/member.staging.json",
"test:e2e:staging:auth:author": "echo 'Login with: vika@rumahberbagi.com' && playwright codegen https://staging.kelas.rumahberbagi.com --save-storage=e2e/fixtures/auth/staging/author.staging.json",
"test:e2e:staging:auth:admin": "echo 'Login with: admin@rumahberbagi.com' && playwright codegen https://staging.kelas.rumahberbagi.com --save-storage=e2e/fixtures/auth/staging/admin.staging.json",
"test:e2e:production": "cross-env BASE_URL=https://kelas.rumahberbagi.com playwright test --config=playwright.docker.config.ts",
"type-check": "tsc --noEmit",
"setup": "npm install && prisma migrate reset --force && npm run test:e2e:run",
"presetup": "npx playwright install-deps"
},
"dependencies": {
"@headlessui/react": "1.4.2",
"@heroicons/react": "1.0.5",
"@prisma/client": "^5.22.0",
"@remix-run/node": "^2.17.2",
"@remix-run/react": "^2.17.2",
"@types/validator": "13.7.0",
"burner-email-providers": "1.0.67",
"clsx": "1.1.1",
"cross-env": "7.0.3",
"dotenv": "10.0.0",
"isbot": "^5.1.0",
"nanoid": "^5.1.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"remix-auth": "^3.7.0",
"remix-auth-email-link": "^2.1.1",
"validator": "13.7.0",
"zod": "^4.3.5"
},
"devDependencies": {
"@commitlint/cli": "15.0.0",
"@commitlint/config-conventional": "15.0.0",
"@jackfranklin/test-data-bot": "1.4.0",
"@playwright-testing-library/test": "4.5.0",
"@playwright/test": "1.57.0",
"@remix-run/dev": "^2.17.2",
"@remix-run/serve": "^2.17.2",
"@remix-run/testing": "^2.17.2",
"@tailwindcss/aspect-ratio": "0.4.0",
"@tailwindcss/forms": "0.4.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.1",
"@testing-library/user-event": "13.5.0",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "5.8.0",
"@typescript-eslint/parser": "5.8.0",
"@vitest/coverage-v8": "^4.0.16",
"autoprefixer": "10.4.2",
"concurrently": "6.4.0",
"esbuild": "0.14.8",
"esbuild-register": "3.2.0",
"eslint": "8.57.1",
"eslint-config-prettier": "8.3.0",
"eslint-import-resolver-typescript": "2.5.0",
"eslint-plugin-import": "2.25.3",
"eslint-plugin-jsx-a11y": "6.5.1",
"eslint-plugin-playwright": "2.4.0",
"eslint-plugin-react": "7.27.1",
"eslint-plugin-yml": "0.12.0",
"husky": "7.0.4",
"is-ci-cli": "2.2.0",
"jsdom": "^27.4.0",
"lint-staged": "12.1.3",
"msw": "0.36.3",
"postcss": "8.4.7",
"prettier": "2.5.1",
"prisma": "^5.22.0",
"start-server-and-test": "1.14.0",
"tailwindcss": "3.0.23",
"typescript": "^5.9.3",
"vitest": "^4.0.16"
},
"engines": {
"node": ">=24"
},
"volta": {
"node": "24.1.0"
},
"sideEffects": false,
"lint-staged": {
"*.{js,jsx,ts,tsx}": "vitest related --run",
"*.{js,jsx,ts,tsx,yml,yaml}": "eslint --cache --fix",
"*.{js,jsx,ts,tsx,css,md}": "prettier --write"
}
}