diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/package.json b/package.json index 7f645e2..54883c4 100644 --- a/package.json +++ b/package.json @@ -5,12 +5,12 @@ "main": "src/fengari.js", "directories": { "lib": "src", - "test": "tests" + "test": "test" }, "scripts": { - "lint": "eslint src/ tests/", + "lint": "eslint src/ test/", "prepublishOnly": "git diff-index --quiet --cached HEAD -- && npm run lint && npm run test", - "test": "tape tests/*.js tests/test-suite/*.js | faucet" + "test": "jest && (tape test/test-suite/*.js | faucet)" }, "repository": { "type": "git", @@ -32,6 +32,7 @@ "devDependencies": { "eslint": "^4.19.1", "faucet": "^0.0.1", + "jest": "^22.4.3", "tape": "^4.9.0" }, "dependencies": { @@ -78,6 +79,16 @@ "error", "always" ] - } + }, + "overrides": [ + { + "files": [ + "test/**/*.test.js" + ], + "env": { + "jest": true + } + } + ] } } |