Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #23 from mmx900/master
Browse files Browse the repository at this point in the history
Add type declaration file
  • Loading branch information
guillaumebriday authored Dec 22, 2023
2 parents cc2505b + 60b78e9 commit ae542ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@
"private": false,
"main": "dist/stimulus-checkbox-select-all.umd.js",
"module": "dist/stimulus-checkbox-select-all.mjs",
"types": "index.d.ts",
"scripts": {
"format": "prettier-standard '**/*.{ts,css,html}' --format",
"lint": "prettier-standard '**/*.{ts,css,html}' --lint",
"dev": "vite",
"prod": "vite build --mode netlify",
"build": "tsc --noEmit && vite build",
"build": "tsc --noEmit false --declaration true --emitDeclarationOnly true --outDir . && vite build",
"version": "yarn build",
"test": "BABEL_ENV=test jest",
"np": "np --no-2fa"
Expand Down
8 changes: 7 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,11 @@
"types": ["vite/client", "jest"],
"skipLibCheck": true,
"moduleResolution": "node"
}
},
"exclude": [
"dist"
],
"include": [
"src/**/*"
]
}

0 comments on commit ae542ac

Please sign in to comment.