-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
100 lines (100 loc) · 4.1 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
{
"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@^7 --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.6.2",
"@astrojs/tailwind": "5.1.2",
"@clerk/clerk-js": "5.26.5",
"@clerk/themes": "1.7.19",
"@hookform/resolvers": "3.9.0",
"@radix-ui/react-avatar": "1.1.1",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "1.1.2",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "2.1.0",
"@radix-ui/react-radio-group": "1.2.1",
"@radix-ui/react-select": "2.1.2",
"@radix-ui/react-slot": "1.1.0",
"@types/react": "18.3.11",
"@types/react-dom": "18.3.1",
"@vanilla-extract/css": "1.16.0",
"@vanilla-extract/recipes": "0.5.2",
"@zendeskgarden/container-tabs": "2.0.14",
"@zodios/core": "10.9.6",
"astro": "4.16.5",
"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.53.0",
"sonner": "1.5.0",
"swagger-ui-react": "5.17.14",
"tailwind-merge": "2.5.4",
"tailwindcss-animate": "1.0.7",
"vitest": "1.6.0",
"zod": "3.23.8"
},
"devDependencies": {
"@astrojs/ts-plugin": "1.10.2",
"@eslint/eslintrc": "3.1.0",
"@eslint/js": "8.57.1",
"@playwright/test": "1.41.2",
"@types/eslint__eslintrc": "2.1.2",
"@types/eslint__js": "8.42.3",
"@types/eslint-config-prettier": "6.11.3",
"@types/node": "20.16.11",
"@types/swagger-ui-react": "4.18.3",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@vanilla-extract/vite-plugin": "4.0.16",
"@vitest/coverage-v8": "1.6.0",
"astro-eslint-parser": "0.17.0",
"autoprefixer": "10.4.20",
"eslint": "8.57.1",
"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.31.0",
"eslint-plugin-jsonc": "2.16.0",
"eslint-plugin-jsx-a11y": "6.10.0",
"eslint-plugin-mdx": "3.1.5",
"eslint-plugin-react": "7.37.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.47",
"prettier": "3.3.3",
"prettier-plugin-astro": "0.14.1",
"prettier-plugin-tailwindcss": "0.6.8",
"tailwindcss": "3.4.14",
"typescript": "5.6.3",
"typescript-eslint": "7.1.0",
"yaml-eslint-parser": "1.2.3"
},
"packageManager": "npm@10.9.0"
}