Skip to content

Commit

Permalink
fix: unified package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mdornseif committed Feb 18, 2024
1 parent 7f7d521 commit 24b164c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-use-aggrid-enterprise",
"version": "2.2.0",
"version": "29.0.0",
"description": "Hook based initialization of AG-Grid Enterprise",
"homepage": "https://github.com/mdornseif/react-use-aggrid-enterprise",
"repository": {
Expand All @@ -25,7 +25,7 @@
"test": "TZ=utc vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "TZ=utc vitest watch",
"unimported": "npx unimported; npx findead src",
"unimported": "npx findead src ; npx unimported; npx depcheck",
"update": "npx npm-check-updates --interactive"
},
"lint-staged": {
Expand Down
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/// <reference types="vitest" />
/// <reference types="vite/client" />
import { defineConfig } from 'vite'
import { resolve } from 'path'
import react from '@vitejs/plugin-react'
Expand Down Expand Up @@ -30,6 +32,8 @@ export default defineConfig({
globals: true,
environment: 'jsdom',
setupFiles: './test/setup.ts',
// you might want to disable it, if you don't have tests that rely on CSS
// since parsing CSS is slow
css: false,
},
})

0 comments on commit 24b164c

Please sign in to comment.