aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json81
1 files changed, 43 insertions, 38 deletions
diff --git a/package.json b/package.json
index 64ca7edd..33455d8d 100644
--- a/package.json
+++ b/package.json
@@ -2,17 +2,15 @@
"name": "juick",
"private": true,
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1",
+ "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:test": "jest",
"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:ssr && 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",
@@ -20,73 +18,80 @@
},
"license": "AGPL-3.0-or-later",
"devDependencies": {
- "@babel/core": "^7.24.9",
- "@babel/eslint-parser": "^7.24.8",
- "@babel/preset-env": "^7.24.8",
- "@babel/preset-react": "^7.24.7",
- "@swc/core": "^1.7.0",
+ "@babel/core": "^7.25.9",
+ "@babel/eslint-parser": "^7.25.9",
+ "@babel/preset-env": "^7.25.9",
+ "@babel/preset-react": "^7.25.9",
+ "@swc/core": "^1.7.39",
"@swc/jest": "^0.2.36",
- "@testing-library/jest-dom": "^6.4.7",
- "@testing-library/react": "^16.0.0",
- "autoprefixer": "^10.4.19",
- "babel-loader": "^9.1.3",
- "core-js": "^3.37.1",
+ "@testing-library/jest-dom": "^6.6.2",
+ "@testing-library/react": "^16.0.1",
+ "autoprefixer": "^10.4.20",
+ "babel-loader": "^9.2.1",
+ "core-js": "^3.38.1",
"cors": "^2.8.5",
"cross-env": "^7.0.3",
"css-loader": "^7.1.2",
- "cssnano": "^7.0.4",
+ "cssnano": "^7.0.6",
"eslint": "8.57.0",
- "eslint-plugin-import": "^2.29.1",
- "eslint-plugin-jest": "^28.6.0",
+ "eslint-plugin-jest": "^28.8.3",
"eslint-plugin-jest-dom": "^5.4.0",
- "eslint-plugin-jsdoc": "^48.8.3",
+ "eslint-plugin-jsdoc": "^50.4.3",
"eslint-plugin-only-ascii": "0.0.0",
- "eslint-plugin-promise": "^6.6.0",
- "eslint-plugin-react": "^7.35.0",
- "eslint-plugin-react-hooks": "^4.6.2",
- "eslint-plugin-testing-library": "^6.2.2",
+ "eslint-plugin-promise": "^7.1.0",
+ "eslint-plugin-react": "^7.37.1",
+ "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.0",
- "postcss": "^8.4.39",
+ "mini-css-extract-plugin": "^2.9.1",
+ "pg": "^8.13.0",
+ "postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
- "postcss-preset-env": "^9.6.0",
+ "postcss-preset-env": "^10.0.8",
"postcss-url": "^10.1.3",
"react-test-renderer": "^18.3.1",
"regenerator-runtime": "^0.14.1",
"style-loader": "^4.0.0",
- "stylelint": "^16.7.0",
+ "stylelint": "^16.10.0",
"stylelint-config-standard": "^36.0.1",
- "webpack": "^5.93.0",
+ "supertest": "^7.0.0",
+ "webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
- "webpack-dev-server": "^5.0.4"
+ "webpack-dev-server": "^5.1.0",
+ "webpack-node-externals": "^3.0.0"
},
"dependencies": {
- "axios": "^1.7.2",
- "axios-cache-interceptor": "^1.5.3",
- "body-parser": "^1.20.2",
+ "address-rfc2822": "^2.2.2",
+ "axios": "^1.7.7",
+ "axios-cache-interceptor": "^1.6.1",
+ "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.12",
+ "dayjs": "^1.11.13",
"element-closest": "3.0.2",
"evil-icons": "^1.10.1",
- "express": "^4.19.2",
+ "express": "^4.21.0",
"formdata-polyfill": "^4.0.10",
"mailparser": "^3.7.1",
- "node-pushnotifications": "^3.0.0",
+ "node-pushnotifications": "^3.1.1",
"node-telegram-bot-api": "^0.66.0",
+ "postgres": "^3.4.4",
"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.52.1",
+ "react-hook-form": "^7.53.1",
"react-hot-toast": "^2.4.1",
- "react-router-dom": "^6.25.1",
+ "react-router-dom": "^6.27.0",
+ "sequelize": "^6.37.4",
+ "sqlite3": "^5.1.7",
"svg4everybody": "^2.1.9",
"url-polyfill": "^1.1.12",
"whatwg-fetch": "^3.6.20",