From 6ac670a25b3cba8fa5eb35f2d7bcb9f58d3d939f Mon Sep 17 00:00:00 2001 From: b1ek Date: Sun, 19 Feb 2023 01:03:09 +1000 Subject: [PATCH] add tests --- install | 2 +- package.json | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/install b/install index 3798f39..a9b5171 100755 --- a/install +++ b/install @@ -1,6 +1,6 @@ #!/bin/bash -PACKAGES="gulp-cli gulper gulp" +PACKAGES="gulp-cli gulper gulp mocha" if [[ $APP_DEBUG == 'true' ]]; then npm i diff --git a/package.json b/package.json index d1aa79b..45c51b0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", + "test": "mocha './test'", "dev": "gulp serve_dev", "prod": "node index.js" }, @@ -12,12 +12,15 @@ "author": "", "license": "ISC", "dependencies": { + "crc-32": "^1.2.2", "dotenv": "^16.0.3", "express": "^4.18.2", + "express-session": "^1.17.3", "glob": "^8.1.0", + "gulp": "^4.0.2", + "js-base64": "^3.7.5", + "mocha": "^10.2.0", "pug": "^3.0.2", - "gulp": "^4.0.2" - }, - "devDependencies": { + "unit.js": "^2.1.1" } }