feat: Refactor utility and component exports, update dependencies, and add Knip for unused code detection.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
"dev": "webpack serve --mode development --open",
|
||||
"build": "webpack --mode production",
|
||||
"lint": "eslint src --ext .js,.jsx,.ts,.tsx",
|
||||
"check": "tsc --noEmit && npm run lint",
|
||||
"check": "tsc --noEmit && npx knip && npm run lint",
|
||||
"test:engine": "node --test tests/workspaceEngine.test.js"
|
||||
},
|
||||
"dependencies": {
|
||||
@@ -15,6 +15,7 @@
|
||||
"@tabler/icons-react": "^3.35.0",
|
||||
"axios": "^1.13.2",
|
||||
"pdfjs-dist": "^5.4.394",
|
||||
"prop-types": "^15.8.1",
|
||||
"react": "^19.2.0",
|
||||
"react-dom": "^19.2.0",
|
||||
"react-redux": "^9.2.0",
|
||||
@@ -25,18 +26,19 @@
|
||||
"@babel/preset-env": "^7.28.5",
|
||||
"@babel/preset-react": "^7.28.5",
|
||||
"@babel/preset-typescript": "^7.28.5",
|
||||
"@eslint/js": "^9.39.1",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.46.4",
|
||||
"@typescript-eslint/parser": "^8.18.1",
|
||||
"babel-loader": "^10.0.0",
|
||||
"copy-webpack-plugin": "^13.0.1",
|
||||
"css-loader": "^7.1.2",
|
||||
"dotenv": "^17.2.3",
|
||||
"eslint": "^9.39.1",
|
||||
"eslint-plugin-react": "^7.37.5",
|
||||
"eslint-plugin-react-hooks": "^7.0.1",
|
||||
"globals": "^16.5.0",
|
||||
"html-webpack-plugin": "^5.6.4",
|
||||
"knip": "^5.71.0",
|
||||
"style-loader": "^4.0.0",
|
||||
"typescript": "^5.7.3",
|
||||
"webpack": "^5.102.1",
|
||||
|
||||
Reference in New Issue
Block a user