diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2023-06-04 21:52:16 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2023-06-04 21:52:16 +0200 |
commit | c482f056c69d9717dc6f648ab9163703e79f2514 (patch) | |
tree | e4887e15164f68bac55e667515b2314a331c807d /package.json | |
parent | 59c44d99a98f8346419d07a76a8a7a50de00a010 (diff) |
Restructure test order
- Use pretest to run linting
- Run tests before audit in CI
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json index 1c851f6..0237bc0 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "A library for parsing and validating South African ID Numbers.", "main": "south-african-id-parser.js", "scripts": { - "test": "mocha && jshint **/*.js" + "pretest": "jshint **/*.js", + "test": "mocha" }, "keywords": [ "South Africa", |