Last active
May 11, 2022 12:43
-
-
Save csellis/b4f11ca119a68d74672342bc1f537a1a to your computer and use it in GitHub Desktop.
package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "xtendops.com", | |
"version": "0.0.1", | |
"scripts": { | |
"dev": "svelte-kit dev --port 4000", | |
"build": "svelte-kit build", | |
"preview": "svelte-kit preview", | |
"lint": "eslint .", | |
"lint:fix": "eslint . --fix", | |
"generate:manifest": "node ./generate-manifest.js", | |
"generate:sitemap": "node ./generate-sitemap.js" | |
}, | |
"devDependencies": { | |
"@beyonk/gdpr-cookie-consent-banner": "^9.0.3", | |
"@beyonk/svelte-facebook-pixel": "^2.1.1", | |
"@beyonk/svelte-google-analytics": "^2.6.0", | |
"@sveltejs/adapter-netlify": "^1.0.0-next.56", | |
"@typescript-eslint/eslint-plugin": "^5.14.0", | |
"@typescript-eslint/parser": "^5.14.0", | |
"autoprefixer": "^10.4.7", | |
"cssnano": "^5.0.6", | |
"eslint": "^7.22.0", | |
"eslint-config-prettier": "^8.1.0", | |
"eslint-plugin-svelte3": "^3.2.0", | |
"front-matter": "^4.0.2", | |
"mdsvex": "^0.9.8", | |
"postcss": "^8.4.13", | |
"postcss-load-config": "^3.1.0", | |
"prettier-plugin-svelte": "^2.2.0", | |
"svelte": "^3.48.0", | |
"svelte-preprocess": "^4.7.4", | |
"tailwindcss": "^3.0.24" | |
}, | |
"type": "module", | |
"dependencies": { | |
"@auth0/auth0-spa-js": "^1.17.0", | |
"@beyonk/async-script-loader": "^2.2.1", | |
"@googlemaps/js-api-loader": "^1.14.1", | |
"@googlemaps/markerclusterer": "^2.0.6", | |
"@popperjs/core": "^2.11.5", | |
"@sendgrid/mail": "^7.6.0", | |
"@sentry/browser": "^6.16.1", | |
"@sentry/tracing": "^6.16.1", | |
"@sveltejs/adapter-auto": "^1.0.0-next.40", | |
"@sveltejs/kit": "^1.0.0-next.326", | |
"@tailwindcss/aspect-ratio": "^0.4.0", | |
"@tailwindcss/forms": "^0.5.0", | |
"@tailwindcss/typography": "^0.5.2", | |
"base-64": "^1.0.0", | |
"crypto-js": "^4.1.1", | |
"dotenv": "^10.0.0", | |
"filestack-js": "^3.25.0", | |
"granim": "^2.0.0", | |
"https": "^1.0.0", | |
"mongodb": "^4.5.0", | |
"netlify-plugin-cloudinary": "^0.0.9", | |
"reading-time": "^1.5.0", | |
"sharp": "^0.29.3", | |
"svelte-hero-icons": "^2.4.0", | |
"svelte-scrollto-element": "^0.7.0", | |
"tailwindcss-aspect-ratio": "^3.0.0", | |
"typescript": "^4.6.2", | |
"underscore": "^1.13.2", | |
"xo-developers-components-library": "^0.2.34" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mdsvex } from 'mdsvex'; | |
// import adapter from '@sveltejs/adapter-auto'; | |
import adapter from "@sveltejs/adapter-netlify"; | |
import mdsvexConfig from './mdsvex.config.js'; | |
import preprocess from 'svelte-preprocess'; | |
/** @type {import('@sveltejs/kit').Config} */ | |
const config = { | |
extensions: ['.svelte', ...mdsvexConfig.extensions], | |
kit: { | |
adapter: adapter(), | |
vite: { | |
ssr: { | |
noExternal: ["@beyonk/async-script-loader", "@googlemaps/js-api-loader"] | |
} | |
}, | |
}, | |
preprocess: [ | |
preprocess({ | |
postcss: true, | |
}), | |
mdsvex(mdsvexConfig), | |
], | |
}; | |
export default config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment