Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit e71fb96

Browse files
committed
fix: 🏗️ es build
1 parent 6371841 commit e71fb96

File tree

2 files changed

+70
-68
lines changed

2 files changed

+70
-68
lines changed

package.json

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,58 @@
11
{
2-
"name": "@svelte-dev/auth-oauth2",
3-
"version": "0.0.1",
4-
"main": "./build/index.js",
5-
"types": "./build/index.d.ts",
6-
"homepage": "https://github.com/willin/svelte-auth-oauth2#readme",
7-
"repository": {
8-
"url": "https://github.com/willin/svelte-auth-oauth2",
9-
"type": "git"
10-
},
11-
"scripts": {
12-
"prepare": "npm run build",
13-
"build": "tsc --project tsconfig.json",
14-
"typecheck": "tsc --project tsconfig.json --noEmit",
15-
"lint": "prettier --write . && eslint . --fix",
16-
"test": "vitest",
17-
"coverage": "vitest run --coverage"
18-
},
19-
"keywords": [
20-
"svelte",
21-
"svelte-auth",
22-
"auth",
23-
"authentication",
24-
"strategy"
25-
],
26-
"license": "Apache-2.0",
27-
"files": [
28-
"build",
29-
"package.json",
30-
"README.md"
31-
],
32-
"peerDependencies": {
33-
"svelte": "^5.0.0",
34-
"@sveltejs/kit": "^1.27.4",
35-
"@svelte-dev/auth": "latest"
36-
},
37-
"devDependencies": {
38-
"@svelte-dev/auth": "^0.0.2",
39-
"@sveltejs/kit": "^1.27.4",
40-
"@types/debug": "^4.1.12",
41-
"eslint": "^8.28.0",
42-
"eslint-config-prettier": "^9.0.0",
43-
"eslint-plugin-svelte": "^2.30.0",
44-
"prettier": "^3.0.0",
45-
"prettier-plugin-svelte": "^3.0.0",
46-
"svelte": "^5.0.0-next.17",
47-
"svelte-check": "^3.6.0",
48-
"typescript": "^5.0.0",
49-
"vite": "^4.4.2",
50-
"vitest": "^0.34.0"
51-
},
52-
"dependencies": {
53-
"debug": "^4.3.4",
54-
"nanoid": "^5.0.4"
55-
}
2+
"name": "@svelte-dev/auth-oauth2",
3+
"version": "0.0.1",
4+
"description": "A OAuth2Strategy for @svelte-dev/auth",
5+
"main": "./build/index.js",
6+
"types": "./build/index.d.ts",
7+
"homepage": "https://github.com/willin/svelte-auth-oauth2#readme",
8+
"repository": {
9+
"url": "https://github.com/willin/svelte-auth-oauth2",
10+
"type": "git"
11+
},
12+
"type": "module",
13+
"scripts": {
14+
"prepare": "npm run build",
15+
"build": "tsc --project tsconfig.json",
16+
"typecheck": "tsc --project tsconfig.json --noEmit",
17+
"lint": "prettier --write . && eslint . --fix",
18+
"test": "vitest",
19+
"coverage": "vitest run --coverage"
20+
},
21+
"keywords": [
22+
"svelte",
23+
"svelte-auth",
24+
"auth",
25+
"authentication",
26+
"strategy"
27+
],
28+
"license": "Apache-2.0",
29+
"files": [
30+
"build",
31+
"package.json",
32+
"README.md"
33+
],
34+
"peerDependencies": {
35+
"svelte": "^5.0.0 || ^4.0.0",
36+
"@sveltejs/kit": "^1.27.4",
37+
"@svelte-dev/auth": "latest"
38+
},
39+
"devDependencies": {
40+
"@svelte-dev/auth": "^0.0.2",
41+
"@sveltejs/kit": "^1.27.4",
42+
"@types/debug": "^4.1.12",
43+
"eslint": "^8.28.0",
44+
"eslint-config-prettier": "^9.0.0",
45+
"eslint-plugin-svelte": "^2.30.0",
46+
"prettier": "^3.0.0",
47+
"prettier-plugin-svelte": "^3.0.0",
48+
"svelte": "^5.0.0-next.17",
49+
"svelte-check": "^3.6.0",
50+
"typescript": "^5.0.0",
51+
"vite": "^4.4.2",
52+
"vitest": "^0.34.0"
53+
},
54+
"dependencies": {
55+
"debug": "^4.3.4",
56+
"nanoid": "^5.0.4"
57+
}
5658
}

tsconfig.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"compilerOptions": {
3-
"lib": ["DOM", "DOM.Iterable", "ES2019"],
4-
"esModuleInterop": true,
5-
"moduleResolution": "Node",
6-
"module": "CommonJS",
7-
"target": "ES2019",
8-
"strict": true,
9-
"skipLibCheck": true,
10-
"declaration": true,
11-
"jsx": "react-jsx",
12-
"outDir": "./build"
13-
},
14-
"exclude": ["node_modules"],
15-
"include": ["src/**/*.ts", "src/**/*.tsx"]
2+
"compilerOptions": {
3+
"lib": ["DOM", "DOM.Iterable", "ES2019"],
4+
"esModuleInterop": true,
5+
"moduleResolution": "NodeNext",
6+
"module": "NodeNext",
7+
"target": "esnext",
8+
"strict": true,
9+
"skipLibCheck": true,
10+
"declaration": true,
11+
"jsx": "react-jsx",
12+
"outDir": "./build"
13+
},
14+
"exclude": ["node_modules"],
15+
"include": ["src/**/*.ts", "src/**/*.tsx"]
1616
}

0 commit comments

Comments
 (0)