diff options
author | daurnimator <quae@daurnimator.com> | 2018-04-20 21:16:24 +1000 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2018-04-20 21:16:24 +1000 |
commit | a260f381d30e036b39078fee0295e539067c10a3 (patch) | |
tree | 4f3b2ecb264ec8dd29cac74d23223d15d297eb8e /package.json | |
parent | fe9b43374c2e8dc28df0ce460aefaf50b933aaa7 (diff) | |
parent | 9f5d4d35de0b88334bba7c11a9e960a19ee0740b (diff) | |
download | fengari-a260f381d30e036b39078fee0295e539067c10a3.tar.gz fengari-a260f381d30e036b39078fee0295e539067c10a3.tar.bz2 fengari-a260f381d30e036b39078fee0295e539067c10a3.zip |
Merge branch 'test-with-jest'
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/package.json b/package.json index bd75286..9988883 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" }, "repository": { "type": "git", @@ -31,8 +31,7 @@ "homepage": "https://github.com/fengari-lua/fengari#readme", "devDependencies": { "eslint": "^4.19.1", - "faucet": "^0.0.1", - "tape": "^4.9.0" + "jest": "^22.4.3" }, "dependencies": { "readline-sync": "^1.4.9", @@ -78,6 +77,16 @@ "error", "always" ] - } + }, + "overrides": [ + { + "files": [ + "test/**/*.test.js" + ], + "env": { + "jest": true + } + } + ] } } |