-
- Téléchargements
prebuild scripts
parent
76642e7d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- .gitignore 1 ajout, 3 suppressions.gitignore
- .vscode/settings.json 4 ajouts, 0 suppression.vscode/settings.json
- package.json 3 ajouts, 2 suppressionspackage.json
- src/graphql-env.d.ts 0 ajout, 110 suppressionssrc/graphql-env.d.ts
- src/lib/graphql/schema.gql 38 ajouts, 1412 suppressionssrc/lib/graphql/schema.gql
- tsconfig.json 1 ajout, 1 suppressiontsconfig.json
.vscode/settings.json
0 → 100644
... | ... | @@ -11,14 +11,15 @@ |
"start": "node build", | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"prebuild": "npm run pull-schema", | ||
"prebuild": "npm run schema && npm run graphql-dts", | ||
"preview": "vite preview", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --check . && eslint .", | ||
"format": "prettier --write .", | ||
"schema-env": "gql.tada generate-schema $API_ORIGIN/graphql/v0 --header \"Authorization: Basic $API_TOKEN\" -o src/lib/graphql/schema.gql", | ||
"schema": "dotenv -- pnpm run schema-env" | ||
"schema": "dotenv -- pnpm run schema-env", | ||
"graphql-dts": "gql.tada generate-output" | ||
}, | ||
"devDependencies": { | ||
"@sveltejs/adapter-node": "^5.2.2", | ||
... | ... |
src/graphql-env.d.ts
supprimé
100644 → 0
Ce diff est replié.
Ce diff est replié.
Veuillez vous inscrire ou vous se connecter pour commenter