Skip to content

Commit

Permalink
updating deps to ensure everything is working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
alexreardon committed May 22, 2024
1 parent c377866 commit c4a247c
Show file tree
Hide file tree
Showing 4 changed files with 1,176 additions and 1,144 deletions.
7 changes: 1 addition & 6 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/** @type {import('jest').Config} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
Expand All @@ -6,10 +7,4 @@ module.exports = {
// node_modules is default.
// testPathIgnorePatterns: ['/node_modules/', '/cypress/'],
modulePathIgnorePatterns: ['/dist/'],

globals: {
'ts-jest': {
diagnostics: false,
},
},
};
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,20 @@
"version": "3.0.0",
"private": false,
"type": "module",
"description": "Making binding and unbinding DOM events easier",
"description": "Safe binding and unbinding DOM events",
"author": "Alex Reardon <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alexreardon/bind-event-listener.git"
},
"keywords": [
"event listener",
"event handler",
"dom events",
"dom",
"ui",
"event listener",
"event handler"
"bind"
],
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand All @@ -24,7 +26,7 @@
},
"sideEffects": false,
"config": {
"prettier_target": "src/**/*.{ts,js,jsx,md,json} test/**/*.{ts,js,jsx,md,json}"
"prettier_target": "src/**/*.ts test/**/*.ts"
},
"files": [
"/dist",
Expand Down
9 changes: 4 additions & 5 deletions test/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "ES2022",
},
"include": ["**/*"]
}
"include": [
"**/*"
]
}
Loading

0 comments on commit c4a247c

Please sign in to comment.