Skip to content

Commit

Permalink
Introduce testing
Browse files Browse the repository at this point in the history
  • Loading branch information
svemat01 committed Apr 29, 2024
1 parent 1b62b0c commit cfca6e8
Show file tree
Hide file tree
Showing 15 changed files with 2,133 additions and 33 deletions.
15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "vitest",
"build": "tsup",
"lint": "eslint -c .eslintrc.json --ext .ts ./src",
"pub": "yarn build && yarn publish --access public"
Expand All @@ -50,15 +50,26 @@
"author": "",
"license": "LGPL-3.0",
"peerDependencies": {
"react": "^18.2.0",
"swr": "^2"
},
"devDependencies": {
"@swc/core": "^1.3.67",
"@testing-library/react": "^15.0.2",
"@types/eventsource": "^1.1.15",
"@types/react": "^18.2.79",
"@typescript-eslint/parser": "^5.61.0",
"@vitest/ui": "^1.5.0",
"eslint": "^8.44.0",
"eslint-plugin-v3xlabs": "^1.6.1",
"eventsource": "^2.0.2",
"happy-dom": "^14.7.1",
"jsdom": "^24.0.0",
"msw": "^2.2.14",
"react": "^18.2.0",
"swr": "^2",
"tsup": "^7.1.0",
"typescript": "^5.1.6"
"typescript": "^5.1.6",
"vitest": "^1.5.0"
}
}
Loading

0 comments on commit cfca6e8

Please sign in to comment.