-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
180 lines (180 loc) · 4.92 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
{
"name": "@chr33s/base",
"version": "1.0.1",
"private": true,
"engines": {
"npm": "^10.0.0",
"node": "^20.0.0"
},
"scripts": {
"build": "npm-run-all --parallel build:*",
"build:client": "vite build",
"build:server": "tsc --project tsconfig.server.json",
"clean": "rm -rf .eslintcache dist node_modules/.{cache,vite,vitest}",
"checks": "npm-run-all --sequential format lint typecheck",
"deploy": "kamal deploy",
"deploy:containers": "kamal app containers",
"deploy:rollback": "kamal rollback -- # id",
"deploy:shell": "kamal app exec -i --reuse bash",
"docker:build": "export $(cat .env.local | xargs); DOCKER_BUILDKIT=1 docker build --build-arg LOGTAIL_TOKEN_DOCKER=${LOGTAIL_TOKEN_DOCKER} --rm --tag ${npm_package_name/@}:$npm_package_version .",
"docker:run": "export $(cat .env.local | xargs); docker run --rm --env-file .env.local --publish ${PORT_CLIENT}:${PORT_SERVER}/tcp --name $(echo ${npm_package_name/@} | sed -r 's/[/]/-/g') ${npm_package_name/@}:$npm_package_version",
"docker:publish": "docker push ghcr.io/${npm_package_name/@}:$npm_package_version",
"format": "prettier --write '**/*.{css,html,js,json,jsx,md,svg,ts,tsx,yml}'",
"lint": "npm-run-all --parallel lint:*",
"lint:actions": "actionlint || true",
"lint:css": "stylelint --allow-empty-input --quiet 'src/**/*.css'",
"lint:docker": "hadolint Dockerfile || true",
"lint:js": "eslint --cache '**/*.{js,jsx,ts,tsx}'",
"start": "npm-run-all --parallel start:server start:client",
"start:client": "vite dev",
"start:server": "ts-node ./src/server",
"stories": "ladle serve",
"test": "vitest",
"test:e2e": "playwright test",
"typecheck": "tsc --noEmit",
"upgrade": "npm-run-all --parallel --aggregate-output upgrade:*",
"upgrade:npm": "npm-check-updates --upgrade && npm install && (npm audit fix || true) && npm run checks",
"upgrade:gems": "bundle update --bundler && bundle update"
},
"dependencies": {
"@logtail/pino": "0.4.19",
"@sentry/node": "7.92.0",
"@spotlightjs/spotlight": "1.2.6",
"debug": "4.3.4",
"dotenv": "16.3.1",
"express": "4.18.2",
"pino": "8.17.2",
"pino-debug": "2.0.0"
},
"devDependencies": {
"@graphql-eslint/eslint-plugin": "3.20.1",
"@ladle/react": "4.0.2",
"@logtail/types": "0.4.19",
"@playwright/test": "1.40.1",
"@sentry/react": "7.92.0",
"@sentry/vite-plugin": "2.10.2",
"@spotlightjs/sidecar": "1.3.3",
"@types/debug": "4.1.12",
"@types/express": "4.17.21",
"@types/node": "20.10.6",
"@types/react": "18.2.47",
"@types/react-dom": "18.2.18",
"@types/react-test-renderer": "18.0.7",
"@types/supertest": "6.0.2",
"@typescript-eslint/eslint-plugin": "6.18.0",
"@typescript-eslint/parser": "6.18.0",
"@vitejs/plugin-react": "4.2.1",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-react": "7.33.2",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.5",
"graphql": "16.8.1",
"happy-dom": "12.10.3",
"npm-check-updates": "16.14.12",
"npm-run-all": "4.1.5",
"postcss": "8.4.33",
"postcss-import": "16.0.0",
"postcss-preset-env": "9.3.0",
"prettier": "3.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"stylelint": "16.1.0",
"stylelint-config-standard": "36.0.0",
"stylelint-order": "6.0.4",
"supertest": "6.3.3",
"ts-node": "10.9.2",
"typescript": "5.3.3",
"vite": "5.0.11",
"vitest": "1.1.3"
},
"browserslist": [
"last 3 chrome versions",
"last 3 firefox versions",
"last 3 opera versions",
"last 3 edge versions",
"last 3 safari versions",
"last 3 chromeandroid versions",
"last 1 firefoxandroid versions",
"ios >= 13.4"
],
"eslintConfig": {
"extends": [
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"prettier"
],
"ignorePatterns": [
"**/node_modules/*",
"**/dist/*"
],
"overrides": [
{
"files": [
"*.ts",
"*.tsx"
],
"processor": "@graphql-eslint/graphql"
},
{
"files": [
"*.graphql"
],
"parser": "@graphql-eslint/eslint-plugin",
"plugins": [
"@graphql-eslint"
]
}
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"react-refresh"
],
"root": true,
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"react-refresh/only-export-components": "warn"
},
"settings": {
"react": {
"version": "detect"
}
}
},
"postcss": {
"map": true,
"plugins": {
"postcss-import": {},
"postcss-preset-env": {},
"autoprefixer": {}
}
},
"prettier": {
"overrides": [
{
"files": "*.svg",
"options": {
"parser": "html"
}
}
]
},
"stylelint": {
"extends": "stylelint-config-standard",
"plugins": [
"stylelint-order"
],
"rules": {
"no-descending-specificity": null,
"no-unknown-animations": null,
"order/order": [
"custom-properties",
"declarations"
],
"order/properties-alphabetical-order": true
}
}
}