mirror of
https://github.com/Dan6erbond/sk-auth.git
synced 2024-11-20 19:07:20 +01:00
591bfbbbc6
* ⚰️ Remove `package-lock.json` to avoid conflicts with Yarn * ⚰️ Remove `jwt.ts` * 🏗️ Setup Rollup with entry module `package.json` files and use named exports exclusively for compatibility with CommonJS * ⬆️ Use `file:..` instead of `link:..` in demo app to test local installation * 🏷️ Export types as individual files to avoid protected access errors * 🚨 Explicit `export types` * 💚 Use ESBuild to bundle with Rollup, update Rollup deps and types * 🐛 Remove usage of SvelteKit modules Disable implicitly updating session, routing and getting redirect URL from SvelteKit modules due to missing exports.
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"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"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"client",
|
|
"providers",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "rollup --config",
|
|
"dev": "rollup --config --watch",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
|
|
"format": "prettier --write --plugin-search-dir=. ."
|
|
},
|
|
"keywords": [
|
|
"auth",
|
|
"authentication",
|
|
"csrf",
|
|
"jwt",
|
|
"nodejs",
|
|
"oauth",
|
|
"oauth2",
|
|
"oidc",
|
|
"sveltejs",
|
|
"sveltekit",
|
|
"sveltekitauth"
|
|
],
|
|
"author": "RaviAnand Mohabir <moravrav@gmail.com> (https://ravianand.web.app)",
|
|
"repository": "https://github.com/Dan6erbond/SvelteKitAuth",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"dependencies": {
|
|
"cookie": "^0.4.1",
|
|
"jsonwebtoken": "^8.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-typescript": "^8.2.1",
|
|
"@sveltejs/kit": "^1.0.0-next.107",
|
|
"@types/jsonwebtoken": "^8.5.1",
|
|
"@typescript-eslint/eslint-plugin": "^4.23.0",
|
|
"@typescript-eslint/parser": "^4.23.0",
|
|
"esbuild": "^0.12.1",
|
|
"eslint": "^7.26.0",
|
|
"eslint-config-prettier": "^8.3.0",
|
|
"prettier": "^2.3.0",
|
|
"rollup": "^2.48.0",
|
|
"rollup-plugin-esbuild": "^4.2.3",
|
|
"rollup-plugin-multi-input": "^1.3.0",
|
|
"svelte": "^3.38.2",
|
|
"tslib": "^2.2.0",
|
|
"typescript": "^4.2.4"
|
|
},
|
|
"peerDependencies": {
|
|
"@sveltejs/kit": "next"
|
|
}
|
|
}
|