Skip to content

Commit

Permalink
Update the project build and fix dependencies list
Browse files Browse the repository at this point in the history
  • Loading branch information
Norserium committed Apr 22, 2023
1 parent a8e3fbb commit 949499c
Show file tree
Hide file tree
Showing 3 changed files with 2,559 additions and 7,481 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"@rollup/plugin-replace": "^4.0.0",
"@rollup/plugin-typescript": "^8.3.0",
"@rollup/plugin-url": "^6.1.0",
"@testing-library/cypress": "^9.0.0",
"@testing-library/react": "12",
"@types/debounce": "^1.2.0",
"@types/jest": "^29.5.0",
Expand All @@ -55,6 +56,7 @@
"@wessberg/rollup-plugin-ts": "^1.3.14",
"autoprefixer": "^9.6.1",
"cross-env": "^5.1.4",
"cypress": "^12.9.0",
"eslint-config-prettier": "^4.1.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-import": "^2.24.2",
Expand All @@ -67,6 +69,7 @@
"gh-pages": "^1.2.0",
"jest": "^29.1.0",
"jest-environment-jsdom": "^29.5.0",
"node-sass": "^4.0.0",
"prettier": "^2.4.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
Expand Down
4 changes: 3 additions & 1 deletion scripts/clean.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
const fs = require('fs');

async function removeDirectory(directory) {
fs.rmdirSync(directory, { recursive: true, force: true });
if (fs.existsSync(directory)) {
fs.rmdirSync(directory, { recursive: true, force: true });
}
}

async function run() {
Expand Down
Loading

0 comments on commit 949499c

Please sign in to comment.