aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2023-02-21 23:24:14 +0100
committerivarlovlie <git@ivarlovlie.no>2023-02-21 23:24:14 +0100
commit6cb399e7267ae78e3e498bdbf5f51678ffb2cd45 (patch)
treeb109832a208927821fcfe65bd98ff9e3f391c44c /package.json
parent54bbc06bd84437c6b38e2f6c57060f21a8318720 (diff)
downloadauroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.tar.xz
auroraklinikken.no-6cb399e7267ae78e3e498bdbf5f51678ffb2cd45.zip
feat: Many things
Configure sanity in same project as the app Implement type safe sanity schema Read localised documents Strip down design
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 16 insertions, 1 deletions
diff --git a/package.json b/package.json
index a141b25..505bcf0 100644
--- a/package.json
+++ b/package.json
@@ -11,11 +11,20 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"test:unit": "vitest",
"lint": "prettier --plugin-search-dir . --check . && eslint .",
- "format": "prettier --plugin-search-dir . --write ."
+ "format": "prettier --plugin-search-dir . --write .",
+ "sanity:dev": "sanity dev",
+ "sanity:start": "sanity start",
+ "sanity:build": "sanity build",
+ "sanity:deploy": "sanity deploy",
+ "sanity:deploy-graphql": "sanity graphql deploy"
},
"devDependencies": {
"@playwright/test": "^1.30.0",
"@portabletext/svelte": "2.0.0-0",
+ "@sanity/document-internationalization": "^1.0.5",
+ "@sanity/eslint-config-studio": "^2.0.1",
+ "@sanity/language-filter": "^3.0.0",
+ "@sanity/vision": "^3.5.0",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/kit": "^1.7.2",
"@tailwindcss/aspect-ratio": "^0.4.2",
@@ -31,6 +40,11 @@
"postcss-load-config": "^4.0.1",
"prettier": "^2.8.4",
"prettier-plugin-svelte": "^2.9.0",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "react-is": "^18.2.0",
+ "sanity": "^3.5.0",
+ "sanity-typed-schema-builder": "^2.1.0",
"svelte": "^3.55.1",
"svelte-check": "^3.0.3",
"svelte-preprocess": "^5.0.1",
@@ -43,6 +57,7 @@
"type": "module",
"dependencies": {
"@sanity/client": "^5.2.1",
+ "styled-components": "^5.3.6",
"typesafe-i18n": "^5.24.1"
}
} \ No newline at end of file