Skip to content

Commit

Permalink
Add types field to package.json (#26)
Browse files Browse the repository at this point in the history
* update deps

* package.json add "types": "./dist/index.d.ts"
  • Loading branch information
janosh authored Sep 22, 2023
1 parent 34b232e commit 171de5b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.2
rev: v3.0.3
hooks:
- id: prettier
args: [--write] # edit files in-place
Expand All @@ -34,7 +34,7 @@ repos:
stages: [commit, commit-msg]

- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.47.0
rev: v8.49.0
hooks:
- id: eslint
types: [file]
Expand Down
27 changes: 14 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,28 +20,28 @@
"changelog": "npx auto-changelog --package --output changelog.md --hide-credit --commit-limit false"
},
"dependencies": {
"svelte": "^4.2.0"
"svelte": "^4.2.1"
},
"devDependencies": {
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.23.0",
"@sveltejs/package": "^2.2.1",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.47.0",
"eslint-plugin-svelte": "^2.33.0",
"@sveltejs/kit": "^1.25.0",
"@sveltejs/package": "^2.2.2",
"@typescript-eslint/eslint-plugin": "^6.7.2",
"@typescript-eslint/parser": "^6.7.2",
"eslint": "^8.49.0",
"eslint-plugin-svelte": "^2.33.2",
"jsdom": "^22.1.0",
"mdsvex": "^0.11.0",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"prettier-plugin-svelte": "^3.0.3",
"svelte-check": "^3.5.0",
"svelte-check": "^3.5.2",
"svelte-preprocess": "^5.0.4",
"svelte-toc": "^0.5.5",
"svelte-toc": "^0.5.6",
"svelte-zoo": "^0.4.9",
"svelte2tsx": "^0.6.20",
"typescript": "^5.1.6",
"svelte2tsx": "^0.6.22",
"typescript": "^5.2.2",
"vite": "^4.4.9",
"vitest": "^0.34.2"
"vitest": "^0.34.5"
},
"keywords": [
"svelte",
Expand All @@ -64,6 +64,7 @@
"default": "./dist/index.js"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
]
Expand Down

0 comments on commit 171de5b

Please sign in to comment.