Skip to content

Commit

Permalink
fix package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ecstrema committed Jun 16, 2024
1 parent 2dc85e6 commit 8bef68c
Show file tree
Hide file tree
Showing 2 changed files with 335 additions and 3 deletions.
20 changes: 17 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,32 @@
"version": "0.0.1",
"private": true,
"scripts": {
"dev": "vite dev",
"build": "vite build",
"dev:kit": "vite dev",
"build": "pnpm run build:translations && vite build && pnpm run build:sitemap",
"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 ."
"format": "prettier --write .",
"dev": "concurrently -n i18n,kit \"pnpm run watch:translations\" \"pnpm run dev:kit\"",
"build:sitemap": "npx svelte-sitemap --domain https://www.paroisduquebec.ca",
"rebuild": "pnpm run clean && pnpm run build",
"clean": "rm -rf .svelte-kit && rm -rf build && rm src/generated/translations.ts",
"deploy:gh": "node ./gh-pages-deploy.js",
"deploy": "pnpm run rebuild && pnpm run deploy:gh",
"publish": "pnpm run deploy",
"build:translations": "messageformat src/translations/ --outfile=src/generated/translations.ts",
"watch:translations": "pnpm run build:translations && onchange 'src/translations/**' -- pnpm run build:translations"
},
"devDependencies": {
"@messageformat/cli": "^4.0.1",
"@messageformat/core": "^3.3.0",
"@messageformat/runtime": "^3.0.1",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "^8.56.7",
"concurrently": "^8.2.2",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.36.0",
Expand All @@ -32,6 +45,7 @@
"type": "module",
"dependencies": {
"@sveltejs/adapter-static": "^3.0.2",
"onchange": "^7.1.0",
"path": "^0.12.7",
"svelte-preprocess-markdown": "^2.7.3",
"svelte-seo": "^1.6.1",
Expand Down
Loading

0 comments on commit 8bef68c

Please sign in to comment.