-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
191 lines (191 loc) · 5.31 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "punk-stack",
"private": true,
"description": "Remix stack with supabase, tailwind, jest, cypress and fly deploy",
"license": "",
"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": "npm run build && run-p dev:*",
"dev:server": "cross-env NODE_ENV=development node --inspect --require ./node_modules/dotenv/config ./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",
"format": "prettier --write .",
"generate:css": "tailwindcss -o ./app/styles/tailwind.css",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"start": "cross-env NODE_ENV=production node --require dotenv/config ./build/server.js",
"test": "vitest",
"test:e2e:dev": "start-server-and-test dev http://localhost:3000 \"cypress open\"",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "cross-env PORT=8811 start-server-and-test start http://localhost:8811 \"cypress run\"",
"typecheck": "tsc -b && tsc -b cypress",
"prepare": "is-ci || husky install",
"validate": "run-p \"test -- --run\" lint typecheck test:e2e:run"
},
"dependencies": {
"@remix-run/express": "^1.4.0",
"@remix-run/node": "^1.4.0",
"@remix-run/react": "^1.4.0",
"@supabase/supabase-js": "^1.33.2",
"compression": "^1.7.4",
"cross-env": "^7.0.3",
"express": "^4.17.3",
"morgan": "^1.10.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"tiny-invariant": "^1.2.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@faker-js/faker": "^6.1.1",
"@release-it/conventional-changelog": "^4.2.2",
"@remix-run/dev": "^1.4.0",
"@remix-run/eslint-config": "^1.4.0",
"@testing-library/cypress": "^8.0.2",
"@testing-library/dom": "^8.12.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^14.0.4",
"@types/bcryptjs": "^2.4.2",
"@types/compression": "^1.7.2",
"@types/eslint": "^8.4.1",
"@types/express": "^4.17.13",
"@types/jsdom": "16.2.14",
"@types/morgan": "^1.9.3",
"@types/node": "^17.0.23",
"@types/react": "^17.0.43",
"@types/react-dom": "^17.0.14",
"@types/uuid": "8.3.4",
"@vitejs/plugin-react": "^1.3.0",
"autoprefixer": "^10.4.4",
"c8": "^7.11.0",
"cypress": "^9.5.3",
"dotenv": "^16.0.0",
"esbuild": "^0.14.29",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.1.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"happy-dom": "^2.55.0",
"husky": "^7.0.4",
"is-ci": "^3.0.1",
"jsdom": "^19.0.0",
"msw": "^0.39.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"prettier": "2.6.1",
"prettier-plugin-tailwindcss": "^0.1.8",
"release-it": "^14.14.0",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.0.23",
"ts-node": "^10.7.0",
"tsconfig-paths": "^3.14.1",
"typescript": "^4.6.3",
"vite": "^2.9.1",
"vite-tsconfig-paths": "^3.4.1",
"vitest": "^0.8.2"
},
"engines": {
"node": ">=16"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"overrides": [
{
"files": "*.scss",
"options": {
"tabWidth": 4,
"printWidth": 120
}
},
{
"files": "*.json",
"options": {
"printWidth": 200
}
}
]
},
"eslintIgnore": [
"/node_modules",
"/build",
"/public/build"
],
"eslintConfig": {
"extends": [
"@remix-run/eslint-config",
"@remix-run/eslint-config/node",
"@remix-run/eslint-config/jest",
"prettier",
"plugin:prettier/recommended"
],
"plugins": [
"jest",
"jsx-a11y"
],
"settings": {
"jest": {
"version": 27
}
},
"rules": {
"prettier/prettier": [
"warn",
{
"singleQuote": true,
"trailingComma": "none"
}
],
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off"
}
},
"release-it": {
"git": {
"tagName": "v${version}",
"commitMessage": "chore: release v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true,
"releaseName": "${version}"
},
"plugins": {
"@release-it/conventional-changelog": {
"infile": "CHANGELOG.md",
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "refactor",
"section": "Changes"
},
{
"type": "chore",
"section": "Maintenance"
}
]
}
}
}
}
}