mirror of
				https://github.com/Dan6erbond/sk-auth.git
				synced 2025-10-26 10:22:56 +01:00 
			
		
		
		
	🔧 Add exports and types to package.json and update tsconfig.json for Vite-compatible build output
				
					
				
			This commit is contained in:
		
							parent
							
								
									5ed4607fe5
								
							
						
					
					
						commit
						05f849939d
					
				
							
								
								
									
										31
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										31
									
								
								package.json
									
									
									
									
									
								
							@ -1,8 +1,24 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "SvelteKitAuth",
 | 
			
		||||
  "name": "svelte-kit-auth",
 | 
			
		||||
  "version": "1.0.0",
 | 
			
		||||
  "description": "Authentication library for use with SvelteKit featuring built-in OAuth providers and zero restriction customization!",
 | 
			
		||||
  "main": "dist/index.js",
 | 
			
		||||
  "types": "dist/index.d.ts",
 | 
			
		||||
  "exports": {
 | 
			
		||||
    ".": "./dist/index.js",
 | 
			
		||||
    "./client": "./dist/client/index.js",
 | 
			
		||||
    "./providers": "./dist/providers/index.js"
 | 
			
		||||
  },
 | 
			
		||||
  "typesVersions": {
 | 
			
		||||
    "*": {
 | 
			
		||||
      "client": [
 | 
			
		||||
        "./dist/client/index.d.ts"
 | 
			
		||||
      ],
 | 
			
		||||
      "providers": [
 | 
			
		||||
        "./dist/providers/index.d.ts"
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "build": "tsc",
 | 
			
		||||
    "test": "echo \"Error: no test specified\" && exit 1",
 | 
			
		||||
@ -10,15 +26,22 @@
 | 
			
		||||
    "format": "prettier --write --plugin-search-dir=. ."
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "auth",
 | 
			
		||||
    "authentication",
 | 
			
		||||
    "csrf",
 | 
			
		||||
    "jwt",
 | 
			
		||||
    "nodejs",
 | 
			
		||||
    "oauth",
 | 
			
		||||
    "oauth2",
 | 
			
		||||
    "oidc",
 | 
			
		||||
    "sveltejs",
 | 
			
		||||
    "sveltekit",
 | 
			
		||||
    "auth",
 | 
			
		||||
    "oauth"
 | 
			
		||||
    "sveltekitauth"
 | 
			
		||||
  ],
 | 
			
		||||
  "author": "RaviAnand Mohabir <moravrav@gmail.com> (https://ravianand.web.app)",
 | 
			
		||||
  "repository": "https://github.com/Dan6erbond/SvelteKitAuth",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "private": false,
 | 
			
		||||
  "types": "dist/index.d.ts",
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "cookie": "^0.4.1",
 | 
			
		||||
    "jsonwebtoken": "^8.5.1"
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,8 @@
 | 
			
		||||
{
 | 
			
		||||
  "compilerOptions": {
 | 
			
		||||
    "target": "es5",
 | 
			
		||||
    "module": "commonjs",
 | 
			
		||||
    "module": "es6",
 | 
			
		||||
    "moduleResolution": "node",
 | 
			
		||||
    "declaration": true,
 | 
			
		||||
    "removeComments": true,
 | 
			
		||||
    "emitDecoratorMetadata": true,
 | 
			
		||||
@ -13,8 +14,5 @@
 | 
			
		||||
    "baseUrl": "./",
 | 
			
		||||
    "incremental": true
 | 
			
		||||
  },
 | 
			
		||||
  "exclude": [
 | 
			
		||||
    "node_modules",
 | 
			
		||||
    "dist"
 | 
			
		||||
  ]
 | 
			
		||||
  "exclude": ["node_modules", "dist", "example-app"]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user