aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-10-21 03:59:49 +0300
committerGravatar Vitaly Takmazov2024-10-21 04:12:57 +0300
commit1eac455507b75c0795c169d92e1ce9bb36733209 (patch)
tree6c1cd441543982a4ea41ffb63cdf33d5b294ab57 /package.json
parentc7738cdc5d7a63c8cd2609a2e4df9f8d28698608 (diff)
vnext: `postgres` -> `sequelize`
* implement `active_month` field for Mastodon `/api/v2/instance` endpoint
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 02a35ec6..c397d0b3 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "juick",
"private": true,
"scripts": {
- "test": "jest",
+ "test": "sqlite3 juick.db < src/main/resources/schema-sqlite.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",
@@ -47,6 +47,7 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"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",
@@ -87,6 +88,8 @@
"react-hook-form": "^7.53.0",
"react-hot-toast": "^2.4.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",