Skip to content

Commit

Permalink
Fixed type/exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jjxxs committed Feb 16, 2025
1 parent 8fbf0ad commit 754d9ea
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
{
"name": "websocket-ts",
"version": "2.2.0",
"version": "2.2.1",
"main": "dist/cjs/src/index.js",
"types": "dist/cjs/src/index.d.ts",
"module": "dist/esm/src/index.js",
"type": "module",
"exports": {
"import": "./dist/esm/src/index.js",
"require": "./dist/cjs/src/index.js"
},
"license": "MIT",
"keywords": [
"websocket",
Expand All @@ -27,7 +22,7 @@
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "cross-env-shell eslint",
"lint": "cross-env-shell eslint './src/{**/*,*}.{js,ts}' './tests/{**/*,*}.{js,ts}'",
"test": "vitest",
"test:coverage": "vitest --coverage"
},
Expand Down

0 comments on commit 754d9ea

Please sign in to comment.