aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json9
1 files changed, 9 insertions, 0 deletions
diff --git a/package.json b/package.json
index bd3d71a..1a11716 100644
--- a/package.json
+++ b/package.json
@@ -14,6 +14,7 @@
"format": "prettier --write 'src/**/*.ts'",
"lint": "eslint 'src/**/*.ts'",
"lint:fix": "eslint --fix 'src/**/*.ts'",
+ "test": "tsc && jest",
"tsc": "tsc"
},
"author": "Kevin J Hoerr <kjhoerr@submelon.tech>",
@@ -33,12 +34,20 @@
"winston": "^3.2.1"
},
"devDependencies": {
+ "@types/jest": "^24.0.23",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-plugin-prettier": "^3.1.1",
+ "jest": "^24.9.0",
"prettier": "^1.19.1",
"tsc-watch": "^4.0.0"
+ },
+ "jest": {
+ "testEnvironment": "node",
+ "roots": [
+ "build/"
+ ]
}
}