diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 52 |
1 files changed, 28 insertions, 24 deletions
diff --git a/package.json b/package.json index fc9faac3..97708643 100644 --- a/package.json +++ b/package.json @@ -2,16 +2,15 @@ "name": "juick", "private": true, "scripts": { - "test": "jest", + "test": "sqlite3 juick.db < src/main/resources/schema-sqlite.sql && sqlite3 juick.db < vnext/server/db/__testdata__/testdata.sql && cross-env DATABASE_URL=sqlite:juick.db jest && rm juick.db", "watch": "webpack --watch --mode development", "compile": "webpack --mode production", "lint": "eslint src/main/assets", "vnext:build": "webpack -c vnext/webpack.config.js --mode production --progress", "vnext:build:ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode production", - "vnext:start-ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode development && cross-env DEBUG=http node --enable-source-maps public/server.js", + "vnext:start-ssr": "npm run vnext:build && webpack -c vnext/server/webpack.config.js --mode development && cross-env DATABASE_URL=sqlite:juick.db DEBUG=http node --enable-source-maps public/server.js", "vnext:start": "webpack serve -c vnext/webpack.config.js --mode development", - "vnext:lint": "eslint vnext", - "bridge:build": "webpack -c bridge/webpack.config.js --mode production" + "vnext:lint": "eslint vnext" }, "repository": { "type": "git", @@ -19,17 +18,17 @@ }, "license": "AGPL-3.0-or-later", "devDependencies": { - "@babel/core": "^7.25.2", - "@babel/eslint-parser": "^7.25.1", - "@babel/preset-env": "^7.25.4", - "@babel/preset-react": "^7.24.7", - "@swc/core": "^1.7.26", - "@swc/jest": "^0.2.36", - "@testing-library/jest-dom": "^6.5.0", + "@babel/core": "^7.26.0", + "@babel/eslint-parser": "^7.25.9", + "@babel/preset-env": "^7.26.0", + "@babel/preset-react": "^7.25.9", + "@swc/core": "^1.8.0", + "@swc/jest": "^0.2.37", + "@testing-library/jest-dom": "^6.6.3", "@testing-library/react": "^16.0.1", "autoprefixer": "^10.4.20", "babel-loader": "^9.2.1", - "core-js": "^3.38.1", + "core-js": "^3.39.0", "cors": "^2.8.5", "cross-env": "^7.0.3", "css-loader": "^7.1.2", @@ -37,40 +36,42 @@ "eslint": "8.57.0", "eslint-plugin-jest": "^28.8.3", "eslint-plugin-jest-dom": "^5.4.0", - "eslint-plugin-jsdoc": "^50.2.4", + "eslint-plugin-jsdoc": "^50.4.3", "eslint-plugin-only-ascii": "0.0.0", "eslint-plugin-promise": "^7.1.0", - "eslint-plugin-react": "^7.36.1", - "eslint-plugin-react-hooks": "^4.6.2", - "eslint-plugin-testing-library": "^6.3.0", + "eslint-plugin-react": "^7.37.2", + "eslint-plugin-react-hooks": "^5.0.0", + "eslint-plugin-testing-library": "^6.4.0", "eslint-webpack-plugin": "^4.2.0", - "html-webpack-plugin": "^5.6.0", + "html-webpack-plugin": "^5.6.3", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", - "mini-css-extract-plugin": "^2.9.1", + "mini-css-extract-plugin": "^2.9.2", "postcss": "^8.4.47", "postcss-cli": "^11.0.0", "postcss-import": "^16.1.0", "postcss-loader": "^8.1.1", - "postcss-preset-env": "^10.0.5", + "postcss-preset-env": "^10.0.9", "postcss-url": "^10.1.3", "react-test-renderer": "^18.3.1", "regenerator-runtime": "^0.14.1", "style-loader": "^4.0.0", - "stylelint": "^16.9.0", + "stylelint": "^16.10.0", "stylelint-config-standard": "^36.0.1", "supertest": "^7.0.0", - "webpack": "^5.94.0", + "webpack": "^5.96.1", "webpack-cli": "^5.1.4", "webpack-dev-server": "^5.1.0", "webpack-node-externals": "^3.0.0" }, "dependencies": { + "address-rfc2822": "^2.2.2", "axios": "^1.7.7", - "axios-cache-interceptor": "^1.6.0", + "axios-cache-interceptor": "^1.6.2", "body-parser": "^1.20.3", "classlist.js": "^1.1.20150312", "config": "^3.3.12", + "cookie-parser": "^1.4.7", "css-minimizer-webpack-plugin": "^7.0.0", "dayjs": "^1.11.13", "element-closest": "3.0.2", @@ -80,13 +81,16 @@ "mailparser": "^3.7.1", "node-pushnotifications": "^3.1.1", "node-telegram-bot-api": "^0.66.0", + "pg": "^8.13.1", "react": "^18.3.1", "react-content-loader": "^7.0.2", "react-dom": "^18.3.1", "react-helmet-async": "^2.0.5", - "react-hook-form": "^7.53.0", + "react-hook-form": "^7.53.1", "react-hot-toast": "^2.4.1", - "react-router-dom": "^6.26.2", + "react-router-dom": "^6.27.0", + "sequelize": "^6.37.5", + "sqlite3": "^5.1.7", "svg4everybody": "^2.1.9", "url-polyfill": "^1.1.12", "whatwg-fetch": "^3.6.20", |