summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJustin Worthe <justin.worthe@gmail.com>2015-12-13 22:09:06 +0200
committerJustin Worthe <justin.worthe@gmail.com>2015-12-13 22:09:06 +0200
commit3651725bb4d159f37ab891497094809471da4a06 (patch)
treea27845326d8e4cdc3a255305698ab42fb061d081 /package.json
parentf40fb252a30d78740e5fbdb246e05cd8ff4f888b (diff)
Added tests for ID validator
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/package.json b/package.json
index 35fea77..5517a4f 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "A library for parsing and validating South African ID Numbers. In South Africa, all residents are assigned an ID Number. From this number, you can derive some information, like ther person's date of birth and their sex. The number also includes a check digit, that you can use to check that it has been captured correctly.",
"main": "index.js",
"scripts": {
- "test": "echo \"Error: no test specified\" && exit 1"
+ "test": "mocha"
},
"keywords": [
"South",
@@ -13,5 +13,9 @@
"Number"
],
"author": "Justin Worthe <justin.worthe@gmail.com>",
- "license": "ISC"
+ "license": "ISC",
+ "dependencies": {
+ "chai": "^3.4.1",
+ "mocha": "^2.3.4"
+ }
}