summaryrefslogtreecommitdiffstats
path: root/ui/package.json
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-04-23 11:34:32 -0400
committerDessalines <tyhou13@gmx.com>2020-04-23 11:34:32 -0400
commitce800f75adb651108e66d58bdc3e7755902f74ed (patch)
treee65e2824a7ae4136984c8b7785e899f359c708be /ui/package.json
parentb8aaf5c1f175e0a68ee823e352b2608f5cef28dd (diff)
Adding a test bed for API testing. #658
Diffstat (limited to 'ui/package.json')
-rw-r--r--ui/package.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/package.json b/ui/package.json
index d2eb1de9..0101ce13 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -6,6 +6,7 @@
"license": "AGPL-3.0-or-later",
"main": "index.js",
"scripts": {
+ "api-test": "jest src/api_tests/api.spec.ts",
"build": "node fuse prod",
"lint": "tsc --noEmit && eslint --report-unused-disable-directives --ext .js,.ts,.tsx src",
"prebuild": "node generate_translations.js",
@@ -38,6 +39,7 @@
"markdown-it-emoji": "^1.4.0",
"mobius1-selectr": "^2.4.13",
"moment": "^2.24.0",
+ "node-fetch": "^2.6.0",
"prettier": "^2.0.4",
"reconnecting-websocket": "^4.4.0",
"rxjs": "^6.5.5",
@@ -49,12 +51,16 @@
"ws": "^7.2.3"
},
"devDependencies": {
+ "@types/jest": "^25.2.1",
+ "@types/node-fetch": "^2.5.6",
"eslint": "^6.5.1",
"eslint-plugin-inferno": "^7.14.3",
"eslint-plugin-jane": "^7.2.1",
"fuse-box": "^3.1.3",
+ "jest": "^25.4.0",
"lint-staged": "^10.1.3",
"sortpack": "^2.1.4",
+ "ts-jest": "^25.4.0",
"ts-node": "^8.8.2",
"ts-transform-classcat": "^1.0.0",
"ts-transform-inferno": "^4.0.3",