-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
99 lines (99 loc) · 4.04 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
{
"name": "twd-website",
"type": "module",
"version": "0.0.3",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"dev": "echo 'Use the editor at https://editor-next.swagger.io/ to edit the API spec' && astro dev",
"start": "astro dev",
"build": "astro build",
"api:stub": "curl 'https://generator3.swagger.io/api/generate' -H 'accept: application/octet-stream' -H 'content-type: application/json' -H 'sec-fetch-dest: empty' -H 'sec-fetch-mode: cors' -H 'sec-fetch-site: same-origin' --data-raw \"{\\\"lang\\\":\\\"nodejs-server\\\",\\\"type\\\":\\\"SERVER\\\",\\\"codegenVersion\\\":\\\"V3\\\",\\\"spec\\\": $(cat ./public/docs/api/v0/openapi.json)}\" > ./stub-server.zip && unzip -o ./stub-server.zip -d ./stub-server && rm ./stub-server.zip && cd ./stub-server && npm install && echo 'STUB-SURVER: http://localhost:8080 && npm start",
"api:sdk": "npx openapi-zod-client@latest ./public/docs/api/v0/openapi.json -o ./src/sdk.ts -p ./prettier.config.mjs -b https://vote.tulsawebdevs.org --api-client-name=sdk --error-expr=\"status >= 300 || status < 200\" --export-schemas --export-types --complexity-threshold=10 --with-deprecated --with-description --with-docs --additional-props-default-value=false && npx -y replace-in-file --configFile=replaceInFile.config.cjs && npm run format",
"postinstall": "npm run api:sdk",
"api:docs": "npx swagger-ui ./public/docs/api/v0/openapi.json",
"test": "vitest",
"test:e2e": "npx playwright test",
"preview": "astro preview",
"astro": "astro",
"format": "npx prettier --write .",
"lint": "npx eslint .",
"typecheck": "npx tsc --noEmit"
},
"dependencies": {
"@astrojs/react": "3.3.4",
"@astrojs/tailwind": "5.1.0",
"@clerk/clerk-js": "5.2.3",
"@clerk/themes": "1.7.14",
"@hookform/resolvers": "3.3.4",
"@radix-ui/react-avatar": "1.0.4",
"@radix-ui/react-dialog": "1.0.5",
"@radix-ui/react-label": "2.0.2",
"@radix-ui/react-radio-group": "1.1.3",
"@radix-ui/react-select": "2.0.0",
"@radix-ui/react-slot": "1.0.2",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@vanilla-extract/css": "1.15.1",
"@vanilla-extract/recipes": "0.5.2",
"@zendeskgarden/container-tabs": "2.0.10",
"@zodios/core": "10.9.6",
"astro": "4.8.2",
"class-variance-authority": "0.7.0",
"clsx": "2.1.1",
"lucide-react": "0.372.0",
"nanostores": "0.10.0",
"next-themes": "0.3.0",
"rainbow-sprinkles": "0.17.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-hook-form": "7.51.4",
"react-loader-spinner": "6.1.6",
"sonner": "1.4.41",
"swagger-ui-react": "5.17.7",
"tailwind-merge": "2.3.0",
"tailwindcss-animate": "1.0.7",
"vitest": "1.6.0",
"zod": "3.23.8"
},
"devDependencies": {
"@astrojs/ts-plugin": "1.7.0",
"@eslint/eslintrc": "3.0.2",
"@eslint/js": "8.57.0",
"@playwright/test": "1.41.2",
"@types/eslint__eslintrc": "2.1.1",
"@types/eslint__js": "8.42.3",
"@types/eslint-config-prettier": "6.11.3",
"@types/node": "20.12.11",
"@types/swagger-ui-react": "4.18.3",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@vanilla-extract/vite-plugin": "4.0.9",
"@vitest/coverage-v8": "1.6.0",
"astro-eslint-parser": "0.17.0",
"autoprefixer": "10.4.19",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "9.1.0",
"eslint-mdx": "3.1.5",
"eslint-plugin-astro": "0.34.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jsonc": "2.15.1",
"eslint-plugin-jsx-a11y": "6.8.0",
"eslint-plugin-mdx": "3.1.5",
"eslint-plugin-react": "7.34.1",
"eslint-plugin-react-hooks": "4.6.2",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-yml": "1.14.0",
"jsonc-eslint-parser": "2.4.0",
"postcss": "8.4.38",
"prettier": "3.2.5",
"prettier-plugin-astro": "0.13.0",
"prettier-plugin-tailwindcss": "0.5.14",
"tailwindcss": "3.4.3",
"typescript": "5.4.5",
"typescript-eslint": "7.1.0",
"yaml-eslint-parser": "1.2.2"
},
"packageManager": "npm@10.7.0"
}